hp-wmi calls WMI 0x05 instead of WMI 0x1b interfaces in new BIOS

Bug #1249256 reported by Alex Hung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Medium
Alex Hung
Quantal
Won't Fix
Low
Unassigned
Saucy
Fix Released
Medium
Alex Hung
Trusty
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Medium
Alex Hung
Nominated for Quantal by Anthony Wong
Nominated for Raring by Anthony Wong

Bug Description

Some hp systems have faulty wmi 0x05 interfaces (HPWMI_WIRELESS_QUERY); however, BIOS still reports 0x05 is supported and it will be used in hp-wmi instead of wmi 0x1b (HPWMI_WIRELESS2_QUERY). This causes "rkfill block" and "rfkill unblock" fail to change the state of wireless devices in these particular systems.

HP defines wmi 0x05 as "This command is deprecated starting with Bios09 platforms and is replaced by Command Type 1Bh. Check Features Reporting (Command Type 0Dh, Bit 3) for new command support."

Revision history for this message
Alex Hung (alexhung) wrote :

A patch implementing WMI 0x0D was sent to upstream (see http://<email address hidden>/msg04740.html)

Changed in linux (Ubuntu):
assignee: nobody → Alex Hung (alexhung)
importance: Undecided → Medium
status: New → In Progress
tags: added: blocks-hwcert-enablement
Changed in hwe-next:
status: New → In Progress
assignee: nobody → Alex Hung (alexhung)
importance: Undecided → Medium
Revision history for this message
Alex Hung (alexhung) wrote :

Patch is available in Linux 3.13-rc1 as below.

commit 997daa1bd9aca412ab97955a35b26c460c0ec7a4
Author: Alex Hung <email address hidden>
Date: Tue Oct 29 14:57:58 2013 +0800

    hp-wmi: detect "2009 BIOS or later" flag by WMI 0x0d for wireless cmd

    Some HP BIOS has dummy WMI 0x05 cmd and it causes wireless set cmd to fail.
    This patch fixes the problem by detecting "2009 BIOS or later" flag which
    determines whether WMI 0x1b is supported and is used to replace WMI 0x05.

    Signed-off-by: Alex Hung <email address hidden>
    Signed-off-by: Matthew Garrett <email address hidden>

Alex Hung (alexhung)
Changed in linux (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Brad Figg (brad-figg) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-saucy' to 'verification-done-saucy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-saucy
Alex Hung (alexhung)
tags: added: verification-done-saucy
removed: verification-needed-saucy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.