ACPI: thinkpad-acpi: export EV_SW SW_RADIO events
commit2a26127b8880e54c347cdd3bfc71b2e9878d0796
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 1 Jul 2007 13:56:14 +0000 (1 10:56 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 9 Jul 2007 12:43:52 +0000 (9 09:43 -0300)
tree90da8f1b3c89cc7e958c4dbbc6855463aba89a3f
parent6f07695cf2bfdd2dca2ca2d89871890f123d17f2
ACPI: thinkpad-acpi: export EV_SW SW_RADIO events

The expected user case for the radio slider switch on a ThinkPad includes
interfacing to applications, so that the user gets an offer to find and
associate with a wireless network when the switch is changed from disabled
to enabled (ThinkVantage suite).

Export the information about the switch state, and switch change events as
an EV_SW SW_RADIO event over the input layer.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Ivo van Doorn <ivdoorn@gmail.com>
Cc: Richard Hughes <hughsient@gmail.com>
drivers/misc/thinkpad_acpi.c