Messages in this thread | | | Date | Sat, 12 Apr 2008 09:05:31 -0300 | From | Henrique de Moraes Holschuh <> | Subject | Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events |
| |
On Sat, 12 Apr 2008, Ivo van Doorn wrote: > On Friday 11 April 2008, Henrique de Moraes Holschuh wrote: > > The *_RADIO input events are related to all radios in a system. There are > > two: KEY_RADIO and SW_RADIO. > > > > Teach rfkill-input how to handle them. In particular, SW_RADIO is not a > > toggle, but an absolute enable-or-disable command. > > Not sure what you are trying to achieve here, > who triggers the SW_RADIO and why?
Thinkpad-acpi issues EV_SW SW_RADIO when the user changes a phisical switch in the unit. It is a switch, not a button: it has an ON position, and an OFF position.
-- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
| |