Bug 491299

Summary: RFKill makes wifi unusable
Product: [Fedora] Fedora Reporter: Ilya Eremin <che_guevara_3>
Component: kernelAssignee: Stanislaw Gruszka <sgruszka>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: cndr, jfeeney, kernel-maint, rayfward, tim.hawkins
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-08 16:44:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ilya Eremin 2009-03-20 10:01:26 UTC
Basically I have never been able to use wireless in linux with my current laptop.
iwl3945 0000:08:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
iwl3945 0000:08:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x100106)
  alloc irq_desc for 30 on cpu 0 node 0
  alloc kstat_irqs on cpu 0 node 0
iwl3945 0000:08:00.0: irq 30 for MSI/MSI-X
iwl3945 0000:08:00.0: firmware: requesting iwlwifi-3945-2.ucode
iwl3945 loaded firmware version 15.28.2.8
iwl3945: Radio disabled by HW RF Kill switch
iwl3945 0000:08:00.0: PCI INT A disabled
iwl3945 0000:08:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
iwl3945 0000:08:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x100106)
iwl3945 0000:08:00.0: irq 30 for MSI/MSI-X
iwl3945: Radio disabled by HW RF Kill switch
iwl3945 0000:08:00.0: PCI INT A disabled

The problem here is is that I don't actually have a switch on the laptop, on windows it works by pressing the Fn+F1 buttons and a helper app comes on, which lets you toggle the state to on. But on linux, obviously, pressing those buttons does nothing. I am not sure if this is more of a hal bug then kernel, but filing as kernel...

Comment 1 John W. Linville 2009-03-31 14:59:36 UTC
What is your make and model of laptop?

Comment 2 Ilya Eremin 2009-03-31 21:49:05 UTC
It's a Fujitsu Siements Amilo Li 2735

Comment 3 Tim Hawkins 2009-04-02 07:48:47 UTC
Im having the same problem on an ACER aspire one, The system does not respond to the hwswitch, but is showing the wireless is disabled by kill switch. Is there a userland command that can be used to enable the stack?

Apr  1 05:40:08 localhost NetworkManager: <info>  starting...
Apr  1 05:40:08 localhost NetworkManager: <WARN>  nm_generic_enable_loopback(): error -17 returned from rtnl_addr_add():#012Sucess#012
Apr  1 05:40:08 localhost NetworkManager: <info>  Found radio killswitch /org/freedesktop/Hal/devices/platform_acer_wmi_rfkill_acer_wireless_wlan
Apr  1 05:40:08 localhost NetworkManager: <info>  (eth0): new Ethernet device (driver: 'r8169')
Apr  1 05:40:08 localhost NetworkManager: <info>  (eth0): exported as /org/freedesktop/Hal/devices/net_00_1e_68_c0_87_ea
Apr  1 05:40:08 localhost NetworkManager: <info>  (wlan0): driver supports SSID scans (scan_capa 0x01).
Apr  1 05:40:08 localhost NetworkManager: <info>  (wlan0): new 802.11 WiFi device (driver: 'ath5k')
Apr  1 05:40:08 localhost NetworkManager: <info>  (wlan0): exported as /org/freedesktop/Hal/devices/net_00_22_69_3c_d4_c4
Apr  1 05:40:08 localhost NetworkManager: <info>  Trying to start the supplicant...
Apr  1 05:40:08 localhost NetworkManager: <info>  Trying to start the system settings daemon...
Apr  1 05:40:08 localhost NetworkManager: <info>  Wireless now disabled by radio killswitch

Comment 4 Jaroslav Zeman 2009-04-09 07:06:55 UTC
The same problem with FC10, Compaq 6510q, wifi iwl3945!

Comment 5 m.oliver 2009-04-23 15:50:57 UTC
Same problem with FC10, Dell XPS M1330, iwl3945

Comment 6 Jaroslav Zeman 2009-04-27 09:04:57 UTC
In HP Compaq 6510 I am resetting bios setting and restore factory default (no change default settings, except SATA). After this procedure, all switch in GNOME start working, (I am can wifi turn on/off), in KDE switch for wifi, working too (some switch or buttons /e.g. sleep/ not works).

I am supposed that problem is bound with switching cable/wifi network connection. When is active cable, not be active wifi and reverse. In bios can be this setting, just as in my case (Compaq).

