Re: [PATCH 3/8] rfkill: handle KEY_RADIO and SW_RADIO events

From: Henrique de Moraes Holschuh
Date: Sat Apr 12 2008 - 08:05:56 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/