hp-wmi hp 8570W hardware wifi key

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

 



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.
[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.
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;

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

  Powered by Linux