<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:cp@corradoprimier.it" title="cp@corradoprimier.it">cp@corradoprimier.it</a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Unusable pressure values on ETPS/2 Elantech Touchpad"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100463">bug 100463</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Unusable pressure values on ETPS/2 Elantech Touchpad"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100463#c25">Comment # 25</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Unusable pressure values on ETPS/2 Elantech Touchpad"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100463">bug 100463</a>
              from <span class="vcard"><a class="email" href="mailto:cp@corradoprimier.it" title="cp@corradoprimier.it">cp@corradoprimier.it</a>
</span></b>
        <pre>Reopening. I can confirm this is still happening on my Samsung 870Z5G with Arch
Linux and an Elantech touchpad, and it is definitely version-related.

While I was on 1.6.3 everything worked fine, but on both 1.7 and 1.8 the
touchpad is unusable. I am currently using libinput 1.8.0.

I fixed it by following the instructions at
<a href="https://wayland.freedesktop.org/libinput/doc/latest/touchpad_pressure.html">https://wayland.freedesktop.org/libinput/doc/latest/touchpad_pressure.html</a> with
the values found by Paul. I created /etc/udev/hwdb.d/99-touchpad-pressure.hwdb
containing:

svnSAMSUNGELECTRONICSCO.,LTD.:pn870Z5G/880Z5F
 LIBINPUT_ATTR_PRESSURE_RANGE=10:8

After a Wayland restart everything works again.

Combinations I tested:
libinput <= 1.6.3 + kernel < 4.12 -> ok
libinput <= 1.6.3 + kernel >= 4.12 -> touchpad not responding
libinput == 1.7.x + kernel == 4.11 -> bad pressure values
libinput == 1.8.0 + kernel == 4.11 -> bad pressure values
libinput == 1.8.0 + kernel == 4.11 + pressure fix -> ok</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>