Skip to content

Commit

Permalink
asus-laptop: add base driver
Browse files Browse the repository at this point in the history
Adds the new driver and make ASUS_LAPTOP and ACPI_ASUS
incompatible.  It may be strange to use ASUS_CREATE_DEVICE_ATTR
and ASUS_SET_DEVICE_ATTR now, but these macro will be very
usefull in next patchs.  ASUS_HANDLE and ASUS_HANDLE_INIT comes
from IBM_HANDLE and IBM_HANDLE_INIT, with some modification,
and will also be used in next patchs.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Corentin Chary authored and Len Brown committed Jan 30, 2007
1 parent 5263bf6 commit 85091b7
Show file tree
Hide file tree
Showing 5 changed files with 564 additions and 5 deletions.
8 changes: 8 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,14 @@ W: http://sourceforge.net/projects/acpi4asus
W: http://xf.iksaif.net/acpi4asus
S: Maintained

ASUS LAPTOP EXTRAS DRIVER
P: Corentin Chary
M: corentincj@iksaif.net
L: acpi4asus-user@lists.sourceforge.net
W: http://sourceforge.net/projects/acpi4asus
W: http://xf.iksaif.net/acpi4asus
S: Maintained

ATA OVER ETHERNET DRIVER
P: Ed L. Cashin
M: ecashin@coraid.com
Expand Down
13 changes: 8 additions & 5 deletions drivers/acpi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -186,19 +186,22 @@ config ACPI_ASUS

Note: display switching code is currently considered EXPERIMENTAL,
toying with these values may even lock your machine.

All settings are changed via /proc/acpi/asus directory entries. Owner
and group for these entries can be set with asus_uid and asus_gid
parameters.

More information and a userspace daemon for handling the extra buttons
at <http://sourceforge.net/projects/acpi4asus/>.

If you have an ACPI-compatible ASUS laptop, say Y or M here. This
driver is still under development, so if your laptop is unsupported or
something works not quite as expected, please use the mailing list
available on the above page (acpi4asus-user@lists.sourceforge.net)

available on the above page (acpi4asus-user@lists.sourceforge.net).

NOTE: This driver is deprecated and will probably be removed soon,
use asus-laptop instead.

config ACPI_IBM
tristate "IBM ThinkPad Laptop Extras"
depends on X86
Expand Down
17 changes: 17 additions & 0 deletions drivers/misc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,23 @@ config TIFM_7XX1
To compile this driver as a module, choose M here: the module will
be called tifm_7xx1.

config ASUS_LAPTOP
tristate "Asus Laptop Extras (EXPERIMENTAL)"
depends on X86
depends on ACPI
depends on EXPERIMENTAL && !ACPI_ASUS
---help---
This is the new Linux driver for Asus laptops. It may also support some
MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate
standard ACPI events that go through /proc/acpi/events. It also adds
support for video output switching, LCD backlight control, Bluetooth and
Wlan control, and most importantly, allows you to blink those fancy LEDs.

For more information and a userspace daemon for handling the extra
buttons see <http://acpi4asus.sf.net/>.

If you have an ACPI-compatible ASUS laptop, say Y or M here.

config MSI_LAPTOP
tristate "MSI Laptop Extras"
depends on X86
Expand Down
1 change: 1 addition & 0 deletions drivers/misc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ obj- := misc.o # Dummy rule to force built-in.o to be made
obj-$(CONFIG_IBM_ASM) += ibmasm/
obj-$(CONFIG_HDPU_FEATURES) += hdpuftrs/
obj-$(CONFIG_MSI_LAPTOP) += msi-laptop.o
obj-$(CONFIG_ASUS_LAPTOP) += asus-laptop.o
obj-$(CONFIG_LKDTM) += lkdtm.o
obj-$(CONFIG_TIFM_CORE) += tifm_core.o
obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o
Expand Down
Loading

0 comments on commit 85091b7

Please sign in to comment.