acpi_sony(4): Sync with FreeBSD.
[dragonfly.git] / share / man / man4 / acpi_sony.4
CommitLineData
2f5aa587
SW
1.\" Copyright (c) 2005 Christian Brueffer
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
b31d8493 25.\" $FreeBSD: src/share/man/man4/acpi_sony.4,v 1.3 2010/02/08 21:01:41 gavin Exp $
2f5aa587 26.\"
b31d8493 27.Dd July 4, 2010
2f5aa587
SW
28.Dt ACPI_SONY 4
29.Os
30.Sh NAME
31.Nm acpi_sony
32.Nd "ACPI notebook controller driver for Sony laptops"
33.Sh SYNOPSIS
34To compile this driver into the kernel,
35place the following line in your
36kernel configuration file:
37.Bd -ragged -offset indent
38.Cd "device acpi_sony"
39.Ed
40.Pp
41Alternatively, to load the driver as a
42module at boot time, place the following line in
43.Xr loader.conf 5 :
44.Bd -literal -offset indent
45acpi_sony_load="YES"
46.Ed
47.Sh DESCRIPTION
48The
49.Nm
50driver provides support for the notebook controller in Sony laptops.
b31d8493 51Note that not all features will work on all laptop models.
2f5aa587 52.Sh SYSCTLS
b31d8493 53The following sysctl nodes are currently implemented:
2f5aa587 54.Bl -tag -width indent
91a31b27 55.It Va hw.acpi.sony.brightness
2f5aa587 56Current brightness level of the display.
b31d8493
SW
57.It Va hw.acpi.sony.brightness_default
58Default brightness level of the display (survives reboot).
59.It Va hw.acpi.sony.contrast
60Current contrast level of the display.
61.It Va hw.acpi.sony.bass_gain
62Enable or disable the Bass Gain feature.
91a31b27 63.It Va hw.acpi.sony.cdp
2f5aa587 64Turns the CD power on or off.
91a31b27 65.It Va hw.acpi.sony.azp
2f5aa587 66Turns the audio power on or off.
b31d8493
SW
67.It Va hw.acpi.sony.lnp
68Turns the wired network interface power on or off.
2f5aa587
SW
69.El
70.Sh SEE ALSO
71.Xr acpi 4 ,
72.Xr sysctl 8
73.Sh HISTORY
74The
75.Nm
76driver first appeared in
77.Fx 6.0 .
78It was then ported to
79.Dx 2.5 .
80.Sh AUTHORS
81The
82.Nm
83driver was written by
84.An Takanori Watanabe Aq takawata@FreeBSD.org .