* [PATCH] hid: usbhid: add quirk for SB arena headset
@ 2012-09-04 22:15 Chris J Arges
2012-10-02 20:14 ` Chris J Arges
0 siblings, 1 reply; 2+ messages in thread
From: Chris J Arges @ 2012-09-04 22:15 UTC (permalink / raw)
To: linux-input
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
Hello,
Here is a patch that fixes a bug when using the SB Arena USB headset.
The bug link is here:
BugLink: http://bugs.launchpad.net/bugs/1007575. This patch has been
tested and fixes the issue.
Thanks,
[-- Attachment #2: 0001-hid-usbhid-add-quirk-for-SB-arena-headset.patch --]
[-- Type: text/x-patch, Size: 1945 bytes --]
>From 534f357a72849f19ab38a75de9f7faa9efc5bd05 Mon Sep 17 00:00:00 2001
From: Chris J Arges <chris.j.arges@canonical.com>
Date: Mon, 27 Aug 2012 19:19:26 -0500
Subject: [PATCH] hid: usbhid: add quirk for SB arena headset
When an SB Arena USB headset is plugged in, it registers the volume
keys on the headset as a keyboard and continually sends events causing
issues with normal keyboard input. This quirk disables the volume keys.
BugLink: http://bugs.launchpad.net/bugs/1007575
Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
---
drivers/hid/hid-ids.h | 2 +-
drivers/hid/usbhid/hid-quirks.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 9d9bb9a..c502420 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -224,9 +224,9 @@
#define USB_VENDOR_ID_CREATIVELABS 0x041e
#define USB_DEVICE_ID_PRODIKEYS_PCMIDI 0x2801
-
#define USB_VENDOR_ID_CVTOUCH 0x1ff7
#define USB_DEVICE_ID_CVTOUCH_SCREEN 0x0013
+#define USB_DEVICE_ID_SB_ARENA_HEADSET 0x0403
#define USB_VENDOR_ID_CYGNAL 0x10c4
#define USB_DEVICE_ID_CYGNAL_RADIO_SI470X 0x818a
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
index 903eef3..4b89f73 100644
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -68,6 +68,7 @@ static const struct hid_blacklist {
{ USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_PRO_PEDALS, HID_QUIRK_NOGET },
{ USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_3AXIS_5BUTTON_STICK, HID_QUIRK_NOGET },
{ USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_AXIS_295, HID_QUIRK_NOGET },
+ { USB_VENDOR_ID_CREATIVELABS, USB_DEVICE_ID_SB_ARENA_HEADSET, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_DMI, USB_DEVICE_ID_DMI_ENC, HID_QUIRK_NOGET },
{ USB_VENDOR_ID_ELO, USB_DEVICE_ID_ELO_TS2700, HID_QUIRK_NOGET },
{ USB_VENDOR_ID_PIXART, USB_DEVICE_ID_PIXART_OPTICAL_TOUCH_SCREEN, HID_QUIRK_NO_INIT_REPORTS },
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] hid: usbhid: add quirk for SB arena headset
2012-09-04 22:15 [PATCH] hid: usbhid: add quirk for SB arena headset Chris J Arges
@ 2012-10-02 20:14 ` Chris J Arges
0 siblings, 0 replies; 2+ messages in thread
From: Chris J Arges @ 2012-10-02 20:14 UTC (permalink / raw)
To: linux-input
On 09/04/2012 05:15 PM, Chris J Arges wrote:
> Hello,
> Here is a patch that fixes a bug when using the SB Arena USB headset.
> The bug link is here:
> BugLink: http://bugs.launchpad.net/bugs/1007575. This patch has been
> tested and fixes the issue.
> Thanks,
>
Hi, I was wondering if there were any issues with this patch.
Let me know and I can make those revisions.
Thanks,
--chris j arges
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-02 20:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-04 22:15 [PATCH] hid: usbhid: add quirk for SB arena headset Chris J Arges
2012-10-02 20:14 ` Chris J Arges
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).