]> git.ipfire.org Git - thirdparty/systemd.git/commit
rules: extend 60-input-id.rules to allow for bus/vid/pid/name matches
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 9 Oct 2025 00:55:16 +0000 (10:55 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 20 Oct 2025 04:14:39 +0000 (14:14 +1000)
commit5b647b84a935abd57ff7aaa61d3a64c5c6ffd0db
tree57093e65e4bc959c736fc28fcaad255b9c5f57bd
parentdfb46b906ecd8391c00354f8ef97133ef0eade22
rules: extend 60-input-id.rules to allow for bus/vid/pid/name matches

Same approach as used in 70-mouse.rules, allow for a name-based match
optionally combined with bus/vid/pid (which the existing modalias rule
would already allow us anyway). Note that ID_BUS isn't assigned until
after this rule has run so we need to use the id/bustype attribute
directly.

Related to https://github.com/systemd/systemd/issues/36677
hwdb.d/60-input-id.hwdb
hwdb.d/parse_hwdb.py
rules.d/60-input-id.rules