HP Compaq 6730b, wireless and bluetooth disabled on boot by hp-wmi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ Resending this mail as it did not get through to the list and I did not
get any response so far. I have now uploaded all attachments to a
webserver to reduce the size of the message. ]

Hi

On a HP Compaq 6730b the wireless and bluetooth interface are blocked by
rfkill on boot. It's possible to unblock them with the rfkill command,
but it can't be unblock on Windows without the HP Wireless Assistant
utility. This utility shows the device as "off" when in that state (as
opposed to "deactivated" when using the wireless "touch button").

Bisecting the kernel I found that the problem exists since commit:
commit 4fca7ce39f57517a31c911d8f66931355a39457e
Author: Trepák Vilmos <trepo@xxxxxxxxxxx>
Date:   Thu Oct 11 12:51:00 2012 +0200

    Platform: hp-wmi: add rfkill support for integrated GPS

    Add rfkill support for the GPS radio found in HP laptops (HP Elitebook 2170p and the like)
    using the Ericsson F5321/H5321 Mobile Broadband Module.

    Signed-off-by: Viliam Trepák <trepo@xxxxxxxxxxx>
    Signed-off-by: Matthew Garrett <matthew.garrett@xxxxxxxxxx>

Further adding some debugging output to the kernel shows that the
bluetooth and wifi module are deactivated when the GPS module's rfkill
is initialized (around line 792 in hp-wmi.c). This is also confirmed by
the fact that "rfkill block gps" deactivates wifi and bluetooth and
"rfkill unblock gps" activates both but does not change the rfkill state
of the gps module itself. To my knowledge there is no gps or wwan module
in this notebook. [2]

My guess is that interpretation of the HPWMI_WIRELESS_QUERY for this
model is wrong. I tried to poke around a bit with acpidump, iasl and
wmidump[1], but did not find anything really obvious. My hope is that
someone more knowledgeable about this is able to further debug this. 

acpidump output: 
http://tmp.durcheinandertal.ch/hp-compaq-6730b/acpidump.out

decoded DSDT DSL:
http://tmp.durcheinandertal.ch/hp-compaq-6730b/dsdt.dsl

wmidump output:
http://tmp.durcheinandertal.ch/hp-compaq-6730b/wmidump.out

debugging patch:
http://tmp.durcheinandertal.ch/hp-compaq-6730b/hp-wmi_debug.patch

dmesg output of hp_wmi with my debugging patch:
http://tmp.durcheinandertal.ch/hp-compaq-6730b/hp_wmi.dmesg

Gaudenz

[1] https://github.com/iksaif/wmidump
[2] Output of rfkill list ; rfkill unblock gps ; rfkill list ; rfkill
block gps ; rfkill list:

0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
1: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
2: hp-bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: no
3: hp-gps: GPS
    Soft blocked: yes
    Hard blocked: yes

0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
2: hp-bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: no
3: hp-gps: GPS
    Soft blocked: no
    Hard blocked: yes

0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
1: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
2: hp-bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: no
3: hp-gps: GPS
    Soft blocked: yes
    Hard blocked: yes

-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux