linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] HID: usbhid: Add HID_QUIRK_NOGET for Aten DVI KVM switch
@ 2015-05-12 17:00 Laura Abbott
  2015-05-13 11:25 ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Laura Abbott @ 2015-05-12 17:00 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Laura Abbott, linux-input-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	stephane.tranchemer-85dYgdK1JRdGWvitb5QawA

Like other KVM switches, the Aten DVI KVM switch needs a
quirk to avoid spewing errors:

[791759.606542] usb 1-5.4: input irq status -75 received
[791759.614537] usb 1-5.4: input irq status -75 received
[791759.622542] usb 1-5.4: input irq status -75 received

Add it.

Signed-off-by: Laura Abbott <labbott-rxtnV0ftBwyoClj4AeEUq9i2O/JbrIOy@public.gmane.org>
---
 drivers/hid/hid-ids.h           | 1 +
 drivers/hid/usbhid/hid-quirks.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 41f167e..7ce93d9 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -164,6 +164,7 @@
 #define USB_DEVICE_ID_ATEN_2PORTKVM	0x2204
 #define USB_DEVICE_ID_ATEN_4PORTKVM	0x2205
 #define USB_DEVICE_ID_ATEN_4PORTKVMC	0x2208
+#define USB_DEVICE_ID_ATEN_CS682	0x2213
 
 #define USB_VENDOR_ID_ATMEL		0x03eb
 #define USB_DEVICE_ID_ATMEL_MULTITOUCH	0x211c
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
index a775143..4696895e 100644
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -61,6 +61,7 @@ static const struct hid_blacklist {
 	{ USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_2PORTKVM, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_4PORTKVM, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_4PORTKVMC, HID_QUIRK_NOGET },
+	{ USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_CS682, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_FIGHTERSTICK, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_COMBATSTICK, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_FLIGHT_SIM_ECLIPSE_YOKE, HID_QUIRK_NOGET },
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] HID: usbhid: Add HID_QUIRK_NOGET for Aten DVI KVM switch
  2015-05-12 17:00 [PATCH] HID: usbhid: Add HID_QUIRK_NOGET for Aten DVI KVM switch Laura Abbott
@ 2015-05-13 11:25 ` Jiri Kosina
  2015-05-13 12:02   ` Oliver Neukum
  0 siblings, 1 reply; 3+ messages in thread
From: Jiri Kosina @ 2015-05-13 11:25 UTC (permalink / raw)
  To: Laura Abbott; +Cc: linux-input, linux-kernel, linux-usb, stephane.tranchemer

On Tue, 12 May 2015, Laura Abbott wrote:

> Like other KVM switches, the Aten DVI KVM switch needs a
> quirk to avoid spewing errors:
> 
> [791759.606542] usb 1-5.4: input irq status -75 received
> [791759.614537] usb 1-5.4: input irq status -75 received
> [791759.622542] usb 1-5.4: input irq status -75 received
> 
> Add it.
> 
> Signed-off-by: Laura Abbott <labbott@fedoraproject.org>

Applied for for-4.1/upstream-fixes, thanks.

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] HID: usbhid: Add HID_QUIRK_NOGET for Aten DVI KVM switch
  2015-05-13 11:25 ` Jiri Kosina
@ 2015-05-13 12:02   ` Oliver Neukum
  0 siblings, 0 replies; 3+ messages in thread
From: Oliver Neukum @ 2015-05-13 12:02 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Laura Abbott, linux-input, linux-kernel, linux-usb,
	stephane.tranchemer

On Wed, 2015-05-13 at 13:25 +0200, Jiri Kosina wrote:
> On Tue, 12 May 2015, Laura Abbott wrote:
> 
> > Like other KVM switches, the Aten DVI KVM switch needs a
> > quirk to avoid spewing errors:
> > 
> > [791759.606542] usb 1-5.4: input irq status -75 received
> > [791759.614537] usb 1-5.4: input irq status -75 received
> > [791759.622542] usb 1-5.4: input irq status -75 received
> > 
> > Add it.
> > 
> > Signed-off-by: Laura Abbott <labbott@fedoraproject.org>
> 
> Applied for for-4.1/upstream-fixes, thanks.

Hi,

this should go into stable, too.

	Regards
		Oliver

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-13 12:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-12 17:00 [PATCH] HID: usbhid: Add HID_QUIRK_NOGET for Aten DVI KVM switch Laura Abbott
2015-05-13 11:25 ` Jiri Kosina
2015-05-13 12:02   ` Oliver Neukum

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).