forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
asus-laptop: document sysfs interface
Signed-off-by: Corentin Chary <[email protected]> Signed-off-by: Len Brown <[email protected]>
- Loading branch information
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
What: /sys/devices/platform/asus-laptop/display | ||
Date: January 2007 | ||
KernelVersion: 2.6.20 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
This file allows display switching. The value | ||
is composed by 4 bits and defined as follow: | ||
4321 | ||
|||`- LCD | ||
||`-- CRT | ||
|`--- TV | ||
`---- DVI | ||
Ex: - 0 (0000b) means no display | ||
- 3 (0011b) CRT+LCD. | ||
|
||
What: /sys/devices/platform/asus-laptop/gps | ||
Date: January 2007 | ||
KernelVersion: 2.6.20 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
Control the gps device. 1 means on, 0 means off. | ||
Users: Lapsus | ||
|
||
What: /sys/devices/platform/asus-laptop/ledd | ||
Date: January 2007 | ||
KernelVersion: 2.6.20 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
Some models like the W1N have a LED display that can be | ||
used to display several informations. | ||
To control the LED display, use the following : | ||
echo 0x0T000DDD > /sys/devices/platform/asus-laptop/ | ||
where T control the 3 letters display, and DDD the 3 digits display. | ||
The DDD table can be found in Documentation/laptops/asus-laptop.txt | ||
|
||
What: /sys/devices/platform/asus-laptop/bluetooth | ||
Date: January 2007 | ||
KernelVersion: 2.6.20 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
Control the bluetooth device. 1 means on, 0 means off. | ||
This may control the led, the device or both. | ||
Users: Lapsus | ||
|
||
What: /sys/devices/platform/asus-laptop/wlan | ||
Date: January 2007 | ||
KernelVersion: 2.6.20 | ||
Contact: "Corentin Chary" <[email protected]> | ||
Description: | ||
Control the bluetooth device. 1 means on, 0 means off. | ||
This may control the led, the device or both. | ||
Users: Lapsus |