Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1709343
| From | JamChen <jam.chen.egalax@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] HID: core: assign usbhid to handle EETI PID=0x0001 HID device |
| Date | 2017-08-11 09:50 +0200 |
| Message-ID | <udcRI-GO-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Jam Chen <jam.chen.egalax@gmail.com> The vendor used the same PID(0x0001) for multiple touch IC controllers. The newer ICs can support HID class and report the multitouch collection in the descriptor. So they were handled by the hid-multitouch driver. But some customized firmwares don't support multitouch protocol even if driver have got the Win8 blob data. Actually, those ICs only support the single touch function, and report the mouse protocol by default. We can assign usbhid to handle them all. Signed-off-by: Jam Chen <jam.chen.egalax@gmail.com> --- drivers/hid/hid-core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 9017dcc14502..df4696022488 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -828,6 +828,10 @@ static int hid_scan_report(struct hid_device *hid) */ hid->group = HID_GROUP_RMI; break; + case USB_VENDOR_ID_DWAV: + if (hid->product == USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER) + hid->group = HID_GROUP_GENERIC; + break; } /* fall back to generic driver in case specific driver doesn't exist */ -- 2.11.0
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] HID: core: assign usbhid to handle EETI PID=0x0001 HID device JamChen <jam.chen.egalax@gmail.com> - 2017-08-11 09:50 +0200
csiph-web