From: Greg V Date: Mon, 15 Mar 2021 22:11:41 +0000 (+0300) Subject: quirks: add wildcard to HID-over-I2C names (for FreeBSD) X-Git-Tag: 1.17.901~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06697b5e85e54965952bfd8efac67c8bde3ff4bc;p=platform%2Fupstream%2Flibinput.git 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 --- diff --git a/quirks/50-system-google.quirks b/quirks/50-system-google.quirks index e04a31b..b3e35a6 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 18545f0..6093f97 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