From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Tissoires Subject: Re: Quanta touchscreen 0408:3003 does not work with hid-multitouch Date: Mon, 4 Jan 2016 10:10:34 +0100 Message-ID: <20160104091034.GA20222@mail.corp.redhat.com> References: <20151219174154.GC27255@dtor-ws> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mx1.redhat.com ([209.132.183.28]:53767 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753136AbcADJKi (ORCPT ); Mon, 4 Jan 2016 04:10:38 -0500 Content-Disposition: inline In-Reply-To: <20151219174154.GC27255@dtor-ws> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, Jim lovell 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 Detecte= d > > But Doesn't Work > >=20 > > [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 b= ut > > no touches are acknowleged. Using "xinput [id] test" no output is > > generated while single or multi touching the screen. >=20 > ... >=20 > >=20 > > [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 > >=20 > > xinput --list > > =E2=86=B3 Quanta Computer OpticalTouchScreen id=3D12 [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_logi= tech_hidpp > > dmesg (most recent output after many attempts following elmarik= on'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) fa= iled: -1 > > hid-multitouch 0003:0408:3003.0007: usb_submit_urb(ctrl) fa= iled: -1 >=20 > Benjamin, any ideas? >=20 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 =46rom: Benjamin Tissoires 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 --- 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 =20 #define USB_VENDOR_ID_RAZER 0x1532 diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-q= uirks.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_QU= IRK_ALWAYS_POLL }, { USB_VENDOR_ID_PRODIGE, USB_DEVICE_ID_PRODIGE_CORDLESS, HID_QU= IRK_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_QUIR= K_NO_INIT_REPORTS }, { USB_VENDOR_ID_SENNHEISER, USB_DEVICE_ID_SENNHEISER_BTD500USB,= HID_QUIRK_NOGET }, --=20 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