aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/thinkpad-acpi.txt
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-04-27 21:00:17 -0400
committerLen Brown <len.brown@intel.com>2007-04-28 21:41:20 -0400
commitd3a6ade4f84416d774c3e5db5faae1840d55bd97 (patch)
tree7d9568a5531b9ad4a48308e4e63ca7976f7de558 /Documentation/thinkpad-acpi.txt
parenta0416420e2c6244792d6f308183ad57c40532078 (diff)
ACPI: thinkpad-acpi: add sysfs support to wan and bluetooth subdrivers
Add support to sysfs to the wan and bluetooth subdrivers. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation/thinkpad-acpi.txt')
-rw-r--r--Documentation/thinkpad-acpi.txt61
1 files changed, 50 insertions, 11 deletions
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt
index ebeed589f6d7..2d4803359a04 100644
--- a/Documentation/thinkpad-acpi.txt
+++ b/Documentation/thinkpad-acpi.txt
@@ -225,15 +225,35 @@ sysfs notes:
225 keys mask, and allows one to modify it. 225 keys mask, and allows one to modify it.
226 226
227 227
228Bluetooth -- /proc/acpi/ibm/bluetooth 228Bluetooth
229------------------------------------- 229---------
230 230
231This feature shows the presence and current state of a Bluetooth 231procfs: /proc/acpi/ibm/bluetooth
232device. If Bluetooth is installed, the following commands can be used: 232sysfs device attribute: bluetooth/enable
233
234This feature shows the presence and current state of a ThinkPad
235Bluetooth device in the internal ThinkPad CDC slot.
236
237Procfs notes:
238
239If Bluetooth is installed, the following commands can be used:
233 240
234 echo enable > /proc/acpi/ibm/bluetooth 241 echo enable > /proc/acpi/ibm/bluetooth
235 echo disable > /proc/acpi/ibm/bluetooth 242 echo disable > /proc/acpi/ibm/bluetooth
236 243
244Sysfs notes:
245
246 If the Bluetooth CDC card is installed, it can be enabled /
247 disabled through the "bluetooth/enable" thinkpad-acpi device
248 attribute, and its current status can also be queried.
249
250 enable:
251 0: disables Bluetooth / Bluetooth is disabled
252 1: enables Bluetooth / Bluetooth is enabled.
253
254 Note: this interface will be probably be superseeded by the
255 generic rfkill class.
256
237Video output control -- /proc/acpi/ibm/video 257Video output control -- /proc/acpi/ibm/video
238-------------------------------------------- 258--------------------------------------------
239 259
@@ -874,23 +894,42 @@ with EINVAL, try to set pwm1_enable to 1 and pwm1 to at least 128 (255
874would be the safest choice, though). 894would be the safest choice, though).
875 895
876 896
877EXPERIMENTAL: WAN -- /proc/acpi/ibm/wan 897EXPERIMENTAL: WAN
878--------------------------------------- 898-----------------
899
900procfs: /proc/acpi/ibm/wan
901sysfs device attribute: wwan/enable
879 902
880This feature is marked EXPERIMENTAL because the implementation 903This feature is marked EXPERIMENTAL because the implementation
881directly accesses hardware registers and may not work as expected. USE 904directly accesses hardware registers and may not work as expected. USE
882WITH CAUTION! To use this feature, you need to supply the 905WITH CAUTION! To use this feature, you need to supply the
883experimental=1 parameter when loading the module. 906experimental=1 parameter when loading the module.
884 907
885This feature shows the presence and current state of a WAN (Sierra 908This feature shows the presence and current state of a W-WAN (Sierra
886Wireless EV-DO) device. If WAN is installed, the following commands can 909Wireless EV-DO) device.
887be used: 910
911It was tested on a Lenovo Thinkpad X60. It should probably work on other
912Thinkpad models which come with this module installed.
913
914Procfs notes:
915
916If the W-WAN card is installed, the following commands can be used:
888 917
889 echo enable > /proc/acpi/ibm/wan 918 echo enable > /proc/acpi/ibm/wan
890 echo disable > /proc/acpi/ibm/wan 919 echo disable > /proc/acpi/ibm/wan
891 920
892It was tested on a Lenovo Thinkpad X60. It should probably work on other 921Sysfs notes:
893Thinkpad models which come with this module installed. 922
923 If the W-WAN card is installed, it can be enabled /
924 disabled through the "wwan/enable" thinkpad-acpi device
925 attribute, and its current status can also be queried.
926
927 enable:
928 0: disables WWAN card / WWAN card is disabled
929 1: enables WWAN card / WWAN card is enabled.
930
931 Note: this interface will be probably be superseeded by the
932 generic rfkill class.
894 933
895Multiple Commands, Module Parameters 934Multiple Commands, Module Parameters
896------------------------------------ 935------------------------------------