* [PATCH 1/1] USB HID/HIDBP DRIVERS: Add iMON LCDs to HID blacklist
@ 2008-05-10 21:52 Dylan R. Semler
2008-05-13 9:27 ` Jiri Kosina
0 siblings, 1 reply; 4+ messages in thread
From: Dylan R. Semler @ 2008-05-10 21:52 UTC (permalink / raw)
To: jkosina; +Cc: torvalds, linux-usb, linux-kernel
From: Dylan R Semler <dylan.semler@gmail.com>
The new iMON LCDs from SoundGraph need to be blacklisted from HID in
order to be used by lirc.
This patch adds vendor and device IDs for iMON LCDs and adds them to the
blacklist.
Signed-off-by: Dylan R Semler dylan.semler@gmail.com
---
--- vanilla-2.6.25/drivers/hid/usbhid/hid-quirks.c.orig 2008-05-10
14:22:19.000000000 -0500
+++ vanilla-2.6.25/drivers/hid/usbhid/hid-quirks.c 2008-05-10
14:20:37.000000000 -0500
@@ -374,6 +374,9 @@
#define USB_VENDOR_ID_SONY 0x054c
#define USB_DEVICE_ID_SONY_PS3_CONTROLLER 0x0268
+#define USB_VENDOR_ID_SOUNDGRAPH 0x15c2
+#define USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD 0x0038
+
#define USB_VENDOR_ID_SUN 0x0430
#define USB_DEVICE_ID_RARITAN_KVM_DONGLE 0xcdab
@@ -570,6 +573,7 @@ static const struct hid_blacklist {
{ USB_VENDOR_ID_PANJIT, 0x0002, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_PANJIT, 0x0003, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_PANJIT, 0x0004, HID_QUIRK_IGNORE },
+ { USB_VENDOR_ID_SOUNDGRAPH, USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD,
HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_LABPRO, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_GOTEMP, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_SKIP, HID_QUIRK_IGNORE },
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH 1/1] USB HID/HIDBP DRIVERS: Add iMON LCDs to HID blacklist
@ 2008-05-14 0:38 Dylan R. Semler
2008-05-14 9:11 ` Jiri Kosina
0 siblings, 1 reply; 4+ messages in thread
From: Dylan R. Semler @ 2008-05-14 0:38 UTC (permalink / raw)
To: Jiri Kosina, Linus Torvalds, linux-usb, linux-kernel
On Tue, May 13, 2008 at 5:27 AM, Jiri Kosina <jkosina@suse.cz> wrote:
> On Sat, 10 May 2008, Dylan R. Semler wrote:
>
> > From: Dylan R Semler <dylan.semler@gmail.com>
>
> > The new iMON LCDs from SoundGraph need to be blacklisted from HID in
> > order to be used by lirc. This patch adds vendor and device IDs for iMON
> > LCDs and adds them to the blacklist.
>
> Hi Dylan,
>
> the patch is whitespace damaged and line wrapped, could you please resend
> properly?
>
> Thanks,
Sorry guys. I tried to keep gmail from word-wrapping my patch by going through
Thunderbird, but looks like the SMTP server still took care of that (or
something). Trying with a different server now...
From: Dylan R Semler <dylan.semler@gmail.com>
The new iMON LCDs from SoundGraph need to be blacklisted from HID in order to be
used by lirc. This patch adds vendor and device IDs for iMON LCDs and adds them
to the blacklist.
Signed-off-by: Dylan R Semler dylan.semler@gmail.com
---
--- vanilla-2.6.25/drivers/hid/usbhid/hid-quirks.c.orig 2008-05-10 14:22:19.000000000 -0500
+++ vanilla-2.6.25/drivers/hid/usbhid/hid-quirks.c 2008-05-10 14:20:37.000000000 -0500
@@ -374,6 +374,9 @@
#define USB_VENDOR_ID_SONY 0x054c
#define USB_DEVICE_ID_SONY_PS3_CONTROLLER 0x0268
+#define USB_VENDOR_ID_SOUNDGRAPH 0x15c2
+#define USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD 0x0038
+
#define USB_VENDOR_ID_SUN 0x0430
#define USB_DEVICE_ID_RARITAN_KVM_DONGLE 0xcdab
@@ -570,6 +573,7 @@ static const struct hid_blacklist {
{ USB_VENDOR_ID_PANJIT, 0x0002, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_PANJIT, 0x0003, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_PANJIT, 0x0004, HID_QUIRK_IGNORE },
+ { USB_VENDOR_ID_SOUNDGRAPH, USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_LABPRO, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_GOTEMP, HID_QUIRK_IGNORE },
{ USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_SKIP, HID_QUIRK_IGNORE },
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH 1/1] USB HID/HIDBP DRIVERS: Add iMON LCDs to HID blacklist
2008-05-14 0:38 Dylan R. Semler
@ 2008-05-14 9:11 ` Jiri Kosina
0 siblings, 0 replies; 4+ messages in thread
From: Jiri Kosina @ 2008-05-14 9:11 UTC (permalink / raw)
To: Dylan R. Semler; +Cc: Linus Torvalds, linux-usb, linux-kernel
On Tue, 13 May 2008, Dylan R. Semler wrote:
> > the patch is whitespace damaged and line wrapped, could you please
> > resend properly?
> Sorry guys. I tried to keep gmail from word-wrapping my patch by going
> through Thunderbird, but looks like the SMTP server still took care of
> that (or something). Trying with a different server now...
Well, no, it is still broken.
As the patch is fairly trivial I will fix that up on my side and apply it,
but please have it in mind for any future patch submissions.
Thanks,
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-05-14 9:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-10 21:52 [PATCH 1/1] USB HID/HIDBP DRIVERS: Add iMON LCDs to HID blacklist Dylan R. Semler
2008-05-13 9:27 ` Jiri Kosina
-- strict thread matches above, loose matches on Subject: below --
2008-05-14 0:38 Dylan R. Semler
2008-05-14 9:11 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox