WAPF and Leds

Version 2 (Corentin Chary, 07/30/2009 11:00 am)

1 1 Corentin Chary
h1. WAPF and Leds
2 1 Corentin Chary
3 2 Corentin Chary
h2. LEDs
4 2 Corentin Chary
5 2 Corentin Chary
WLED and BLED are not handled like other LED, because in some dsdt
6 1 Corentin Chary
they also control the WLAN/Bluetooth device.
7 2 Corentin Chary
8 2 Corentin Chary
Using the [[asus-laptop SFUN|SFUN]] bitfield, we should be able to find when WLED is a LED and
9 2 Corentin Chary
when WLED control the device.
10 2 Corentin Chary
11 2 Corentin Chary
h2. Fn+F2 and WAPF
12 1 Corentin Chary
13 1 Corentin Chary
There is a wapf parameter (modprobe asus-laptop wapf=x) where x can be 0, 1, 4 and 5
14 1 Corentin Chary
15 1 Corentin Chary
WAPF defines the behavior of the Fn+Fx wlan key
16 1 Corentin Chary
The significance of values is yet to be found, but most of the time:
17 1 Corentin Chary
* 0 will do nothing
18 1 Corentin Chary
* 1 will allow to control the device with Fn+Fx key.
19 1 Corentin Chary
* 4 will send an ACPI event (0x88) while pressing the Fn+Fx key
20 1 Corentin Chary
* 5 like 0x1 or 0x4