mwyborski / Linux-Magic-Trackpad-2-Driver

499 stars 84 forks source link

Needs too much pressure (Ubuntu 18.04) #32

Closed tasos14 closed 5 years ago

tasos14 commented 5 years ago

I'm on Ubuntu 18.04 with 4.20 kernel, on wireless mode scrolling needs a lot of pressure. When connected it works fine. I have added the quirks file to /usr/share/libinput/.quirks as suggested by this comment https://github.com/robotrovsky/Linux-Magic-Trackpad-2-Driver/issues/24#issuecomment-434697180 But the problem still persists.

dos1 commented 5 years ago

Use libinput quirks list /dev/input/eventX to verify whether the quirks file is really applied.

For the reference, this is my /etc/libinput/local-overrides.quirks that works for me in both modes:

[Touchpad pressure override]
MatchName=*Magic Trackpad 2
AttrPressureRange=2:0
tasos14 commented 5 years ago

I tried to run libinput quirks list /dev/input/eventX but i got an error saying that quirks is not a libinput command, so I checked to see which version I have. The installed libinput version is 1.10.4 and the latest is 1.12.3. I think that might be the reason that it can not detect the local-overrides.quirks.

I didn't find a way to update to the latest version, is my only option to build from source ?

dos1 commented 5 years ago

You may also try libinput list-quirks, I think that command got renamed recently.

tasos14 commented 5 years ago

I fixed it. I built from source following these instructions https://wayland.freedesktop.org/libinput/doc/latest/building.html#building now I have the latest version and wireless works fine with the quirks file.

whot commented 5 years ago

bug for libinput was filed here: https://gitlab.freedesktop.org/libinput/libinput/issues/280