lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 03 Aug 2009 14:47:01 -0700
From:	reinette chatre <reinette.chatre@...el.com>
To:	Lukas Hejtmanek <xhejtman@....muni.cz>
Cc:	Johannes Berg <johannes@...solutions.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: iwlwifi (4965) regression since 2.6.30

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