All of lore.kernel.org
 help / color / mirror / Atom feed
From: reinette chatre <reinette.chatre@intel.com>
To: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: iwlwifi (4965) regression since 2.6.30
Date: Mon, 03 Aug 2009 14:47:01 -0700	[thread overview]
Message-ID: <1249336021.30019.4304.camel@rc-desk> (raw)
In-Reply-To: <20090728112102.GA3382@ics.muni.cz>

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




  parent reply	other threads:[~2009-08-03 21:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-26  7:57 iwlwifi (4965) regression since 2.6.30 Lukas Hejtmanek
2009-07-27 16:03 ` reinette chatre
2009-07-27 16:06   ` Johannes Berg
2009-07-28 11:21     ` Lukas Hejtmanek
2009-07-28 12:54       ` Johannes Berg
2009-08-02 22:12         ` Lukas Hejtmanek
2009-08-03 21:47       ` reinette chatre [this message]
2009-08-04  8:49         ` Lukas Hejtmanek
2009-08-04 22:49           ` reinette chatre
2009-08-04 22:56             ` Lukas Hejtmanek
2009-08-04 23:38               ` reinette chatre
2009-08-06 13:22                 ` Henrique de Moraes Holschuh
2009-08-06 22:41                   ` Lukas Hejtmanek
2009-08-06 23:07                     ` Henrique de Moraes Holschuh
2009-08-07 20:32                       ` Johannes Stezenbach
2009-08-07 21:16                         ` Lukas Hejtmanek
2009-08-07 21:35                       ` Lukas Hejtmanek
2009-08-13 22:59                         ` reinette chatre
2009-08-14  2:10                           ` Henrique de Moraes Holschuh
2009-08-14 16:07                             ` reinette chatre
2009-07-27 16:07   ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1249336021.30019.4304.camel@rc-desk \
    --to=reinette.chatre@intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xhejtman@ics.muni.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.