summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg V <greg@unrelenting.technology>2021-03-16 01:11:41 +0300
committerPeter Hutterer <peter.hutterer@who-t.net>2021-03-24 14:45:24 +1000
commit4f2f1d29ec4529fb49711657f637afb686ed38e9 (patch)
tree1bb9eb256d20261fde0edf0ade90cee8d3a1aebb
parent4c1862c1e4927c9aa84e84ce76edaa481fd999e8 (diff)
downloadlibinput-4f2f1d29ec4529fb49711657f637afb686ed38e9.tar.gz
quirks: add wildcard to HID-over-I2C names (for FreeBSD)
The FreeBSD HID stack adds the device type to the evdev name, so we get e.g. "ACPI0C50:00 18D1:5028 TouchPad". (Maybe this shouldn't be matched by name at all though...) Signed-off-by: Greg V <greg@unrelenting.technology> (cherry picked from commit 06697b5e85e54965952bfd8efac67c8bde3ff4bc)
-rw-r--r--quirks/50-system-google.quirks2
-rw-r--r--quirks/50-system-hp.quirks2
2 files changed, 2 insertions, 2 deletions
diff --git a/quirks/50-system-google.quirks b/quirks/50-system-google.quirks
index e04a31b2..b3e35a65 100644
--- a/quirks/50-system-google.quirks
+++ b/quirks/50-system-google.quirks
@@ -89,7 +89,7 @@ ModelChromebook=1
[Google Chromebook Eve]
MatchUdevType=touchpad
-MatchName=ACPI0C50:00 18D1:5028
+MatchName=ACPI0C50:00 18D1:5028*
MatchDMIModalias=dmi:*svnGoogle:pnEve*
ModelChromebook=1
AttrPressureRange=6:4
diff --git a/quirks/50-system-hp.quirks b/quirks/50-system-hp.quirks
index 18545f0d..6093f97c 100644
--- a/quirks/50-system-hp.quirks
+++ b/quirks/50-system-hp.quirks
@@ -22,7 +22,7 @@ ModelHPPavilionDM4Touchpad=1
# Touchpad is a clickpad but INPUT_PROP_BUTTONPAD is not set, see
# https://bugs.freedesktop.org/show_bug.cgi?id=97147
[HP Stream 11]
-MatchName=SYN1EDE:00 06CB:7442
+MatchName=SYN1EDE:00 06CB:7442*
MatchDMIModalias=dmi:*svnHewlett-Packard:pnHPStreamNotebookPC11*
AttrInputPropEnable=INPUT_PROP_BUTTONPAD