<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#c5">Comment # 5</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:contacto@faviodercole.com.ar" title="fd <contacto@faviodercole.com.ar>"> <span class="fn">fd</span></a>
</span></b>
        <pre>(In reply to fd from <a href="show_bug.cgi?id=106457#c3">comment #3</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=139511" name="attach_139511" title="evemu for ELAN Pen. Finger movement over touchscreen followed by stylus approximation">attachment 139511</a> <a href="attachment.cgi?id=139511&action=edit" title="evemu for ELAN Pen. Finger movement over touchscreen followed by stylus approximation">[details]</a></span>
> 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.</span >

(In reply to Peter Hutterer from <a href="show_bug.cgi?id=106457#c4">comment #4</a>)
<span class="quote">> 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
> <a href="https://wayland.freedesktop.org/libinput/doc/latest/udev_config.html#hwdb">https://wayland.freedesktop.org/libinput/doc/latest/udev_config.html#hwdb</a>
> for more instructions and troubleshooting.</span >

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.</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>