* [PATCH] hid: Remove QUANTA from special drivers list
@ 2012-08-22 10:17 Simon Farnsworth
2012-08-22 14:48 ` Jiri Kosina
0 siblings, 1 reply; 5+ messages in thread
From: Simon Farnsworth @ 2012-08-22 10:17 UTC (permalink / raw)
To: linux-input
Cc: Benjamin Tissoires, Benjamin Tissoires, Jiri Kosina,
Henrik Rydberg, Simon Farnsworth
This QUANTA device is driven by the generic hid-multitouch.ko driver, and
therefore shouldn't be in the special drivers list.
I've gone over the entire special drivers list in hid-core.c; this is the
only device I spotted that's listed as needing a special driver, but doesn't
have an entry in a struct hid_driver's id_table.
Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
---
Applying just this patch is enough to fix the problem I described in my mail
"QUANTA touchscreen controller integrated in HP2310ti no longer recognised
(regression in 3.5 and later as compared to 3.3)".
This looks like an oversight in commit 4fa3a58; that commit removes most
multitouch screens from this list, but missed this one. Henrik should be
able to confirm, though, so I'd appreciate his sign-off.
drivers/hid/hid-core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 60ea284..8bf8a64 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1624,7 +1624,6 @@ static const struct hid_device_id hid_have_special_driver[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_WKB2000) },
{ HID_USB_DEVICE(USB_VENDOR_ID_PETALYNX, USB_DEVICE_ID_PETALYNX_MAXTER_REMOTE) },
{ HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_KEYBOARD) },
- { HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_PIXART_IMAGING_INC_OPTICAL_TOUCH_SCREEN) },
{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_KONE) },
{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_ARVO) },
{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_ISKU) },
--
1.7.11.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] hid: Remove QUANTA from special drivers list
2012-08-22 10:17 [PATCH] hid: Remove QUANTA from special drivers list Simon Farnsworth
@ 2012-08-22 14:48 ` Jiri Kosina
2012-08-22 17:00 ` Henrik Rydberg
0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2012-08-22 14:48 UTC (permalink / raw)
To: Simon Farnsworth
Cc: linux-input, Benjamin Tissoires, Benjamin Tissoires,
Henrik Rydberg
On Wed, 22 Aug 2012, Simon Farnsworth wrote:
> This QUANTA device is driven by the generic hid-multitouch.ko driver, and
> therefore shouldn't be in the special drivers list.
>
> I've gone over the entire special drivers list in hid-core.c; this is the
> only device I spotted that's listed as needing a special driver, but doesn't
> have an entry in a struct hid_driver's id_table.
>
> Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
> ---
>
> Applying just this patch is enough to fix the problem I described in my mail
> "QUANTA touchscreen controller integrated in HP2310ti no longer recognised
> (regression in 3.5 and later as compared to 3.3)".
>
> This looks like an oversight in commit 4fa3a58; that commit removes most
> multitouch screens from this list, but missed this one. Henrik should be
> able to confirm, though, so I'd appreciate his sign-off.
>
> drivers/hid/hid-core.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
> index 60ea284..8bf8a64 100644
> --- a/drivers/hid/hid-core.c
> +++ b/drivers/hid/hid-core.c
> @@ -1624,7 +1624,6 @@ static const struct hid_device_id hid_have_special_driver[] = {
> { HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_WKB2000) },
> { HID_USB_DEVICE(USB_VENDOR_ID_PETALYNX, USB_DEVICE_ID_PETALYNX_MAXTER_REMOTE) },
> { HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_KEYBOARD) },
> - { HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_PIXART_IMAGING_INC_OPTICAL_TOUCH_SCREEN) },
> { HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_KONE) },
> { HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_ARVO) },
> { HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_ISKU) },
Good catch, thank you. I will be pushing this to Linus for 3.6 still.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hid: Remove QUANTA from special drivers list
2012-08-22 14:48 ` Jiri Kosina
@ 2012-08-22 17:00 ` Henrik Rydberg
2012-08-23 10:10 ` Simon Farnsworth
0 siblings, 1 reply; 5+ messages in thread
From: Henrik Rydberg @ 2012-08-22 17:00 UTC (permalink / raw)
To: Jiri Kosina
Cc: Simon Farnsworth, linux-input, Benjamin Tissoires,
Benjamin Tissoires, Henrik Rydberg
> > Applying just this patch is enough to fix the problem I described in my mail
> > "QUANTA touchscreen controller integrated in HP2310ti no longer recognised
> > (regression in 3.5 and later as compared to 3.3)".
> >
> > This looks like an oversight in commit 4fa3a58; that commit removes most
> > multitouch screens from this list, but missed this one. Henrik should be
> > able to confirm, though, so I'd appreciate his sign-off.
Yes, good find. We have two identifiers for the same device,
USB_DEVICE_ID_PIXART_IMAGING_INC_OPTICAL_TOUCH_SCREEN and
USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001, which might explain why it
was overlooked. I think we should get rid of one of them. Also, I
wonder if the HID_QUIRK_NOGET quirk is still necessary.
Thanks,
Henrik
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hid: Remove QUANTA from special drivers list
2012-08-22 17:00 ` Henrik Rydberg
@ 2012-08-23 10:10 ` Simon Farnsworth
2012-08-23 16:48 ` Henrik Rydberg
0 siblings, 1 reply; 5+ messages in thread
From: Simon Farnsworth @ 2012-08-23 10:10 UTC (permalink / raw)
To: Henrik Rydberg
Cc: Jiri Kosina, linux-input, Benjamin Tissoires, Benjamin Tissoires
[-- Attachment #1: Type: text/plain, Size: 1877 bytes --]
On Wednesday 22 August 2012 19:00:52 Henrik Rydberg wrote:
> > > Applying just this patch is enough to fix the problem I described in my mail
> > > "QUANTA touchscreen controller integrated in HP2310ti no longer recognised
> > > (regression in 3.5 and later as compared to 3.3)".
> > >
> > > This looks like an oversight in commit 4fa3a58; that commit removes most
> > > multitouch screens from this list, but missed this one. Henrik should be
> > > able to confirm, though, so I'd appreciate his sign-off.
>
> Yes, good find. We have two identifiers for the same device,
> USB_DEVICE_ID_PIXART_IMAGING_INC_OPTICAL_TOUCH_SCREEN and
> USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001, which might explain why it
> was overlooked. I think we should get rid of one of them. Also, I
> wonder if the HID_QUIRK_NOGET quirk is still necessary.
>
I'll send a follow-on patch to remove the PIXART_IMAGING identifier. I tried
removing the HID_QURIK_NOGET quirk, but it appears to be needed: without it,
I get:
[ 1.472269] usb 6-1: New USB device found, idVendor=0408, idProduct=3001
[ 1.472275] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.472279] usb 6-1: Product: Optical Touch Screen
[ 1.472284] usb 6-1: Manufacturer: QUANTA
<snip>
[ 15.884252] hid-multitouch 0003:0408:3001.0001: usb_submit_urb(ctrl) failed: -1
[ 15.884337] hid-multitouch 0003:0408:3001.0001: timeout initializing reports
[ 15.884584] input: QUANTA Optical Touch Screen as /devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1:1.0/input/input10
[ 15.884783] hid-multitouch 0003:0408:3001.0001: input,hidraw0: USB HID v1.10 Device [QUANTA Optical Touch Screen] on usb-0000:00:1d.1-1/input0
If I leave the quirk in place, I don't get the 14 second delay, suggesting
that the quirk is needed on this hardware.
--
Simon Farnsworth
Software Engineer
ONELAN Ltd
http://www.onelan.com
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hid: Remove QUANTA from special drivers list
2012-08-23 10:10 ` Simon Farnsworth
@ 2012-08-23 16:48 ` Henrik Rydberg
0 siblings, 0 replies; 5+ messages in thread
From: Henrik Rydberg @ 2012-08-23 16:48 UTC (permalink / raw)
To: Simon Farnsworth
Cc: Henrik Rydberg, Jiri Kosina, linux-input, Benjamin Tissoires,
Benjamin Tissoires
> I'll send a follow-on patch to remove the PIXART_IMAGING identifier. I tried
> removing the HID_QURIK_NOGET quirk, but it appears to be needed: without it,
> I get:
>
> [ 1.472269] usb 6-1: New USB device found, idVendor=0408, idProduct=3001
> [ 1.472275] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [ 1.472279] usb 6-1: Product: Optical Touch Screen
> [ 1.472284] usb 6-1: Manufacturer: QUANTA
> <snip>
> [ 15.884252] hid-multitouch 0003:0408:3001.0001: usb_submit_urb(ctrl) failed: -1
> [ 15.884337] hid-multitouch 0003:0408:3001.0001: timeout initializing reports
> [ 15.884584] input: QUANTA Optical Touch Screen as /devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1:1.0/input/input10
> [ 15.884783] hid-multitouch 0003:0408:3001.0001: input,hidraw0: USB HID v1.10 Device [QUANTA Optical Touch Screen] on usb-0000:00:1d.1-1/input0
>
> If I leave the quirk in place, I don't get the 14 second delay, suggesting
> that the quirk is needed on this hardware.
It makes sense, the same applies to 0x3008. Thanks for checking.
Henrik
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-08-23 16:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-22 10:17 [PATCH] hid: Remove QUANTA from special drivers list Simon Farnsworth
2012-08-22 14:48 ` Jiri Kosina
2012-08-22 17:00 ` Henrik Rydberg
2012-08-23 10:10 ` Simon Farnsworth
2012-08-23 16:48 ` Henrik Rydberg
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).