On 2021-05-28 05:37, Vladimir Kondratyev wrote:
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"

Thanks for the patch. With this hpen(4) attaches, just one libinput error now about btn-stylus:

ugen0.3: <eGalax Inc. USB TouchController> at usbus0
usbhid0 on uhub1
usbhid0: <eGalax Inc. USB TouchController, class 0/0, rev 1.10/1.00, addr 3> on usbus0
hidbus0: <HID bus> on usbhid0
hpen0: <eGalax Inc. USB TouchController Digitizer> on hidbus0
hpen1: <eGalax Inc. USB TouchController Digitizer> on hidbus0
hconf0: <eGalax Inc. USB TouchController Configuration> on hidbus0

[ 85.007] (II) config/udev: Adding input device eGalax Inc. USB TouchController Digitizer (/dev/input/event5) [ 85.007] (**) eGalax Inc. USB TouchController Digitizer: Applying InputClass "evdev tablet catchall" [ 85.007] (**) eGalax Inc. USB TouchController Digitizer: Applying InputClass "libinput tablet catchall" [ 85.007] (II) Using input driver 'libinput' for 'eGalax Inc. USB TouchController Digitizer' [ 85.007] (**) eGalax Inc. USB TouchController Digitizer: always reports core events
[    85.007] (**) Option "Device" "/dev/input/event5"
[    85.007] (**) Option "_source" "server/udev"
[ 85.010] (II) event5 - eGalax Inc. USB TouchController Digitizer: is tagged by udev as: Tablet [ 85.171] (EE) event5 - eGalax Inc. USB TouchController Digitizer: libinput bug: missing tablet capabilities: btn-stylus resolution. Ignoring this device. [ 85.172] (II) event5 - eGalax Inc. USB TouchController Digitizer: device is a tablet [ 85.182] (II) event5 - failed to create input device '/dev/input/event5'. [ 85.182] (EE) libinput: eGalax Inc. USB TouchController Digitizer: Failed to create a device for /dev/input/event5 [ 85.182] (EE) PreInit returned 2 for "eGalax Inc. USB TouchController Digitizer"
[    85.182] (II) UnloadModule: "libinput"
[ 85.182] (II) config/udev: Adding input device eGalax Inc. USB TouchController Digitizer (/dev/input/event6) [ 85.182] (**) eGalax Inc. USB TouchController Digitizer: Applying InputClass "evdev tablet catchall" [ 85.183] (**) eGalax Inc. USB TouchController Digitizer: Applying InputClass "libinput tablet catchall" [ 85.183] (II) Using input driver 'libinput' for 'eGalax Inc. USB TouchController Digitizer' [ 85.183] (**) eGalax Inc. USB TouchController Digitizer: always reports core events
[    85.183] (**) Option "Device" "/dev/input/event6"
[    85.183] (**) Option "_source" "server/udev"
[ 85.186] (II) event6 - eGalax Inc. USB TouchController Digitizer: is tagged by udev as: Tablet [ 85.229] (EE) event6 - eGalax Inc. USB TouchController Digitizer: libinput bug: missing tablet capabilities: btn-stylus resolution. Ignoring this device. [ 85.229] (II) event6 - eGalax Inc. USB TouchController Digitizer: device is a tablet [ 85.239] (II) event6 - failed to create input device '/dev/input/event6'. [ 85.239] (EE) libinput: eGalax Inc. USB TouchController Digitizer: Failed to create a device for /dev/input/event6 [ 85.239] (EE) PreInit returned 2 for "eGalax Inc. USB TouchController Digitizer"
[    85.239] (II) UnloadModule: "libinput"
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"

Reply via email to