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

From: Ivo van Doorn
Date: Sat Apr 12 2008 - 08:22:42 EST


On Saturday 12 April 2008, Henrique de Moraes Holschuh wrote:
> 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.

Ok, and such a switch is always intended to control all radios?
(in other words, it is the expected behavior it controls everything)

Ivo
--
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/