Re: [PATCH 09/15] rfkill: add the WWAN radio type

From: Henrique de Moraes Holschuh
Date: Tue May 20 2008 - 23:54:22 EST


On Tue, 20 May 2008, Inaky Perez-Gonzalez wrote:
> On Tuesday 20 May 2008, Henrique de Moraes Holschuh wrote:
> > On Tue, 20 May 2008, Ivo van Doorn wrote:
> > > On Sunday 18 May 2008, Henrique de Moraes Holschuh wrote:
> > > > Add a WWAN rfkill type for generic wireless WAN devices. No keys are added
> > > > as most devices really want to use KEY_WLAN for WWAN control (in a cycle of
> > > > none, WLAN, WWAN, WLAN+WWAN) and need no specific keycode added.
> > > >
> > > > Signed-off-by: Inaky Perez-Gonzalez <inaky@xxxxxxxxxxxxxxx>
>
> BTW, I just realized this was mistakenly put in your initial patch;
> you signed off for me and also added me to the CC :)

Urk, that's embarassing. Sorry about it! Fixed.

> > Stuff like "WiMax", "802.1a", "EDGE", "GRPS", "802.1bg" would be the
> > type, and class would be "WLAN", "WWAN", etc.
> >
> > We would only deal with classes on rfkill-input. Anything else more
> > specific should be done in userspace instead, disabling rfkill-input.
>
> How would this apply to the case where I want to use the HW key to switch
> one off and turn the other one off (say I have both a WiMAX and EDGE
> cards in my machine); how could we do it to distinguish which key is which?
> I might be missing something.

I don't understand. Switch one off and turn the other one off? Isn't
that the same thing?

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