Re: iwlwifi (4965) regression since 2.6.30

From: reinette chatre
Date: Fri Aug 14 2009 - 12:07:53 EST


On Thu, 2009-08-13 at 19:10 -0700, Henrique de Moraes Holschuh wrote:
> On Thu, 13 Aug 2009, reinette chatre wrote:
> > On Fri, 2009-08-07 at 14:35 -0700, Lukas Hejtmanek wrote:
> > > On Thu, Aug 06, 2009 at 08:07:04PM -0300, Henrique de Moraes Holschuh wrote:
> > > > On Fri, 07 Aug 2009, Lukas Hejtmanek wrote:
> > > > > 0x0004 = 238 # KEY_WLAN
> > > >
> > > > This means any rfkill input handler (be it in kernel or userspace) will
> > > > toggle your WLAN cards when fn+f5 is pressed. You can just assign a
> > > > different keycode to it (use KEY_RESERVED or KEY_UNKNOWN if you don't want
> > > > the key to do anything).
> > >
> > > Could you give me some hints how to do the mapping?
> >
> > On my system this key is mapped to 385 (KEY_RADIO) - so that can explain
>
> And KEY_RADIO is the key to select the radio tuner... heh. The
> bogosity never ends. At least it is unlikely that anything would care
> for KEY_RADIO.

On my system this key toggles bluetooth rfkill and does not touch wifi.
I think this is what Lukas wants it to do. I thus hope when he sets his
key mapping to KEY_RADIO he will get the same behavior.

> > >From what I understand you can use input-kbd to change the key mappings.
> > The map file you can provide to it is in same format as the one it
> > prints for you.
>
> You can also add a HAL fdi file. I will attach one I found on my
> system, modify to your taste and find out where you should drop it on
> /etc for HAL to use...

Thanks!

Reinette

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