From: Alexis Deruelle Date: Fri, 5 Jan 2018 00:17:17 +0000 (+0100) Subject: Touchpad range : add another Macbook4,1 variant (#7749) X-Git-Tag: v237~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c559eecaada396c66c4ea9ac80daeb630431063a;p=thirdparty%2Fsystemd.git Touchpad range : add another Macbook4,1 variant (#7749) #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. --- diff --git a/hwdb/60-evdev.hwdb b/hwdb/60-evdev.hwdb index eb04de68632..741f9906940 100644 --- a/hwdb/60-evdev.hwdb +++ b/hwdb/60-evdev.hwdb @@ -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