diff options
Diffstat (limited to 'Documentation/thinkpad-acpi.txt')
-rw-r--r-- | Documentation/thinkpad-acpi.txt | 61 |
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 | ||
228 | Bluetooth -- /proc/acpi/ibm/bluetooth | 228 | Bluetooth |
229 | ------------------------------------- | 229 | --------- |
230 | 230 | ||
231 | This feature shows the presence and current state of a Bluetooth | 231 | procfs: /proc/acpi/ibm/bluetooth |
232 | device. If Bluetooth is installed, the following commands can be used: | 232 | sysfs device attribute: bluetooth/enable |
233 | |||
234 | This feature shows the presence and current state of a ThinkPad | ||
235 | Bluetooth device in the internal ThinkPad CDC slot. | ||
236 | |||
237 | Procfs notes: | ||
238 | |||
239 | If 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 | ||
244 | Sysfs 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 | |||
237 | Video output control -- /proc/acpi/ibm/video | 257 | Video 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 | |||
874 | would be the safest choice, though). | 894 | would be the safest choice, though). |
875 | 895 | ||
876 | 896 | ||
877 | EXPERIMENTAL: WAN -- /proc/acpi/ibm/wan | 897 | EXPERIMENTAL: WAN |
878 | --------------------------------------- | 898 | ----------------- |
899 | |||
900 | procfs: /proc/acpi/ibm/wan | ||
901 | sysfs device attribute: wwan/enable | ||
879 | 902 | ||
880 | This feature is marked EXPERIMENTAL because the implementation | 903 | This feature is marked EXPERIMENTAL because the implementation |
881 | directly accesses hardware registers and may not work as expected. USE | 904 | directly accesses hardware registers and may not work as expected. USE |
882 | WITH CAUTION! To use this feature, you need to supply the | 905 | WITH CAUTION! To use this feature, you need to supply the |
883 | experimental=1 parameter when loading the module. | 906 | experimental=1 parameter when loading the module. |
884 | 907 | ||
885 | This feature shows the presence and current state of a WAN (Sierra | 908 | This feature shows the presence and current state of a W-WAN (Sierra |
886 | Wireless EV-DO) device. If WAN is installed, the following commands can | 909 | Wireless EV-DO) device. |
887 | be used: | 910 | |
911 | It was tested on a Lenovo Thinkpad X60. It should probably work on other | ||
912 | Thinkpad models which come with this module installed. | ||
913 | |||
914 | Procfs notes: | ||
915 | |||
916 | If 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 | ||
892 | It was tested on a Lenovo Thinkpad X60. It should probably work on other | 921 | Sysfs notes: |
893 | Thinkpad 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 | ||
895 | Multiple Commands, Module Parameters | 934 | Multiple Commands, Module Parameters |
896 | ------------------------------------ | 935 | ------------------------------------ |