diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-07-18 22:45:31 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-21 23:38:08 -0400 |
commit | 74941a69afcc06722685d492784414ec042ab492 (patch) | |
tree | 6f97b54fc18db01504cc46dc72d7f28d7d91d5a7 /Documentation | |
parent | 9b010de59cb6dcab7e167dd2a0fa5d3b31447fea (diff) |
ACPI: thinkpad-acpi: export to sysfs the state of the radio slider switch
Some ThinkPad models, notably the T60 and X60, have a slider switch to
enable and disable the radios. The switch has the capability of
force-disabling the radios in hardware on most models, and it is supposed
to affect all radios (WLAN, WWAN, BlueTooth).
Export the switch state as a sysfs attribute, on ThinkPads where it is
available.
Thanks to Henning Schild for asking for this feature, and for tracking down
the EC register that holds the radio switch state.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Henning Schild <henning@wh9.tu-dresden.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/thinkpad-acpi.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt index 142a14fa1d91..fe26e50a2b15 100644 --- a/Documentation/thinkpad-acpi.txt +++ b/Documentation/thinkpad-acpi.txt | |||
@@ -227,6 +227,12 @@ sysfs notes: | |||
227 | supported hot keys, except those which are handled by | 227 | supported hot keys, except those which are handled by |
228 | the firmware. Echo it to hotkey_mask above, to use. | 228 | the firmware. Echo it to hotkey_mask above, to use. |
229 | 229 | ||
230 | hotkey_radio_sw: | ||
231 | if the ThinkPad has a hardware radio switch, this | ||
232 | attribute will read 0 if the switch is in the "radios | ||
233 | disabled" postition, and 1 if the switch is in the | ||
234 | "radios enabled" position. | ||
235 | |||
230 | 236 | ||
231 | Bluetooth | 237 | Bluetooth |
232 | --------- | 238 | --------- |