[Wayland-bugs] [Bug 106457] HP Pavilion x360 convertible 15 br0xx. Pen/stylus works in Ubuntu 16.04, but is broken in 18.04
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon May 14 02:58:27 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106457
--- Comment #6 from Peter Hutterer <peter.hutterer at who-t.net> ---
(In reply to fd from comment #5)
> Well, Now I run evemu-record and I can confirm that
> # EV_KEY / BTN_TOOL_PEN 1
> on stylus proximity, but get nothing when it leaves proximity.
>
> After edit /lib/udev/hwdb.d/90-libinput-model-quirks.hwdb i get the # EV_KEY
> / BTN_TOOL_PEN 0 entry but not always.
in the evemu recording log? we don't write that event to the device node, so
you shouldn't see that event except in the libinput debug log. If the event
comes up in the evemu log then we're dealing with a different issue here.
> Each time that get BTN_TOOL_PEN 0, then touchscreen gestures works. but
> each time that proximity remain enabled, the finger gestures are disabled.
yeah, that's expected. when you're using the pen, you're likely to touch the
screen and cause fake pointer motion. This is called touch arbitration and an
explicit feature (used to be done in the kernel by some drivers). But that
obviously requires a working proximity out.
> I get only 5 successfully
> BTN_TOOL_PEN 0
> in 100 trials. So I can't confirm if the edition of
> /lib/udev/hwdb.d/90-libinput-model-quirks.hwdb is related.
does the property show up in the udevadm info output and did you restart
libinput, like the link suggested? libinput should (internally) fake the event
after 50ms of inactivity, i.e. no events from the pen device.
> sorry, for my english.
meh, neither of us is a native english speaker, so...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180514/18f3556a/attachment.html>
More information about the wayland-bugs
mailing list