linuxwacom / xf86-input-wacom

X.Org driver for Wacom devices
356 stars 45 forks source link

Art Pen (KP701E2) pressure interpolation #336

Closed saldejums closed 3 months ago

saldejums commented 6 months ago

As exactly stated in #187 the Wacom Art Pen (KP701E2) only reports the pressure data every other response. This is not an isolated issue to a single pen. Have tested this with multiple art pens. I've also talked to others with Art Pens and when I get them to disable the high sensor stabilizers they have set in (painting) software, the pen pressure stepping also appears instantly.

Here is the readout for libinput record artpen.txt

Would be great to tie the pressure smoothing to RawSample somehow for ArtPens. I'd be happy to help out in any way I can.

whot commented 6 months ago

Can you run hid-recorder from hid-tools too please? Just to verify this is really in the HID reports and not the kernel somehow dropping reports. Thanks

saldejums commented 6 months ago

Here you go hid-record.txt

whot commented 6 months ago

Thanks, confirming, the pressure only changes on every second event so this is definitely a hardware limitation.

edit: filed libinput#973 for this now

whot commented 6 months ago

@jigpu, @Pinglinux , @skomra, @Joshua-Dickens - do we know if this is a pen issue or a tablet issue? i.e. can we expect this behaviour on all tablets?

whot commented 6 months ago

FTR, it looks like this is a pen issue rather than the tablet, with this udev-hid-bpf MR looking like it's the best solution.

ChengduLittleA commented 3 months ago

This is libinput record for my art pen :thinking:

artpen_cintiq_pro24.txt

Pinglinux commented 3 months ago

The solution has been merged.