<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - TP L430 touchpad to barely usable"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96220#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - TP L430 touchpad to barely usable"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96220">bug 96220</a>
              from <span class="vcard"><a class="email" href="mailto:l-xdg@znn.info" title="lightonflux <l-xdg@znn.info>"> <span class="fn">lightonflux</span></a>
</span></b>
        <pre>Did the same again and now the touchpad sends different values. Is this normal?

lof:~/ $ sudo touchpad-edge-detector /dev/input/event6  
Touchpad ETPS/2 Elantech Touchpad on /dev/input/event6
Move one finger around the touchpad to detect the actual edges
Kernel says:    x [0..2204], y [0..1160]
Touchpad sends: x [20..2183], y [24..1157] -^C

Touchpad size as listed by the kernel: 71x37mm
Calculate resolution as:
        x axis: 2204/<width in mm>
        y axis: 1160/<height in mm>

Suggested udev rule:
# <Laptop model description goes here>
evdev:name:ETPS/2 Elantech
Touchpad:dmi:bvnLENOVO:bvrG3ETA5WW(2.65):bd10/20/2015:svnLENOVO:pn2464A26:pvrThinkPadL430:rvnLENOVO:rn2464A26:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:*
 EVDEV_ABS_00=20:2183:<x resolution>
 EVDEV_ABS_01=24:1157:<y resolution>
 EVDEV_ABS_35=20:2183:<x resolution>
 EVDEV_ABS_36=24:1157:<y resolution>
lof:~/ $ sudo touchpad-edge-detector /dev/input/event6
Touchpad ETPS/2 Elantech Touchpad on /dev/input/event6
Move one finger around the touchpad to detect the actual edges
Kernel says:    x [0..2204], y [0..1160]
Touchpad sends: x [22..2184], y [15..1151] -^C--

Touchpad size as listed by the kernel: 71x37mm
Calculate resolution as:
        x axis: 2204/<width in mm>
        y axis: 1160/<height in mm>

Suggested udev rule:
# <Laptop model description goes here>
evdev:name:ETPS/2 Elantech
Touchpad:dmi:bvnLENOVO:bvrG3ETA5WW(2.65):bd10/20/2015:svnLENOVO:pn2464A26:pvrThinkPadL430:rvnLENOVO:rn2464A26:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:*
 EVDEV_ABS_00=22:2184:<x resolution>
 EVDEV_ABS_01=15:1151:<y resolution>
 EVDEV_ABS_35=22:2184:<x resolution>
 EVDEV_ABS_36=15:1151:<y resolution></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>