quirks: add a more generic match for the 5288 Synaptics clickpad

This is a clickpad announcing BTN_RIGHT in different machines, see
issue #674, #689, #629 and MR !701. There are at least 4 machines that
ship with this device that we had to quirk independently, possibly
others so disabling BTN_RIGHT on all of them makes sense.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2021-11-08 14:12:22 +10:00
parent 607abecfbd
commit d1f274c781
4 changed files with 11 additions and 26 deletions

View file

@ -27,15 +27,3 @@ MatchName=HTIX5288:00 093A:0255 Touchpad
MatchUdevType=touchpad MatchUdevType=touchpad
MatchDMIModalias=dmi:*svnStarLabs:pnLite* MatchDMIModalias=dmi:*svnStarLabs:pnLite*
AttrEventCodeDisable=BTN_RIGHT AttrEventCodeDisable=BTN_RIGHT
[StarLite Mk II - coreboot firmware]
MatchName=STAR0001:00 0911:5288 Touchpad
MatchUdevType=touchpad
MatchDMIModalias=dmi:*svnStarLabs:pnLite*
AttrEventCodeDisable=BTN_RIGHT
[StarLite Mk II - AMI firmware]
MatchName=ALPS0001:00 0911:5288 Touchpad
MatchUdevType=touchpad
MatchDMIModalias=dmi:*svnStarLabs:pnLite*
AttrEventCodeDisable=BTN_RIGHT

View file

@ -6,3 +6,14 @@ MatchBus=ps2
MatchVendor=0x0002 MatchVendor=0x0002
MatchProduct=0x0007 MatchProduct=0x0007
ModelSynapticsSerialTouchpad=1 ModelSynapticsSerialTouchpad=1
# SYNA3602:00 0911:5288 touchpad, clickpad pretending it has a right button.
# Integrated into several systems, including
# Purism Librem 14v1
# Prestigio Smartbook 141 C2
# StarLite Mk II
# Iota IOTA2320
[Synaptics 0911:5288 Touchpad]
MatchUdevType=touchpad
MatchName=* 0911:5288 Touchpad
AttrEventCodeDisable=BTN_RIGHT

View file

@ -1,7 +0,0 @@
# Clickpad that announces BTN_RIGHT
# https://gitlab.freedesktop.org/libinput/libinput/-/issues/674
[Prestigio Smartbook 141 C2 Touchpad]
MatchName=SYNA3602:00 0911:5288 Touchpad
MatchUdevType=touchpad
MatchDMIModalias=dmi:*svnPrestigio:*pnPSB141C02*
AttrEventCodeDisable=BTN_RIGHT

View file

@ -1,7 +0,0 @@
# Clickpad that announces BTN_RIGHT
# https://gitlab.freedesktop.org/libinput/libinput/-/issues/629
[Librem 14v1 Touchpad]
MatchName=HTIX5288:00 0911:5288 Touchpad
MatchUdevType=touchpad
MatchDMIModalias=dmi:*svnPurism:*pn[Ll]ibrem*14:*
AttrEventCodeDisable=BTN_RIGHT