[kernel/f18] Add quirk for MSI keyboard backlight to avoid 10 sec boot delay (rhbz 907221)

Josh Boyer jwboyer at fedoraproject.org
Tue Mar 26 11:49:11 UTC 2013


commit c6c6a44cac384822af2b6a9e2188f4dcb8a07d8f
Author: Josh Boyer <jwboyer at redhat.com>
Date:   Tue Mar 26 07:47:37 2013 -0400

    Add quirk for MSI keyboard backlight to avoid 10 sec boot delay (rhbz 907221)

 HID-usbhid-quirk-for-MSI-GX680R-led-panel.patch |   45 +++++++++++++++++++++++
 kernel.spec                                     |   11 +++++-
 2 files changed, 55 insertions(+), 1 deletions(-)
---
diff --git a/HID-usbhid-quirk-for-MSI-GX680R-led-panel.patch b/HID-usbhid-quirk-for-MSI-GX680R-led-panel.patch
new file mode 100644
index 0000000..66e529d
--- /dev/null
+++ b/HID-usbhid-quirk-for-MSI-GX680R-led-panel.patch
@@ -0,0 +1,45 @@
+From 565bd59e8f55b82eb49b58b0972ac41f4448ef06 Mon Sep 17 00:00:00 2001
+From: Josh Boyer <jwboyer at redhat.com>
+Date: Fri, 15 Mar 2013 10:31:31 -0400
+Subject: [PATCH] HID: usbhid: quirk for MSI GX680R led panel
+
+This keyboard backlight device causes a 10 second delay to boot.  Add it
+to the quirk list with HID_QUIRK_NO_INIT_REPORTS.
+
+This fixes Red Hat bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=907221
+
+Signed-off-by: Josh Boyer <jwboyer at redhat.com>
+---
+ drivers/hid/hid-ids.h           | 3 +++
+ drivers/hid/usbhid/hid-quirks.c | 1 +
+ 2 files changed, 4 insertions(+)
+
+diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
+index d1063e9..c438877 100644
+--- a/drivers/hid/hid-ids.h
++++ b/drivers/hid/hid-ids.h
+@@ -590,6 +590,9 @@
+ #define USB_VENDOR_ID_MONTEREY		0x0566
+ #define USB_DEVICE_ID_GENIUS_KB29E	0x3004
+ 
++#define USB_VENDOR_ID_MSI		0x1770
++#define USB_DEVICE_ID_MSI_GX680R_LED_PANEL	0xff00
++
+ #define USB_VENDOR_ID_NATIONAL_SEMICONDUCTOR 0x0400
+ #define USB_DEVICE_ID_N_S_HARMONY	0xc359
+ 
+diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
+index e991d81..476c984 100644
+--- a/drivers/hid/usbhid/hid-quirks.c
++++ b/drivers/hid/usbhid/hid-quirks.c
+@@ -73,6 +73,7 @@ static const struct hid_blacklist {
+ 	{ USB_VENDOR_ID_FORMOSA, USB_DEVICE_ID_FORMOSA_IR_RECEIVER, HID_QUIRK_NO_INIT_REPORTS },
+ 	{ USB_VENDOR_ID_FREESCALE, USB_DEVICE_ID_FREESCALE_MX28, HID_QUIRK_NOGET },
+ 	{ USB_VENDOR_ID_MGE, USB_DEVICE_ID_MGE_UPS, HID_QUIRK_NOGET },
++	{ USB_VENDOR_ID_MSI, USB_DEVICE_ID_MSI_GX680R_LED_PANEL, HID_QUIRK_NO_INIT_REPORTS },
+ 	{ USB_VENDOR_ID_NOVATEK, USB_DEVICE_ID_NOVATEK_MOUSE, HID_QUIRK_NO_INIT_REPORTS },
+ 	{ USB_VENDOR_ID_PIXART, USB_DEVICE_ID_PIXART_OPTICAL_TOUCH_SCREEN, HID_QUIRK_NO_INIT_REPORTS },
+ 	{ USB_VENDOR_ID_PIXART, USB_DEVICE_ID_PIXART_OPTICAL_TOUCH_SCREEN1, HID_QUIRK_NO_INIT_REPORTS },
+-- 
+1.8.1.2
+
diff --git a/kernel.spec b/kernel.spec
index 6361d5b..680530e 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -62,7 +62,7 @@ Summary: The Linux kernel
 # For non-released -rc kernels, this will be appended after the rcX and
 # gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
 #
-%global baserelease 202
+%global baserelease 203
 %global fedora_build %{baserelease}
 
 # base_sublevel is the kernel version we're starting with and patching
@@ -774,6 +774,9 @@ Patch24112: mac80211_fixes_for_ieee80211_do_stop_while_suspend_v3.8.patch
 #rhbz 859282
 Patch24113: VMX-x86-handle-host-TSC-calibration-failure.patch
 
+#rhbz 907221
+Patch24116: HID-usbhid-quirk-for-MSI-GX680R-led-panel.patch
+
 #rhbz 920586
 Patch25000: amd64_edac_fix_rank_count.patch
 
@@ -1534,6 +1537,9 @@ ApplyPatch 0003-KVM-x86-Convert-MSR_KVM_SYSTEM_TIME-to-use-gfn_to_hv.patch
 #rhbz 920218
 ApplyPatch mac80211-Dont-restart-sta-timer-if-not-running.patch
 
+#rhbz 907221
+ApplyPatch HID-usbhid-quirk-for-MSI-GX680R-led-panel.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -2391,6 +2397,9 @@ fi
 #                 ||----w |
 #                 ||     ||
 %changelog
+* Tue Mar 26 2013 Josh Boyer <jwboyer at redhat.com>
+- Add quirk for MSI keyboard backlight to avoid 10 sec boot delay (rhbz 907221)
+
 * Mon Mar 25 2013 Justin M. Forbes <jforbes at redhat.com>
 - enable CONFIG_DRM_VMWGFX_FBCON (rhbz 927022)
 - disable whci-hcd since it doesnt seem to have users (rhbz 919289)


More information about the scm-commits mailing list