Bug 745690 - NetworkManager mis-detects RF kill switch
Summary: NetworkManager mis-detects RF kill switch
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 15
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-13 04:40 UTC by patrick korsnick
Modified: 2011-10-26 08:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-26 08:14:00 UTC
Type: ---


Attachments (Terms of Use)

Description patrick korsnick 2011-10-13 04:40:47 UTC
Description of problem:

unable to connect to wireless networks using my Lenovo S12 netbook with Broadcom BCM4312 network adaptor. i tried to make this work on f15 and f16 with both the STA driver (kmod-wl akmod-wl, from RPMFusion) and the b43 driver (http://fedoramobile.org/fc-wireless/bcm43xx-yum-extras). both produce the same result.

i was able to make this work back on f13 or 14 if i remember correctly and it works under ubuntu 10.04 LTS.


07:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)

07:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)

and according to the chart on http://wireless.kernel.org/en/users/Drivers/b43 this card is compatible with b43:


seems similar to bug 510662


Version-Release number of selected component (if applicable):


How reproducible:

every time

Steps to Reproduce:
1. clean install
2. install either the STA or b43 driver
3. try to connect to wireless
  
Actual results:

no connection possible. able to do a 'iwlist scan' and see APs but can't connect

Expected results:

to connect to AP

Additional info:

when machine boots it comes up in Airplane mode. you can get the toggle switch to off to get it out of airplane mode, but you can't get the toggle for Wireless to ON position. it keeps going back to off.

open network applet and take it out of Airplane Mode yields:

Oct 12 22:25:41 santorini NetworkManager[852]: NetworkManager[852]: <info> (wlan0): bringing up device.
Oct 12 22:25:41 santorini NetworkManager[852]: NetworkManager[852]: <info> WiFi hardware radio set enabled
Oct 12 22:25:41 santorini NetworkManager[852]: <info> WiFi hardware radio set enabled
Oct 12 22:25:41 santorini NetworkManager[852]: NetworkManager[852]: <info> WiFi now enabled by radio killswitch
Oct 12 22:25:41 santorini NetworkManager[852]: <info> WiFi now enabled by radio killswitch
Oct 12 22:25:41 santorini NetworkManager[852]: NetworkManager[852]: <info> (wlan0): bringing up device.
Oct 12 22:25:41 santorini NetworkManager[852]: <info> (wlan0): bringing up device.
Oct 12 22:25:41 santorini kernel: [  487.056186] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Oct 12 22:25:42 santorini kernel: [  488.443108] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Oct 12 22:25:42 santorini dbus[898]: [system] Activating service name='fi.w1.wpa_supplicant1' (using servicehelper)
Oct 12 22:25:42 santorini dbus-daemon[898]: dbus[898]: [system] Activating service name='fi.w1.wpa_supplicant1' (using servicehelper)
Oct 12 22:25:42 santorini NetworkManager[852]: NetworkManager[852]: <info> WiFi now disabled by radio killswitch
Oct 12 22:25:42 santorini NetworkManager[852]: <info> WiFi now disabled by radio killswitch
Oct 12 22:25:42 santorini NetworkManager[852]: NetworkManager[852]: <info> (wlan0): taking down device.
Oct 12 22:25:42 santorini NetworkManager[852]: <info> (wlan0): taking down device.
Oct 12 22:25:42 santorini lldpad[944]: l2_packet_receive - recvfrom: Network is down
Oct 12 22:25:42 santorini dbus[898]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
Oct 12 22:25:42 santorini dbus-daemon[898]: dbus[898]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
Oct 12 22:25:42 santorini NetworkManager[852]: <info> wpa_supplicant started
Oct 12 22:25:42 santorini NetworkManager[852]: NetworkManager[852]: <info> wpa_supplicant started
Oct 12 22:25:43 santorini kernel: [  488.705214] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Oct 12 22:25:44 santorini kernel: [  490.110823] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Oct 12 22:25:44 santorini NetworkManager[852]: NetworkManager[852]: <info> (wlan0): supplicant interface state: starting -> ready
Oct 12 22:25:44 santorini NetworkManager[852]: <info> (wlan0): supplicant interface state: starting -> ready
Oct 12 22:25:44 santorini NetworkManager[852]: NetworkManager[852]: <info> (wlan0): supplicant interface state: ready -> inactive
Oct 12 22:25:44 santorini NetworkManager[852]: <info> (wlan0): supplicant interface state: ready -> inactive



