]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: don't tag a named Mouse device as pointingstick
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 9 Oct 2025 00:56:54 +0000 (10:56 +1000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 6 Nov 2025 21:26:42 +0000 (21:26 +0000)
The generic kernel hid drivers split up devices based on the application
collection, appending a suffix for each collection (e.g. Touchpad,
Mouse, ...). Many i2c touchpads get a "... Mouse" event node which is
mislabelled as pointingstick by the input_id builtin, see commit
3d7ac1c655ec40f3829543072494dcdfb92dbc6b.

Closes: https://github.com/systemd/systemd/issues/36677
(cherry picked from commit c4f072aaadedd9029bf0bef2036fdab8a4a3c180)

hwdb.d/60-input-id.hwdb

index edc166c8470659b1b670fc75b9319f92cbb96e1f..d32bfedf59416ad59c26c89559b417e632b25d73 100644 (file)
 
 # Sort by brand, model
 
+# Any i2c device with a Mouse suffix in the name is not a pointing stick
+id-input:i2c:*:name:*Mouse:
+ ID_INPUT_POINTINGSTICK=0
+
 # Code Mercenaries Hard- und Software GmbH Virtual RC USB
 id-input:modalias:input:b0003v07C0p1125*
  ID_INPUT_MOUSE=