quirks: add wildcard to HID-over-I2C names (for FreeBSD)
authorGreg V <greg@unrelenting.technology>
Mon, 15 Mar 2021 22:11:41 +0000 (01:11 +0300)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 17 Mar 2021 02:34:30 +0000 (02:34 +0000)
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>
quirks/50-system-google.quirks
quirks/50-system-hp.quirks

index e04a31b..b3e35a6 100644 (file)
@@ -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
index 18545f0..6093f97 100644 (file)
@@ -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