Touchpad range : add another Macbook4,1 variant (#7749)
authorAlexis Deruelle <alexis.deruelle@laposte.net>
Fri, 5 Jan 2018 00:17:17 +0000 (01:17 +0100)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 5 Jan 2018 00:17:17 +0000 (10:17 +1000)
#Add "Early 2008 Core 2 Duo/Penryn" Macbook4,1 match string to the existing touchpad range definition

##Symptoms
* Jerky/Jumpy cursor motion using touchpad
* "Axis value outside expected range" message in Xorg.0.log

##Fix
I followed the instructions described here :https://wayland.freedesktop.org/libinput/doc/latest/absolute_coordinate_ranges.html and came up with the following :

evdev:input:b0003v05ACp022A*
 EVDEV_ABS_00=256:1469:12
 EVDEV_ABS_01=256:829:12

The ranges and resolutions are the same as stated in the existing definition (+/- 2) so only add the match string.

hwdb/60-evdev.hwdb

index eb04de6..741f990 100644 (file)
@@ -47,6 +47,7 @@
 evdev:input:b0003v05ACp021B*
 # Macbook4,1
 evdev:input:b0003v05ACp0229*
+evdev:input:b0003v05ACp022A*
  EVDEV_ABS_00=256:1471:12
  EVDEV_ABS_01=256:831:12