[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 01:51:43 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106457

--- Comment #5 from fd <contacto at faviodercole.com.ar> ---
(In reply to fd from comment #3)
> Created attachment 139511 [details]
> evemu for ELAN Pen. Finger movement over touchscreen followed by stylus
> approximation
> 
> First record evemu file for ELAN touchscreen. After reproduce a bug, I stop
> records, restart computer and record evemu file for ELAN Pen.

(In reply to Peter Hutterer from comment #4)
> Run evemu-record again and grep for BTN_TOOL_PEN. You *should* be getting
> 	# EV_KEY / BTN_TOOL_PEN         0
> whenever you leave proximity (BTN_TOUCH is for stylus tip down/up). Can you
> confirm whether you're getting this please? If not, your device needs the
> LIBINPUT_MODEL_TABLET_NO_PROXIMITY_OUT quirk. Check
> 90-libinput-model-quirks.hwdb and add an entry like this:
> 
> libinput:tablet:input:b0003v04F3p24B8*
>  LIBINPUT_MODEL_TABLET_NO_PROXIMITY_OUT=1
> 
> Note the preceding space and check that the property applies. See
> https://wayland.freedesktop.org/libinput/doc/latest/udev_config.html#hwdb
> for more instructions and troubleshooting.

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.

Each time that get BTN_TOOL_PEN  0, then touchscreen gestures works. but each
time that proximity remain enabled, the finger gestures are disabled.

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.

sorry, for my english.

-- 
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/8574cf36/attachment.html>


More information about the wayland-bugs mailing list