iwconfig wlan0 essid foo

yields:

Oct 12 22:27:56 santorini kernel: [  622.032235] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Oct 12 22:27:56 santorini kernel: [  622.066354] cfg80211: Calling CRDA to update world regulatory domain
Oct 12 22:27:56 santorini NetworkManager[852]: <info> (wlan0): supplicant interface state: inactive -> disconnected
Oct 12 22:27:56 santorini NetworkManager[852]: NetworkManager[852]: <info> (wlan0): supplicant interface state: inactive -> disconnected
Oct 12 22:27:56 santorini kernel: [  622.081517] cfg80211: World regulatory domain updated:
Oct 12 22:27:56 santorini kernel: [  622.081528] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Oct 12 22:27:56 santorini kernel: [  622.081540] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 12 22:27:56 santorini kernel: [  622.081549] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct 12 22:27:56 santorini kernel: [  622.081559] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct 12 22:27:56 santorini kernel: [  622.081569] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 12 22:27:56 santorini kernel: [  622.081579] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 12 22:27:56 santorini kernel: [  622.081629] cfg80211: Calling CRDA for country: US
Oct 12 22:27:56 santorini kernel: [  622.099829] cfg80211: Regulatory domain changed to country: US
Oct 12 22:27:56 santorini kernel: [  622.099842] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Oct 12 22:27:56 santorini kernel: [  622.099853] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Oct 12 22:27:56 santorini kernel: [  622.099864] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Oct 12 22:27:56 santorini kernel: [  622.099874] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 12 22:27:56 santorini kernel: [  622.099884] cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 12 22:27:56 santorini kernel: [  622.099895] cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 12 22:27:56 santorini kernel: [  622.099905] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Oct 12 22:27:58 santorini avahi-daemon[877]: Registering new address record for fe80::226:82ff:fe29:b152 on wlan0.*.

Comment 1 patrick korsnick 2011-10-13 16:41:12 UTC
both the HW wifi switch and BIOS wifi settings are enabled. playing around with Fn-F5 (wifi enable/disable) produces entries in /var/log/messages, but even when you switch it to "enabled" NM ultimately says wifi disabled by killswitch in the logs.

Comment 2 Jirka Klimes 2011-10-19 09:49:43 UTC
Would you paste output of
$ rfkill list
when you switch WiFi on and off?

A platform driver might block Wi-Fi (e.g. acer-wmi).

See also
http://fakkelbrigade.eu/chris/blog/2010/12/wireless-not-working-in-ubuntu-on-the-lenovo-ideapad-s12/

Comment 3 patrick korsnick 2011-10-25 17:09:11 UTC
[root@wintermute rfkill-0.4]# ./rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no


as per that link you posted i tried ubuntu out and 11.10 produced the same error about the kill switch as fedora.

installing ubuntu 10.04LTS and clicking on the install missing drivers thing in the top menu and installing the STA driver it worked just fine with no further tweaking

Comment 4 patrick korsnick 2011-10-25 19:59:17 UTC
oops, i accidentally uploaded the rfkill output from the wrong machine. please disregard the rfkill output in comment 3.  here is the correct output:

[root@santorini rfkill-0.4]# ./rfkill list
0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: acer-wireless: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
4: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Comment 5 patrick korsnick 2011-10-25 23:16:23 UTC
SOLVED!

thanks jirka, your suggestion about the other driver causing the problem (comment #2) was spot on. by blacklisting the acer-wmi driver i was able to simply 'yum install broadcom-wl' and reboot and had wireless working perfectly!

Comment 6 Jirka Klimes 2011-10-26 08:14:00 UTC
(In reply to comment #5)
> SOLVED!
> 
Great!


Note You need to log in before you can comment on or make changes to this bug.