mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-01 00:47:57 +02:00
Previously, we had all extra device information ("This is an Apple Touchpad",
"This touchpad causes pointer jumps", etc.) in the udev hwdb. The problem with
the hwdb is that updating it is nontrivial for the average user and debugging
when things go wrong is even harder. Plus, the hwdb has a matching scheme that
is unpredictable unless one is familiar with the implementation.
This patch set moves the hwdb entries into .ini style text files, with a
simple line-based parser. A new libinput list-quirks tool can list the quirks
applied to any given device, in --verbose mode it prints all matches as they
apply or not apply.
The data files are currently unused by libinput, that comes in a later patch.
They're installed though, the defaults point to the /usr/share/libinput
directory and for *temporary* local overrides the single file
/etc/libinput/local-overrides.quirks.
Failure to parse any file is a hard failure for the quirks system, but if the
local override file doesn't exist that's fine.
THIS IS NOT A CONFIGURATION INTERFACE! None of these settings are exposed via
the libinput_device_config_* calls. There is no API guarantee for these files,
think of them as source code.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
86 lines
2 KiB
Text
86 lines
2 KiB
Text
[Google Chromebook R13 CB5-312T]
|
|
MatchName=*Elan Touchpad*
|
|
MatchDeviceTree=*Chromebook R13 CB5-312T*
|
|
AttrPressureRange=6:4
|
|
|
|
[Google Chromebook CB5-312T]
|
|
MatchName=*Elan Touchpad*
|
|
MatchDeviceTree=*CB5-312T*
|
|
AttrPressureRange=6:4
|
|
|
|
[Google Chromebook Elm]
|
|
MatchName=*Elan Touchpad*
|
|
MatchDeviceTree=*Elm*
|
|
AttrPressureRange=6:4
|
|
|
|
[Google Chromebook Falco]
|
|
MatchUdevType=touchpad
|
|
MatchName=Cypress APA Trackpad ?cyapa?
|
|
MatchDMIModalias=dmi:*pn*Falco*
|
|
ModelChromebook=1
|
|
|
|
[Google Chromebook Mario]
|
|
MatchUdevType=touchpad
|
|
MatchName=SynPS/2 Synaptics TouchPad
|
|
MatchDMIModalias=dmi:*pn*Mario*
|
|
ModelChromebook=1
|
|
|
|
[Google Chromebook Butterfly]
|
|
MatchUdevType=touchpad
|
|
MatchName=Cypress APA Trackpad ?cyapa?
|
|
MatchDMIModalias=dmi:*pn*Butterfly*
|
|
ModelChromebook=1
|
|
|
|
[Google Chromebook Peppy]
|
|
MatchUdevType=touchpad
|
|
MatchName=Cypress APA Trackpad ?cyapa?
|
|
MatchDMIModalias=dmi:*pn*Peppy*
|
|
ModelChromebook=1
|
|
|
|
[Google Chromebook ZGB]
|
|
MatchUdevType=touchpad
|
|
MatchName=SynPS/2 Synaptics TouchPad
|
|
MatchDMIModalias=dmi:*pn*ZGB*
|
|
ModelChromebook=1
|
|
|
|
[Google Chromebook Parrot]
|
|
MatchUdevType=touchpad
|
|
MatchName=Cypress APA Trackpad ?cyapa?
|
|
MatchDMIModalias=dmi:*pn*Parrot*
|
|
ModelChromebook=1
|
|
|
|
[Google Chromebook Leon]
|
|
MatchUdevType=touchpad
|
|
MatchName=Cypress APA Trackpad ?cyapa?
|
|
MatchDMIModalias=dmi:*bvn*coreboot*:pn*Leon*
|
|
ModelChromebook=1
|
|
|
|
[Google Chromebook Wolf]
|
|
MatchUdevType=touchpad
|
|
MatchName=Cypress APA Trackpad ?cyapa?
|
|
MatchDMIModalias=dmi:*bvn*coreboot*:pn*Wolf*
|
|
ModelChromebook=1
|
|
|
|
[Google Chromebook Link]
|
|
MatchUdevType=touchpad
|
|
MatchName=Cypress APA Trackpad ?cyapa?
|
|
MatchDMIModalias=dmi:*svn*GOOGLE*:pn*Link*
|
|
ModelChromebook=1
|
|
|
|
[Google Chromebook Alex]
|
|
MatchUdevType=touchpad
|
|
MatchName=SynPS/2 Synaptics TouchPad
|
|
MatchDMIModalias=dmi:*pn*Alex*
|
|
ModelChromebook=1
|
|
|
|
[Google Chromebook Lumpy]
|
|
MatchUdevType=touchpad
|
|
MatchName=Cypress APA Trackpad ?cyapa?
|
|
MatchDMIModalias=dmi:*svn*SAMSUNG*:pn*Lumpy*
|
|
ModelChromebook=1
|
|
|
|
[Google Chromebook Samus]
|
|
MatchUdevType=touchpad
|
|
MatchName=Atmel maXTouch Touchpad
|
|
MatchDMIModalias=dmi:*svn*GOOGLE*:pn*Samus*
|
|
ModelChromebook=1
|