diff options
| author | Corentin Chary <corentincj@iksaif.net> | 2009-08-28 08:56:55 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2009-08-28 15:21:13 -0400 |
| commit | b09f5fecf8b97c9de7add3e2eb0cfeb91ef28dbb (patch) | |
| tree | 7ce6f8d4f94ece8e1d08e8353e3559ecd7754f5e | |
| parent | 6ce2c9d9a531e8753005a25a686dafab9a5d04bb (diff) | |
asus-laptop: document sysfs interface
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
| -rw-r--r-- | Documentation/ABI/testing/sysfs-platform-asus-laptop | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-platform-asus-laptop b/Documentation/ABI/testing/sysfs-platform-asus-laptop new file mode 100644 index 000000000000..a1cb660c50cf --- /dev/null +++ b/Documentation/ABI/testing/sysfs-platform-asus-laptop | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | What: /sys/devices/platform/asus-laptop/display | ||
| 2 | Date: January 2007 | ||
| 3 | KernelVersion: 2.6.20 | ||
| 4 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
| 5 | Description: | ||
| 6 | This file allows display switching. The value | ||
| 7 | is composed by 4 bits and defined as follow: | ||
| 8 | 4321 | ||
| 9 | |||`- LCD | ||
| 10 | ||`-- CRT | ||
| 11 | |`--- TV | ||
| 12 | `---- DVI | ||
| 13 | Ex: - 0 (0000b) means no display | ||
| 14 | - 3 (0011b) CRT+LCD. | ||
| 15 | |||
| 16 | What: /sys/devices/platform/asus-laptop/gps | ||
| 17 | Date: January 2007 | ||
| 18 | KernelVersion: 2.6.20 | ||
| 19 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
| 20 | Description: | ||
| 21 | Control the gps device. 1 means on, 0 means off. | ||
| 22 | Users: Lapsus | ||
| 23 | |||
| 24 | What: /sys/devices/platform/asus-laptop/ledd | ||
| 25 | Date: January 2007 | ||
| 26 | KernelVersion: 2.6.20 | ||
| 27 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
| 28 | Description: | ||
| 29 | Some models like the W1N have a LED display that can be | ||
| 30 | used to display several informations. | ||
| 31 | To control the LED display, use the following : | ||
| 32 | echo 0x0T000DDD > /sys/devices/platform/asus-laptop/ | ||
| 33 | where T control the 3 letters display, and DDD the 3 digits display. | ||
| 34 | The DDD table can be found in Documentation/laptops/asus-laptop.txt | ||
| 35 | |||
| 36 | What: /sys/devices/platform/asus-laptop/bluetooth | ||
| 37 | Date: January 2007 | ||
| 38 | KernelVersion: 2.6.20 | ||
| 39 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
| 40 | Description: | ||
| 41 | Control the bluetooth device. 1 means on, 0 means off. | ||
| 42 | This may control the led, the device or both. | ||
| 43 | Users: Lapsus | ||
| 44 | |||
| 45 | What: /sys/devices/platform/asus-laptop/wlan | ||
| 46 | Date: January 2007 | ||
| 47 | KernelVersion: 2.6.20 | ||
| 48 | Contact: "Corentin Chary" <corentincj@iksaif.net> | ||
| 49 | Description: | ||
| 50 | Control the bluetooth device. 1 means on, 0 means off. | ||
| 51 | This may control the led, the device or both. | ||
| 52 | Users: Lapsus | ||
