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.\" 26e6769554SRui Paulo.\" $FreeBSD$ 27e6769554SRui Paulo.\" 28891acefeSGavin Atkinson.Dd February 8, 2010 29891acefeSGavin Atkinson.Dt ACPI_ASUS 4 30e6769554SRui Paulo.Os 31e6769554SRui Paulo.Sh NAME 32e6769554SRui Paulo.Nm acpi_asus 33e6769554SRui Paulo.Nd Asus Laptop Extras 34e6769554SRui Paulo.Sh SYNOPSIS 35e6769554SRui PauloTo compile this driver into the kernel, 36e6769554SRui Pauloplace the following line in your 37e6769554SRui Paulokernel configuration file: 38e6769554SRui Paulo.Bd -ragged -offset indent 39e6769554SRui Paulo.Cd "device acpi_asus" 40e6769554SRui Paulo.Ed 41e6769554SRui Paulo.Pp 42e6769554SRui PauloAlternatively, to load the driver as a 43e6769554SRui Paulomodule at boot time, place the following line in 44e6769554SRui Paulo.Xr loader.conf 5 : 45e6769554SRui Paulo.Bd -literal -offset indent 46e6769554SRui Pauloacpi_asus_load="YES" 47e6769554SRui Paulo.Ed 48e6769554SRui Paulo.Sh DESCRIPTION 49e6769554SRui PauloThe 50e6769554SRui Paulo.Nm 51e6769554SRui Paulodriver provides support for the extra ACPI-controlled gadgets, such as hotkeys 52e6769554SRui Pauloand leds, found on recent Asus (and Medion) laptops. 53e6769554SRui PauloIt allows one to use the 54e6769554SRui Paulo.Xr sysctl 8 55e6769554SRui Paulointerface to manipulate the brightness of the LCD panel and the display output 56e6769554SRui Paulostate. 57e6769554SRui PauloHotkey events are passed to 58e6769554SRui Paulo.Xr devd 8 5945b42856SAndrew Thompsonfor easy handling in userspace with the default configuration in 6045b42856SAndrew Thompson.Pa /etc/devd/asus.conf . 61e6769554SRui Paulo.Pp 62e6769554SRui PauloCurrently, the following Asus laptops are fully supported: 63e6769554SRui Paulo.Pp 64e6769554SRui Paulo.Bl -item -offset indent -compact 65e6769554SRui Paulo.It 66e6769554SRui PauloxxN 67e6769554SRui Paulo.It 68e6769554SRui PauloA1x 69e6769554SRui Paulo.It 70e6769554SRui PauloA2x 71e6769554SRui Paulo.It 72e6769554SRui PauloA3N 73e6769554SRui Paulo.It 74e6769554SRui PauloA4D 75e6769554SRui Paulo.It 76e6769554SRui PauloA6VM 77e6769554SRui Paulo.It 78e6769554SRui PauloD1x 79e6769554SRui Paulo.It 80e6769554SRui PauloJ1x 81e6769554SRui Paulo.It 82e6769554SRui PauloL2B 83e6769554SRui Paulo.It 84e6769554SRui PauloL2D 85e6769554SRui Paulo.It 86e6769554SRui PauloL2E 87e6769554SRui Paulo.It 88e6769554SRui PauloL3C 89e6769554SRui Paulo.It 90e6769554SRui PauloL3D 91e6769554SRui Paulo.It 92e6769554SRui PauloL3H 93e6769554SRui Paulo.It 94e6769554SRui PauloL4E 95e6769554SRui Paulo.It 96e6769554SRui PauloL4R 97e6769554SRui Paulo.It 98e6769554SRui PauloL5x 99e6769554SRui Paulo.It 100e6769554SRui PauloL8x 101e6769554SRui Paulo.It 102e6769554SRui PauloM1A 103e6769554SRui Paulo.It 104e6769554SRui PauloM2E 105e6769554SRui Paulo.It 106e6769554SRui PauloM6N 107e6769554SRui Paulo.It 108e6769554SRui PauloM6R 109e6769554SRui Paulo.It 110e6769554SRui PauloS1x 111e6769554SRui Paulo.It 112e6769554SRui PauloS2x 113e6769554SRui Paulo.It 114e6769554SRui PauloV6V 115e6769554SRui Paulo.It 116e6769554SRui PauloW5A 117e6769554SRui Paulo.It 118e6769554SRui PauloEee PC 119e6769554SRui Paulo.El 120e6769554SRui Paulo.Pp 121e6769554SRui PauloAdditionally, 122e6769554SRui Paulo.Nm 123e6769554SRui Pauloalso supports the Asus-compatible 124e6769554SRui Paulo.Em ATK0100 125e6769554SRui Paulointerface found in 126e6769554SRui Paulo.Em Samsung P30/P35 127e6769554SRui Paulolaptops. 128e6769554SRui Paulo.Sh SYSCTL VARIABLES 129e6769554SRui PauloThe following sysctls are currently implemented: 130e6769554SRui Paulo.Bl -tag -width indent 131e6769554SRui Paulo.It Va hw.acpi.asus.lcd_brightness 132e6769554SRui PauloMakes the LCD backlight brighter or dimmer (higher values are brighter). 133e6769554SRui Paulo.It Va hw.acpi.asus.lcd_backlight 134e6769554SRui PauloTurns the LCD backlight on or off. 135e6769554SRui Paulo.It Va hw.acpi.asus.video_output 136e6769554SRui PauloSets the active display to use according to a bitwise OR of the following: 137e6769554SRui Paulo.Pp 138e6769554SRui Paulo.Bl -tag -width indent -compact 139e6769554SRui Paulo.It Li 0 140e6769554SRui PauloNo display 141e6769554SRui Paulo.It Li 1 142e6769554SRui PauloLCD 143e6769554SRui Paulo.It Li 2 144e6769554SRui PauloCRT 145e6769554SRui Paulo.It Li 4 146e6769554SRui PauloTV-Out 147e6769554SRui Paulo.El 148e6769554SRui Paulo.Pp 149e6769554SRui PauloSome models also support video switching via the generic 150e6769554SRui Paulo.Xr acpi_video 4 151e6769554SRui Paulodriver. 152e6769554SRui PauloMost models do not, however. 153e6769554SRui Paulo.El 154e6769554SRui Paulo.Pp 155e6769554SRui PauloDefaults for these variables can be set in 156e6769554SRui Paulo.Xr sysctl.conf 5 , 157e6769554SRui Paulowhich is parsed at boot-time. 158e6769554SRui Paulo.Sh SEE ALSO 159e6769554SRui Paulo.Xr acpi 4 , 160*461a98a2SAlexander Motin.Xr acpi_asus_wmi 4 , 161e6769554SRui Paulo.Xr acpi_video 4 , 162e6769554SRui Paulo.Xr sysctl.conf 5 , 163e6769554SRui Paulo.Xr sysctl 8 164e6769554SRui Paulo.Rs 165e6769554SRui Paulo.%T The acpi4asus Project 166aa4a335bSRuslan Ermilov.%U http://sourceforge.net/projects/acpi4asus/ 167e6769554SRui Paulo.Re 168e6769554SRui Paulo.Sh HISTORY 169e6769554SRui PauloThe 170e6769554SRui Paulo.Nm 171e6769554SRui Paulodriver first appeared in 172e6769554SRui Paulo.Fx 5.3 . 173e6769554SRui Paulo.Sh AUTHORS 174e6769554SRui Paulo.An -nosplit 175e6769554SRui PauloThe 176e6769554SRui Paulo.Nm 177e6769554SRui Paulodriver and this manual page were written by 178e6769554SRui Paulo.An Philip Paeps Aq philip@FreeBSD.org . 179e6769554SRui Paulo.Pp 180e6769554SRui PauloInspiration came from the 181e6769554SRui Paulo.Em acpi4asus project 182e6769554SRui Paulostarted by 183e6769554SRui Paulo.An Julien Lerouge 184e6769554SRui Paulowhich maintains a driver implementing this 185e6769554SRui Paulofunctionality in the 186e6769554SRui Paulo.Tn Linux 187e6769554SRui Paulokernel. 188