Bug 1338024

Summary: rfkill hard-blocks wifi on HP 635 (Atheros wireless, ath9k/hp_wmi)
Product: [Fedora] Fedora Reporter: samoht0 <samoht0-bugzilla>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 22CC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-20 19:24:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description samoht0 2016-05-20 18:59:28 UTC
Description of problem:

Wifi hard blocked by rfkill on ath9k/hp_wmi kernel modules.

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

4.4.10-200.fc22.x86_64
longtime bug, see https://bugzilla.redhat.com/show_bug.cgi?id=954070

How reproducible:

Always.

Steps to Reproduce:

1.
Boot system. Wifi soft and hardware switch off.

2.
# rfkill list
0: hp-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes
...
3: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes

3.
Remove soft block and activate wifi hardware switch.

# rfkill list
0: hp-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
...
3: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes

Wifi don't work.

4.
Use /etc/modprobe.d/hp.conf to blacklist hp_wmi

5.
Reboot system. Wifi soft and hardware switch off.

6.
# rfkill list
0: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes
[no hp-wifi]

7.
Remove soft block and activate wifi hardware switch. 

# rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
[no hp-wifi]

Wifi works.


Actual results:

Wifi blocked and hp_wmi need's to be blacklisted to use wifi.

Expected results:

Wifi working out of box.

Additional info:

Locks like this patch for hp_wmi fixed the issue for the testers, but didn't make it into mainline since March.

https://bugzilla.kernel.org/show_bug.cgi?id=69131#c13

F23 and F24 should be affected too.

Comment 1 samoht0 2016-05-20 19:24:03 UTC

*** This bug has been marked as a duplicate of bug 1338025 ***