From: Benjamin Tissoires <benjamin.tissoires@redhat.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org, Jim lovell <jimlovell777@gmail.com>
Subject: Re: Quanta touchscreen 0408:3003 does not work with hid-multitouch
Date: Mon, 4 Jan 2016 10:10:34 +0100 [thread overview]
Message-ID: <20160104091034.GA20222@mail.corp.redhat.com> (raw)
In-Reply-To: <20151219174154.GC27255@dtor-ws>
On Dec 19 2015 or thereabouts, Dmitry Torokhov wrote:
> On Tue, Nov 10, 2015 at 10:21:15PM -0600, Jim lovell wrote:
> > [1.] 0408:3003 Quanta Computer, Inc. Touchscreen Controller Detected
> > But Doesn't Work
> >
> > [2.] Booting my computer using the newest mainline kernel, the
> > built-in USB 0408:3003 Quanta Computer, Inc. touchscreen controller is
> > detected but doesn't work. The touchscreen controller is detected but
> > no touches are acknowleged. Using "xinput [id] test" no output is
> > generated while single or multi touching the screen.
>
> ...
>
> >
> > [X.] Launchpad Bug Report
> > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1514310
> > Workaround that 70% of the time allows single touches to work
> > until the system is rebooted.
> > xinput set-mode [id] RELATIVE
> > xinput set-mode [id] ABSOLUTE
> > sudo rmmod hid-multitouch
> > sudo modprobe hid-multitouch
> >
> > xinput --list
> > ↳ Quanta Computer OpticalTouchScreen id=12 [slave pointer (2)]
> > lsusb
> > Bus 001 Device 005: ID 0408:3003 Quanta Computer, Inc.
> > lsmod
> > hid 118784 7 hid_multitouch,usbhid,hid_logitech_dj,hid_logitech_hidpp
> > dmesg (most recent output after many attempts following elmarikon's "fix")
> > input: Quanta Computer OpticalTouchScreen as
> > /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/0003:0408:3003.0007/input/input16
> > hid-multitouch 0003:0408:3003.0007: input,hiddev0,hidraw4: USB
> > HID v1.10 Mouse [Quanta Computer OpticalTouchScreen] on
> > usb-0000:00:1a.0-1.6/input0
> > hid-multitouch 0003:0408:3003.0007: usb_submit_urb(ctrl) failed: -1
> > hid-multitouch 0003:0408:3003.0007: usb_submit_urb(ctrl) failed: -1
>
> Benjamin, any ideas?
>
dmesg shows a lot of:
[ 12.304314] hid-multitouch 0003:0408:3003.0007: usb_submit_urb(ctrl) failed: -1
[ 12.304384] hid-multitouch 0003:0408:3003.0007: timeout initializing reports
And the other Quanta devices has a quirk NO_GET to work around this.
Jim, does the following patch helps:
m 729b779256296e68b2079b813ccb61354f8c77d7 Mon Sep 17 00:00:00 2001
From: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Date: Mon, 4 Jan 2016 10:08:54 +0100
Subject: [PATCH] HID: add HID_QUIRK_NOGET to Quanta 3003 too
dmesg shows a lot of:
[ 1374.890348] hid-multitouch 0003:0408:3003.0007: usb_submit_urb(ctrl) failed: -1
[ 1384.916388] hid-multitouch 0003:0408:3003.0007: usb_submit_urb(ctrl) failed: -1
[ 1384.916432] hid-multitouch 0003:0408:3003.0007: timeout initializing reports
Add the quirk and make the touchscreen happy.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
---
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 ac1feea..4561a9e 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -801,6 +801,7 @@
#define USB_VENDOR_ID_QUANTA 0x0408
#define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH 0x3000
#define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001 0x3001
+#define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3003 0x3003
#define USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008 0x3008
#define USB_VENDOR_ID_RAZER 0x1532
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
index 94bb137..8910f79 100644
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -109,6 +109,7 @@ static const struct hid_blacklist {
{ USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_MOUSE_4D22, HID_QUIRK_ALWAYS_POLL },
{ USB_VENDOR_ID_PRODIGE, USB_DEVICE_ID_PRODIGE_CORDLESS, HID_QUIRK_NOGET },
{ USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001, HID_QUIRK_NOGET },
+ { USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3003, HID_QUIRK_NOGET },
{ USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008, HID_QUIRK_NOGET },
{ USB_VENDOR_ID_REALTEK, USB_DEVICE_ID_REALTEK_READER, HID_QUIRK_NO_INIT_REPORTS },
{ USB_VENDOR_ID_SENNHEISER, USB_DEVICE_ID_SENNHEISER_BTD500USB, HID_QUIRK_NOGET },
--
2.5.0
Cheers,
Benjamin
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-01-04 9:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-11 4:21 Kernel Bug Upstream 0408:3003 Quanta Computer, Inc. Touchscreen Controller Detected But Doesn't Work Jim lovell
2015-12-19 17:41 ` Quanta touchscreen 0408:3003 does not work with hid-multitouch Dmitry Torokhov
2016-01-04 9:10 ` Benjamin Tissoires [this message]
[not found] ` <CACcJrhQ6NsE1Rm4NtNHWf2-HWL+P5MoOhruDS1njkbWb7-ubUQ@mail.gmail.com>
2016-01-13 14:47 ` Benjamin Tissoires
2016-01-21 13:11 ` Jiri Kosina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160104091034.GA20222@mail.corp.redhat.com \
--to=benjamin.tissoires@redhat.com \
--cc=dmitry.torokhov@gmail.com \
--cc=jimlovell777@gmail.com \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.