[PATCH libinput 0/3] Fix Lenovo X230 series touchpad

Benjamin Tissoires benjamin.tissoires at gmail.com
Thu Apr 9 10:30:36 PDT 2015


Here is a series to try making the touchpad found on the Lenovo
X230 working. This touchpad has a very bad hardware resolution and by
default, libinput jumps the cursor for 10 pixels at least whenever the
user moves the finger.

This series adds a special tag for such hardware and provides a separate
acceleration profile for them. As mentioned in the documentation, nobody
but X230 owners should use this tag.

The fourth patch of the series is not required per se, given that we should
push this through hwdb and not have a custom fix in libinput. With it, the
touchpad felt a little bit better, but that's maybe just me.
It's up to the libinput maintainer to decide to take it or not (thus the 4/3).

Final note. I tested it on a X230t (t for tablet). I'd like to get some
feedbacks from the non-tablet users too.


Benjamin Tissoires (4):
  filter: break out accel_profile_linear from
  evdev: use a different filter for low resolution touchpad on the
    Lenovo X230
  udev: add a custom udev rule for X230 touchpads
  evdev: Fix reported resolution of Lenovo X230 touchpads

 doc/device-configuration-via-udev.dox |    9 +++++
 src/evdev-mt-touchpad.c               |    4 ++-
 src/evdev.c                           |   21 +++++++++++++
 src/evdev.h                           |    2 +
 src/filter.c                          |   53 +++++++++++++++++++++++++++++---
 src/filter.h                          |    5 +++
 udev/99-x230.rules                    |   14 +++++++++
 udev/Makefile.am                      |    4 ++-
 8 files changed, 105 insertions(+), 7 deletions(-)
 create mode 100644 udev/99-x230.rules

More information about the wayland-devel mailing list