All of lore.kernel.org
 help / color / mirror / Atom feed
* hp-wmi hp 8570W hardware wifi key
@ 2013-04-02 13:51 Jelle van der Waa
  0 siblings, 0 replies; only message in thread
From: Jelle van der Waa @ 2013-04-02 13:51 UTC (permalink / raw)
  To: matthew.garrett; +Cc: platform-driver-x86

[-- Attachment #1: Type: text/plain, Size: 484 bytes --]

Hi,

I recently updated my laptop's BIOS and now my hardware wifi key fails,
it doesn't disable the wifi chip anymore.
In dmesg I found an error message, which indicates a event_id changed. (
dmesg.txt )

I tried to fix the issue by patching hp_wmi.c, to match the new event_id
which seems to be 8, but I couldn't get it working. (
hp_wmi_wireless_event_id_changed.patch ).

I'm willing to test patches and I will try to test if the issues occurs
with the recent rc release of linux.

[-- Attachment #2: dmesg.txt --]
[-- Type: text/plain, Size: 407 bytes --]

[89172.325510] hp_wmi: Unknown event_id - 8 - 0x2
[89174.314755] atkbd serio0: Unknown key pressed (translated set 2, code 0xf8 on isa0060/serio0).
[89174.314763] atkbd serio0: Use 'setkeycodes e078 <keycode>' to make it known.
[89174.495251] atkbd serio0: Unknown key released (translated set 2, code 0xf8 on isa0060/serio0).
[89174.495259] atkbd serio0: Use 'setkeycodes e078 <keycode>' to make it known.

[-- Attachment #3: hp_wmi_wireless_event_id_changed.patch --]
[-- Type: text/x-patch, Size: 662 bytes --]

diff -aur linux-3.9-rc6/drivers/platform/x86/hp-wmi.c linux-3.9-rc5/drivers/platform/x86/hp-wmi.c
--- linux-3.9-rc6/drivers/platform/x86/hp-wmi.c	2013-04-02 14:50:59.674132120 +0200
+++ linux-3.9-rc5/drivers/platform/x86/hp-wmi.c	2013-04-02 14:55:51.484149029 +0200
@@ -71,6 +71,7 @@
 	HPWMI_WIRELESS = 5,
 	HPWMI_CPU_BATTERY_THROTTLE = 6,
 	HPWMI_LOCK_SWITCH = 7,
+	HPWMI_WIRELESS_NEW = 8,
 };
 
 struct bios_args {
@@ -509,7 +510,7 @@
 						key_code, 1, true))
 			pr_info("Unknown key code - 0x%x\n", key_code);
 		break;
-	case HPWMI_WIRELESS:
+	case HPWMI_WIRELESS: case HPWMI_WIRELESS_NEW:
 		if (rfkill2_count) {
 			hp_wmi_rfkill2_refresh();
 			break;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-02 13:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-02 13:51 hp-wmi hp 8570W hardware wifi key Jelle van der Waa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.