Re: iwlwifi (4965) regression since 2.6.30

From: reinette chatre
Date: Mon Aug 03 2009 - 17:47:11 EST


On Tue, 2009-07-28 at 04:21 -0700, Lukas Hejtmanek wrote:
> On Mon, Jul 27, 2009 at 06:06:15PM +0200, Johannes Berg wrote:
> > I'm not aware of any thinkpad-acpi rfkill problems, can you get the
> > rfkill tool and dump the status/list?
> >
> > http://wireless.kernel.org/en/users/Documentation/rfkill
>
> I figured it out.
>
> I disable bluetooth usually just after system startup.
>
> I disable bt using Fn+F5 which generates ACPI event:
> ibm/hotkey HKEY 00000080 00001005
>
> Which is OK.
>
> But now (sinc 2.6.31-rcX), it silently toggles Soft block of WIFI. I have
> separate HW rfkill switch, it is only soft blocked.

I tried this on a T61.

As you say, there are two "rfkill" related buttons on this platform, the
actual rfkill switch on the front and the Fn+F5 buttons. Trying these
out I saw the following (output annotated to be readable - index 0 is
bluetooth and index 1 is wifi). It looks to me like things are behaving
reasonably and I do not see that Fn+F5 changes wifi at all.

Some things I learned:
- Fn+F5 does nothing if HW rfkill switch enabled
- if bluetooth SW disabled with Fn+F5 and you then toggle the HW rfkill
switch you will get bluetooth back.

# ./rfkill event
RFKILL event: idx 0 type 2 op 0 soft 0 hard 0
RFKILL event: idx 1 type 1 op 0 soft 0 hard 0
#now enable HW rfkill switch
RFKILL event: idx 1 type 1 op 2 soft 0 hard 1
RFKILL event: idx 0 type 2 op 2 soft 0 hard 1
RFKILL event: idx 0 type 2 op 2 soft 1 hard 1
RFKILL event: idx 1 type 1 op 2 soft 1 hard 1
#now disable HW rfkill switch
RFKILL event: idx 1 type 1 op 2 soft 1 hard 0
RFKILL event: idx 0 type 2 op 2 soft 1 hard 0
RFKILL event: idx 1 type 1 op 2 soft 0 hard 0
RFKILL event: idx 0 type 2 op 2 soft 0 hard 0
#now Fn+F5
RFKILL event: idx 0 type 2 op 2 soft 1 hard 0
#now Fn+F5
RFKILL event: idx 0 type 2 op 2 soft 0 hard 0
#now enable HW rfkill switch
RFKILL event: idx 1 type 1 op 2 soft 0 hard 1
RFKILL event: idx 0 type 2 op 2 soft 0 hard 1
RFKILL event: idx 0 type 2 op 2 soft 1 hard 1
RFKILL event: idx 1 type 1 op 2 soft 1 hard 1
#now Fn+F5
<nothing>
#now disable HW rfkill switch
RFKILL event: idx 1 type 1 op 2 soft 1 hard 0
RFKILL event: idx 0 type 2 op 2 soft 0 hard 0
RFKILL event: idx 1 type 1 op 2 soft 0 hard 0
RFKILL event: idx 0 type 2 op 2 soft 0 hard 0
#now Fn+F5
RFKILL event: idx 0 type 2 op 2 soft 1 hard 0
#now enable HW rfkill switch
RFKILL event: idx 1 type 1 op 2 soft 0 hard 1
RFKILL event: idx 0 type 2 op 2 soft 1 hard 1
RFKILL event: idx 0 type 2 op 2 soft 1 hard 1
RFKILL event: idx 1 type 1 op 2 soft 1 hard 1
#now Fn+F5
<nothing>
#now disable HW rfkill switch
RFKILL event: idx 1 type 1 op 2 soft 1 hard 0
RFKILL event: idx 0 type 2 op 2 soft 0 hard 0
RFKILL event: idx 1 type 1 op 2 soft 0 hard 0
RFKILL event: idx 0 type 2 op 2 soft 0 hard 0

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/