Ubuntu 16.10 Abs_pressure not reported from kernel evdev to xserver-xorg-evdev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-input-evdev |
Unknown
|
Medium
|
|||
xserver-xorg-input-evdev (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Please refer to bug filed with freedesktop.org:
https:/
I modified a driver for the Bosto Tablet 22HD and others, this has been working without problems across the last several releases and continues to work with 16.04.1 LTS.
When I upgraded to 16.10, pressure readings are lost from all applications, X & Y data still visible.
evtest shows correct EV_ data for ABS_X ABS_Y and ABS_PRESSURE, but when xinput is used.
xinput --list --long <device>
The Valuator for pressure is listed, but no changes occur as the tool is used. The parameters of the Valuator can still be modified using xinput tweaking tools, but no pressure reported.
All X apps requiring pressure data fail.
I made a fresh install of 16.10, loaded the driver .... same issue.
I run 16.04.1 LTS, everything fine.
I have others users of my driver code also using 16.04.1 without issue.
affects: | network-manager (Ubuntu) → xserver-xorg-input-evdev (Ubuntu) |
Changed in evdev: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in evdev: | |
status: | Fix Released → Confirmed |
Changed in evdev: | |
status: | Confirmed → Unknown |
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: tweak-device --abs ABS_PRESSURE --val 2047 /dev/input/event5
libevdev-
Sure enough xinput shows the property change as requested.