All of lore.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: John Linville <linville@tuxdriver.com>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	Michael Buesch <mb@bu3sch.de>
Subject: Re: [PATCH] rfkill: always init poll delayed work
Date: Thu, 04 Jun 2009 10:59:40 -0500	[thread overview]
Message-ID: <4A27EF6C.8000208@lwfinger.net> (raw)
In-Reply-To: <1244128337.22576.81.camel@johannes.local>

Johannes Berg wrote:
> 
> Could you try, without the patch in question, what happens in terms of
> uevents
>  * have everything on
>  * press rfkill button (expect -> hw_blocked transition)
>  * put interface down
>  * press rfkill button (expect -> unblocked transition)
>  * put interface up

I'm running v2.6.30-rc8-25743-g3b2029b from wireless-testing.

This is with interface UP and switch off:

larrylap:/etc/sysconfig/network # cat /sys/class/rfkill/rfkill0/uevent
PHYSDEVPATH=/devices/pci0000:00/0000:00:0d.0/0000:04:00.0/ssb0:0
PHYSDEVBUS=ssb
PHYSDEVDRIVER=b43
RFKILL_NAME=phy0
RFKILL_TYPE=wlan
RFKILL_STATE=2


larrylap:/etc/sysconfig/network # ifdown eth1
    eth1      name: BCM4312 802.11a/b/g
larrylap:/etc/sysconfig/network # cat /sys/class/rfkill/rfkill0/uevent
PHYSDEVPATH=/devices/pci0000:00/0000:00:0d.0/0000:04:00.0/ssb0:0
PHYSDEVBUS=ssb
PHYSDEVDRIVER=b43
RFKILL_NAME=phy0
RFKILL_TYPE=wlan
RFKILL_STATE=2

At this point, radio kill switch turned on:

larrylap:/etc/sysconfig/network # ifup eth1
    eth1      name: BCM4312 802.11a/b/g
    eth1      warning: WPA configured but may be unsupported
    eth1      warning: by this device
    eth1      starting wpa_supplicant
SIOCSIFFLAGS: Unknown error 132
Could not set interface 'eth1' UP
RTNETLINK answers: Unknown error 132
Starting DHCP4 client on eth1. . . .
    eth1      DHCP4 client NOT running
RTNETLINK answers: Unknown error 132
Cannot enable interface eth1.
interface eth1 is not up

larrylap:/etc/sysconfig/network # cat /sys/class/rfkill/rfkill0/uevent
PHYSDEVPATH=/devices/pci0000:00/0000:00:0d.0/0000:04:00.0/ssb0:0
PHYSDEVBUS=ssb
PHYSDEVDRIVER=b43
RFKILL_NAME=phy0
RFKILL_TYPE=wlan
RFKILL_STATE=2

The ERFKILL (132) prevents it from coming up. Again, the switch was on
at this point.

I could not restore service until rmmod/insmod of b43.

Larry

  reply	other threads:[~2009-06-04 15:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-03  7:55 [PATCH] rfkill: always init poll delayed work Johannes Berg
2009-06-03 14:50 ` Larry Finger
2009-06-03 14:55   ` Johannes Berg
2009-06-04 14:52     ` Larry Finger
2009-06-04 15:12       ` Johannes Berg
2009-06-04 15:59         ` Larry Finger [this message]
2009-06-04 16:19           ` Johannes Berg
2009-06-04 16:28             ` Larry Finger
2009-06-04 16:31               ` Johannes Berg
2009-06-04 16:51                 ` Larry Finger
2009-06-04 16:57                   ` Johannes Berg
2009-06-04 17:52                     ` Larry Finger
2009-06-04 18:02                       ` Johannes Berg
2009-06-05 13:03                         ` Larry Finger

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=4A27EF6C.8000208@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mb@bu3sch.de \
    /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.