ABS_PRESSURE value as reported from kernel evdev not reflected in libevdev (xinput)
Submitted by Aidan
Assigned to Peter Hutterer @whot
Description
Created attachment 127721 Bosto Tablet removed and replugged. Note I have a tiny userspace program to detach the usbhid driver and then attach bosto_2g driver.
Hi, I have a Bosto22HD. Some years ago I hacked the hanwang driver into my own and have been supporting this since as no other option was available. I recently upgraded to Ubuntu 16.10 and began having problems, but to be honest I'm not 100% sure this is related to the upgrade.
When my driver registers with the usb subsystem I can inspect the output of evtest and I see everything reported correctly. I attach copies. Clearly we can see the ABS_PRESSURE events streaming from the kernel. However when the driver is picked up by xfree86_evdev (?), i.e. the logs from Xorg.0.log... I see no detection of and ABS_pressure Valuator. However xinput shows the Valuator as being available, yet I do not see pressure val changes.
Something is going on between kernel and X drivers? (evdev > xfree86-evdev)
I even tried: libevdev-tweak-device --abs ABS_PRESSURE --val 2047 /dev/input/event5
Sure enough xinput shows the property change as requested.
Attachment 127721, "Bosto Tablet removed and replugged. Note I have a tiny userspace program to detach the usbhid driver and then attach bosto_2g driver.":
syslog.txt