Comment 7 m.oliver 2009-05-04 21:23:05 UTC
(In reply to comment #5)
> Same problem with FC10, Dell XPS M1330, iwl3945  

Please disregard this comment.  Hardware actually does have a killswitch, which works as advertised.  Dang.

Comment 8 Bug Zapper 2009-06-09 12:26:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 9 Ilya Eremin 2009-09-27 22:34:10 UTC
Changing to rawhide, as far as I am aware nothing is changed. Can anything be done to bring this closer to fixing? May be I could post the windows executable that does the magic in windows? Sorry for bumping, but I still have no choice, but to use Windows on my laptop.

Comment 10 Stanislaw Gruszka 2009-10-01 15:20:44 UTC
Did you try to use acer-wmi module ? Over internet there are success stories about using this module with Amilo laptops (however not see Li 2735 there).

Comment 11 Ilya Eremin 2009-10-10 07:41:21 UTC
Wow, you are a genius! I can't understand why all these years struggling and googling, I haven't fount this information earlier... Now the question is, can this be auto loaded on amilo laptops for the benefit of everyone?

Comment 12 Stanislaw Gruszka 2009-10-13 14:39:14 UTC
(In reply to comment #11)
> Now the question is, can
> this be auto loaded on amilo laptops for the benefit of everyone?  

Please contact Carlos Corbacho - acer-wmi maintainer and ask for adding this feature, here is more info: 

http://lxr.linux.no/#linux+v2.6.31/Documentation/laptops/acer-wmi.txt

Note: adding autoload should not be difficult, just we need to add proper MODULE_ALIAS() (taken from /sys/class/dmi/id/modalias) to driver, but I wonder why nobody did it before, perhaps there are some problems with that.

Thank you.

Comment 13 Bug Zapper 2009-11-16 09:52:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 14 Ray Ward 2009-12-06 06:41:43 UTC
Ath5k module problems.
I'm not sure I'm following this properly but. 
On cold boot my Laptop WiFi works first time (Fujitsu Amilo Li 2727). 
Warm boot the wlan device is not visible even though the driver is loaded.
I worked round this by using modprobe to remove the module and re-insert it.
modprobe -r ath5k
modprobe ath5k 

Fedora 12
Upgraded from 11

F11 did not exhibit this behaviour.
I am using acer-wmi

Warm boot.

ath5k 0000:08:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
ath5k 0000:08:00.0: setting latency timer to 64
ath5k 0000:08:00.0: registered as 'phy0'
ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

Remove the module
ath5k 0000:08:00.0: PCI INT A disabled

After reloading the module.

This I think is to do with the "options ath_pci autocreate=sta rfkill=0"
Commenting this line out of "ath5k.conf" does not seem to change functionality.

ath5k: Unknown symbol ath_regd_get_band_ctl
ath5k: Unknown symbol ath_reg_notifier_apply
ath5k: Unknown symbol ath_is_world_regd
ath5k: Unknown symbol ath_regd_initegards


ath5k 0000:08:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
ath5k 0000:08:00.0: setting latency timer to 64
ath5k 0000:08:00.0: registered as 'phy1'
ath5k phy1: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

Works after that.

Regards
Ray

Comment 15 Stanislaw Gruszka 2010-01-25 09:36:06 UTC
Hi Ray

Your problem is different, could you reproduce with recent f12 kernel and if issue still persist open separate bug report for that. Thank you.

Comment 16 Stanislaw Gruszka 2010-01-25 09:44:40 UTC
Hi Ilya

Did you try to request feature to acer-wmi driver as I asked you in comment #12. Please note I can't work on it somehow since I have no such hardware.

Comment 18 Matthew Garrett 2010-01-31 05:29:15 UTC
acer-wmi should autoload on all devices it supports with .32 and later. I can backport this to .31, but I'll check on the kernel plans for F12 first. The Atheros issue seems unrelated.

Comment 19 Stanislaw Gruszka 2010-02-01 09:09:24 UTC
As far as I know F12 will switch to .32 kernel as soon as it will start work with F12 Xwindow.

Comment 20 Stanislaw Gruszka 2010-03-08 16:44:49 UTC
Since F12 update kernel to 2.6.32 I'm closing this bug. Please reopen if acer-wmi issue still persist.