<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - HP Pavilion x360 convertible 15 br0xx. Pen/stylus works in Ubuntu 16.04, but is broken in 18.04"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106457#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - HP Pavilion x360 convertible 15 br0xx. Pen/stylus works in Ubuntu 16.04, but is broken in 18.04"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106457">bug 106457</a>
from <span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span></b>
<pre>(In reply to fd from <a href="show_bug.cgi?id=106457#c5">comment #5</a>)
<span class="quote">> 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.</span >
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.
<span class="quote">> Each time that get BTN_TOOL_PEN 0, then touchscreen gestures works. but
> each time that proximity remain enabled, the finger gestures are disabled.</span >
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.
<span class="quote">> 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.</span >
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.
<span class="quote">> sorry, for my english.</span >
meh, neither of us is a native english speaker, so...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>