Bug 66431

Summary: I can't unblock rfkill for my wifi card.
Product: Networking Reporter: Jeremy (kcchouette)
Component: WirelessAssignee: networking_wireless (networking_wireless)
Status: NEW ---    
Severity: normal CC: ath9k-devel, harald.brennich, linville, ntzrmtthihu777, sachse, szg00000
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.11.8 Subsystem:
Regression: No Bisected commit-id:
Attachments: Lsmod command

Description Jeremy 2013-12-03 19:01:35 UTC
$sudo ifconfig wlan0 up
SIOCSIFFLAGS: Opération impossible du fait de RF-kill (translation : Impossible Operation due to RF-kill)

$sudo rfkill list all
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
1: asus-wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no

When I $sudo rfkill unblock all ; nothing change.

With kernel 3.10, my wifi works.

$dmesg | egrep 'phy0|wlan0' 
[    8.066800] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    8.067011] ieee80211 phy0: Atheros AR9485 Rev:1 mem=0xffffc90015500000, irq=17
[   33.788199] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

I join my lsmod command.

Please help me to resolv this bug.
Thanks.

My computer is a asus x550c laptop under Debian Testing.
Comment 1 Jeremy 2013-12-03 19:02:55 UTC
Created attachment 117271 [details]
Lsmod command
Comment 2 John W. Linville 2013-12-03 20:32:24 UTC
*** Bug 66421 has been marked as a duplicate of this bug. ***
Comment 3 Harald Brennich 2013-12-23 16:59:39 UTC
I have the same problem with my Toshiba L755 notebook. Kernel version 3.11.6-4-desktop (openSuse 13.1), wireless device Atheros AR9285. 
Some additional information: 
In Windows 7, wifi and bluetooth can be switched on and off separately or together (key Fn+F8). When both are switched off, the LED indicator is off. In this case, when Linux is booted
1. The LED indicator is on
2. bluetooth is on and working
3. bluetooth can be switched on and off via rfkill, but the LED indicator stays on. hard block is not possible.
4. wifi can be soft blocked/unblocked via rfkill, but the hard block stays. So to get wifi running, I have to boot into Windows and switch wifi on again ...
Comment 4 Harald Brennich 2013-12-25 15:34:00 UTC
Jeremy says;
>> With kernel 3.10, my wifi works.

I have tried with 3.10.25. Does not work...
Comment 5 Harald Brennich 2013-12-25 16:30:41 UTC
A workaround for hard blocked wifi is doing a system reset (disconnect AC and battery, then press power button for 10 sec).
But still Linux should be able to turn RF on and off on its own. I do not know how much power the RF transmitter actually consumes, but on notebooks reducing power consumptions by disabling devices currently not being used seems to me essential.
Comment 6 Jeremy 2014-01-06 23:06:31 UTC
I have resolv my bug by using this help : http://forums.fedoraforum.org/showpost.php?p=1680444&postcount=3

I don't know if it helps you, Harald…
Comment 7 Jon Dufresne 2014-11-14 01:25:20 UTC
As a user that runs into this issue daily, is there anything I can provide to kernel developers to help resolve the issue? I'm willing to gather data and run tests if that is what is required.
Comment 8 ntzrmtthihu777 2015-09-14 00:46:05 UTC
Can you try closing and then opening your laptop lid? (perhaps just pressing the power button and choosing suspend would work as well). I have a similar issue with my hp laptop with the same card. Its only a temp fix, but I think comment 6's fix (with an adjustment to use wapf=4 instead of wapf=1) should fix the problem a bit more permanently.
Comment 9 Jon Dufresne 2015-09-19 16:31:21 UTC
I no longer experience this issue. Now after a cold boot, no devices are blocked. As far as I can tell, this issue has been fixed for me.
Comment 10 sachse 2018-04-06 22:45:14 UTC
Laptop: Packard Bell EN TS13B
Chipset: Intel 6
Can reproduce: always
<FN>+<F3> means enable/disable wifi.

The state of wifi card depends on the power cord.

Start with    power cord: working
Start without power cord: hardblocked

Start without power cord: hardblocked
      connect power cord: hardblocked
      press <FN>+<F3> 2x: working

Start without power cord: hardblocked
      press <FN>+<F3> 2x: hardblocked