mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.35.3] usbhid: USB 5543:6001 needs HID_QUIRK_MULTI_INPUT
@ 2010-08-24 15:39 Decio Fonini
  2010-08-24 15:46 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Decio Fonini @ 2010-08-24 15:39 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-input, linux-kernel, linux-usb

From: Decio Fonini <fonini@techk.org>

The Kanvus Note A5 tablet (with USB ID 5543:6001, USB vendor UC_Logic) needs 
the HID_QUIRK_MULTI_INPUT in order to work out of the box; otherwise, we get 
the usual "cursor stuck at the upper left corner of the screen".

Signed-off-by: Decio Fonini <fonini@techk.org>

---

diff -uprN -X a/Documentation/dontdiff a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
--- a/drivers/hid/hid-ids.h	2010-08-20 15:55:55.000000000 -0300
+++ b/drivers/hid/hid-ids.h	2010-08-24 10:17:12.244384470 -0300
@@ -490,6 +490,7 @@
  #define USB_VENDOR_ID_UCLOGIC		0x5543
  #define USB_DEVICE_ID_UCLOGIC_TABLET_PF1209	0x0042
  #define USB_DEVICE_ID_UCLOGIC_TABLET_WP4030U	0x0003
+#define USB_DEVICE_ID_UCLOGIC_TABLET_KNA5	0x6001

  #define USB_VENDOR_ID_VERNIER		0x08f7
  #define USB_DEVICE_ID_VERNIER_LABPRO	0x0001
diff -uprN -X a/Documentation/dontdiff a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
--- a/drivers/hid/usbhid/hid-quirks.c	2010-08-20 15:55:55.000000000 -0300
+++ b/drivers/hid/usbhid/hid-quirks.c	2010-08-24 11:07:51.388410656 -0300
@@ -69,6 +69,7 @@ static const struct hid_blacklist {
  	{ USB_VENDOR_ID_TURBOX, USB_DEVICE_ID_TURBOX_KEYBOARD, HID_QUIRK_NOGET },
  	{ USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_PF1209, HID_QUIRK_MULTI_INPUT },
  	{ USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_WP4030U, HID_QUIRK_MULTI_INPUT },
+	{ USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_KNA5, HID_QUIRK_MULTI_INPUT },
  	{ USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_DUAL_USB_JOYPAD, HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT | HID_QUIRK_SKIP_OUTPUT_REPORTS },
  	{ USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_QUAD_USB_JOYPAD, HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },


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

* Re: [PATCH 2.6.35.3] usbhid: USB 5543:6001 needs HID_QUIRK_MULTI_INPUT
  2010-08-24 15:39 [PATCH 2.6.35.3] usbhid: USB 5543:6001 needs HID_QUIRK_MULTI_INPUT Decio Fonini
@ 2010-08-24 15:46 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2010-08-24 15:46 UTC (permalink / raw)
  To: Decio Fonini; +Cc: linux-input, linux-kernel, linux-usb

On Tue, 24 Aug 2010, Decio Fonini wrote:

> From: Decio Fonini <fonini@techk.org>
> 
> The Kanvus Note A5 tablet (with USB ID 5543:6001, USB vendor UC_Logic) needs
> the HID_QUIRK_MULTI_INPUT in order to work out of the box; otherwise, we get
> the usual "cursor stuck at the upper left corner of the screen".
> 
> Signed-off-by: Decio Fonini <fonini@techk.org>
> 
> ---
> 
> diff -uprN -X a/Documentation/dontdiff a/drivers/hid/hid-ids.h
> b/drivers/hid/hid-ids.h
> --- a/drivers/hid/hid-ids.h	2010-08-20 15:55:55.000000000 -0300
> +++ b/drivers/hid/hid-ids.h	2010-08-24 10:17:12.244384470 -0300
> @@ -490,6 +490,7 @@
>  #define USB_VENDOR_ID_UCLOGIC		0x5543
>  #define USB_DEVICE_ID_UCLOGIC_TABLET_PF1209	0x0042
>  #define USB_DEVICE_ID_UCLOGIC_TABLET_WP4030U	0x0003
> +#define USB_DEVICE_ID_UCLOGIC_TABLET_KNA5	0x6001
> 
>  #define USB_VENDOR_ID_VERNIER		0x08f7
>  #define USB_DEVICE_ID_VERNIER_LABPRO	0x0001
> diff -uprN -X a/Documentation/dontdiff a/drivers/hid/usbhid/hid-quirks.c
> b/drivers/hid/usbhid/hid-quirks.c
> --- a/drivers/hid/usbhid/hid-quirks.c	2010-08-20 15:55:55.000000000 -0300
> +++ b/drivers/hid/usbhid/hid-quirks.c	2010-08-24 11:07:51.388410656 -0300
> @@ -69,6 +69,7 @@ static const struct hid_blacklist {
>  	{ USB_VENDOR_ID_TURBOX, USB_DEVICE_ID_TURBOX_KEYBOARD, HID_QUIRK_NOGET
> },
>  	{ USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_PF1209,
> HID_QUIRK_MULTI_INPUT },
>  	{ USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_WP4030U,
> HID_QUIRK_MULTI_INPUT },
> +	{ USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_KNA5,
> HID_QUIRK_MULTI_INPUT },
>  	{ USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_DUAL_USB_JOYPAD,
> HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT | HID_QUIRK_SKIP_OUTPUT_REPORTS },
>  	{ USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_QUAD_USB_JOYPAD,
> HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

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

end of thread, other threads:[~2010-08-24 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-24 15:39 [PATCH 2.6.35.3] usbhid: USB 5543:6001 needs HID_QUIRK_MULTI_INPUT Decio Fonini
2010-08-24 15:46 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®