xref: /freebsd/share/man/man4/acpi_asus.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1e6769554SRui Paulo.\"
2e6769554SRui Paulo.\" Copyright (c) 2004 Philip Paeps <philip@FreeBSD.org>
3e6769554SRui Paulo.\" All rights reserved.
4e6769554SRui Paulo.\"
5e6769554SRui Paulo.\" Redistribution and use in source and binary forms, with or without
6e6769554SRui Paulo.\" modification, are permitted provided that the following conditions
7e6769554SRui Paulo.\" are met:
8e6769554SRui Paulo.\" 1. Redistributions of source code must retain the above copyright
9e6769554SRui Paulo.\"    notice, this list of conditions and the following disclaimer.
10e6769554SRui Paulo.\" 2. Redistributions in binary form must reproduce the above copyright
11e6769554SRui Paulo.\"    notice, this list of conditions and the following disclaimer in the
12e6769554SRui Paulo.\"    documentation and/or other materials provided with the distribution.
13e6769554SRui Paulo.\"
14e6769554SRui Paulo.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15e6769554SRui Paulo.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16e6769554SRui Paulo.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17e6769554SRui Paulo.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18e6769554SRui Paulo.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19e6769554SRui Paulo.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20e6769554SRui Paulo.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21e6769554SRui Paulo.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22e6769554SRui Paulo.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23e6769554SRui Paulo.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24e6769554SRui Paulo.\" SUCH DAMAGE.
25e6769554SRui Paulo.\"
26891acefeSGavin Atkinson.Dd February 8, 2010
27891acefeSGavin Atkinson.Dt ACPI_ASUS 4
28e6769554SRui Paulo.Os
29e6769554SRui Paulo.Sh NAME
30e6769554SRui Paulo.Nm acpi_asus
31e6769554SRui Paulo.Nd Asus Laptop Extras
32e6769554SRui Paulo.Sh SYNOPSIS
33e6769554SRui PauloTo compile this driver into the kernel,
34e6769554SRui Pauloplace the following line in your
35e6769554SRui Paulokernel configuration file:
36e6769554SRui Paulo.Bd -ragged -offset indent
37e6769554SRui Paulo.Cd "device acpi_asus"
38e6769554SRui Paulo.Ed
39e6769554SRui Paulo.Pp
40e6769554SRui PauloAlternatively, to load the driver as a
41e6769554SRui Paulomodule at boot time, place the following line in
42e6769554SRui Paulo.Xr loader.conf 5 :
43e6769554SRui Paulo.Bd -literal -offset indent
44e6769554SRui Pauloacpi_asus_load="YES"
45e6769554SRui Paulo.Ed
46e6769554SRui Paulo.Sh DESCRIPTION
47e6769554SRui PauloThe
48e6769554SRui Paulo.Nm
49e6769554SRui Paulodriver provides support for the extra ACPI-controlled gadgets, such as hotkeys
50e6769554SRui Pauloand leds, found on recent Asus (and Medion) laptops.
51e6769554SRui PauloIt allows one to use the
52e6769554SRui Paulo.Xr sysctl 8
53e6769554SRui Paulointerface to manipulate the brightness of the LCD panel and the display output
54e6769554SRui Paulostate.
55e6769554SRui PauloHotkey events are passed to
56e6769554SRui Paulo.Xr devd 8
5745b42856SAndrew Thompsonfor easy handling in userspace with the default configuration in
5845b42856SAndrew Thompson.Pa /etc/devd/asus.conf .
59e6769554SRui Paulo.Pp
60e6769554SRui PauloCurrently, the following Asus laptops are fully supported:
61e6769554SRui Paulo.Pp
62e6769554SRui Paulo.Bl -item -offset indent -compact
63e6769554SRui Paulo.It
64e6769554SRui PauloxxN
65e6769554SRui Paulo.It
66e6769554SRui PauloA1x
67e6769554SRui Paulo.It
68e6769554SRui PauloA2x
69e6769554SRui Paulo.It
70e6769554SRui PauloA3N
71e6769554SRui Paulo.It
72e6769554SRui PauloA4D
73e6769554SRui Paulo.It
74e6769554SRui PauloA6VM
75e6769554SRui Paulo.It
76e6769554SRui PauloD1x
77e6769554SRui Paulo.It
78e6769554SRui PauloJ1x
79e6769554SRui Paulo.It
80e6769554SRui PauloL2B
81e6769554SRui Paulo.It
82e6769554SRui PauloL2D
83e6769554SRui Paulo.It
84e6769554SRui PauloL2E
85e6769554SRui Paulo.It
86e6769554SRui PauloL3C
87e6769554SRui Paulo.It
88e6769554SRui PauloL3D
89e6769554SRui Paulo.It
90e6769554SRui PauloL3H
91e6769554SRui Paulo.It
92e6769554SRui PauloL4E
93e6769554SRui Paulo.It
94e6769554SRui PauloL4R
95e6769554SRui Paulo.It
96e6769554SRui PauloL5x
97e6769554SRui Paulo.It
98e6769554SRui PauloL8x
99e6769554SRui Paulo.It
100e6769554SRui PauloM1A
101e6769554SRui Paulo.It
102e6769554SRui PauloM2E
103e6769554SRui Paulo.It
104e6769554SRui PauloM6N
105e6769554SRui Paulo.It
106e6769554SRui PauloM6R
107e6769554SRui Paulo.It
108e6769554SRui PauloS1x
109e6769554SRui Paulo.It
110e6769554SRui PauloS2x
111e6769554SRui Paulo.It
112e6769554SRui PauloV6V
113e6769554SRui Paulo.It
114e6769554SRui PauloW5A
115e6769554SRui Paulo.It
116e6769554SRui PauloEee PC
117e6769554SRui Paulo.El
118e6769554SRui Paulo.Pp
119e6769554SRui PauloAdditionally,
120e6769554SRui Paulo.Nm
121e6769554SRui Pauloalso supports the Asus-compatible
122e6769554SRui Paulo.Em ATK0100
123e6769554SRui Paulointerface found in
124e6769554SRui Paulo.Em Samsung P30/P35
125e6769554SRui Paulolaptops.
126e6769554SRui Paulo.Sh SYSCTL VARIABLES
127e6769554SRui PauloThe following sysctls are currently implemented:
128e6769554SRui Paulo.Bl -tag -width indent
129e6769554SRui Paulo.It Va hw.acpi.asus.lcd_brightness
130e6769554SRui PauloMakes the LCD backlight brighter or dimmer (higher values are brighter).
131e6769554SRui Paulo.It Va hw.acpi.asus.lcd_backlight
132e6769554SRui PauloTurns the LCD backlight on or off.
133e6769554SRui Paulo.It Va hw.acpi.asus.video_output
134e6769554SRui PauloSets the active display to use according to a bitwise OR of the following:
135e6769554SRui Paulo.Pp
136e6769554SRui Paulo.Bl -tag -width indent -compact
137e6769554SRui Paulo.It Li 0
138e6769554SRui PauloNo display
139e6769554SRui Paulo.It Li 1
140e6769554SRui PauloLCD
141e6769554SRui Paulo.It Li 2
142e6769554SRui PauloCRT
143e6769554SRui Paulo.It Li 4
144e6769554SRui PauloTV-Out
145e6769554SRui Paulo.El
146e6769554SRui Paulo.Pp
147e6769554SRui PauloSome models also support video switching via the generic
148e6769554SRui Paulo.Xr acpi_video 4
149e6769554SRui Paulodriver.
150e6769554SRui PauloMost models do not, however.
151e6769554SRui Paulo.El
152e6769554SRui Paulo.Pp
153e6769554SRui PauloDefaults for these variables can be set in
154e6769554SRui Paulo.Xr sysctl.conf 5 ,
155e6769554SRui Paulowhich is parsed at boot-time.
156e6769554SRui Paulo.Sh SEE ALSO
157e6769554SRui Paulo.Xr acpi 4 ,
158461a98a2SAlexander Motin.Xr acpi_asus_wmi 4 ,
159e6769554SRui Paulo.Xr acpi_video 4 ,
160e6769554SRui Paulo.Xr sysctl.conf 5 ,
161e6769554SRui Paulo.Xr sysctl 8
162e6769554SRui Paulo.Rs
163e6769554SRui Paulo.%T The acpi4asus Project
164aa4a335bSRuslan Ermilov.%U http://sourceforge.net/projects/acpi4asus/
165e6769554SRui Paulo.Re
166e6769554SRui Paulo.Sh HISTORY
167e6769554SRui PauloThe
168e6769554SRui Paulo.Nm
169e6769554SRui Paulodriver first appeared in
170e6769554SRui Paulo.Fx 5.3 .
171e6769554SRui Paulo.Sh AUTHORS
172e6769554SRui Paulo.An -nosplit
173e6769554SRui PauloThe
174e6769554SRui Paulo.Nm
175e6769554SRui Paulodriver and this manual page were written by
176*6c899950SBaptiste Daroussin.An Philip Paeps Aq Mt philip@FreeBSD.org .
177e6769554SRui Paulo.Pp
178e6769554SRui PauloInspiration came from the
179e6769554SRui Paulo.Em acpi4asus project
180e6769554SRui Paulostarted by
181e6769554SRui Paulo.An Julien Lerouge
182e6769554SRui Paulowhich maintains a driver implementing this
183e6769554SRui Paulofunctionality in the
184e6769554SRui Paulo.Tn Linux
185e6769554SRui Paulokernel.
186