eGalax USB touchscreen issues
Vladimir Kondratyev
wulf at FreeBSD.org
Fri May 28 10:39:01 UTC 2021
> Looking at the Linux sources again, it looks like this device should be
> supported by generic HID.
>
> Wulf, do we support these usages in our kernel HID drivers?
>
> HID APPLICATION COLLECTION (Touch Screen) size(78)
> HID REPORT: ID 2
> INPUT:
> POS:0 SIZE:1 COUNT:2 [VARIABLE]
> USAGE Tip Switch
> USAGE In Range
> POS:2 SIZE:1 COUNT:6 [CONST]
> POS:8 SIZE:16 COUNT:1 [VARIABLE]
> USAGE X
> POS:24 SIZE:16 COUNT:1 [VARIABLE]
> USAGE Y
Yes, hpen(4) supports them.
It is required to apply some quirks though as TouchScreen usage page is handled with hmt(4) driver by default.
Try attached patch and don't forget to enable usbhid(4) to use it with addition of following lines to /boot/loader.conf:
hw.usb.usbhid.enable=1
usbhid_load="YES"
P.S. I am not subscribed to usb@, so keep me in CC.
--
WBR
Vladimir Kondratyev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hpen.patch
Type: text/x-patch
Size: 1782 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20210528/1db108a1/attachment.bin>
More information about the freebsd-usb
mailing list