From: Peter Hutterer Date: Thu, 9 Oct 2025 00:56:54 +0000 (+1000) Subject: hwdb: don't tag a named Mouse device as pointingstick X-Git-Tag: v258.2~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9098d3d7f95eda02797add4883ae4327ec2159de;p=thirdparty%2Fsystemd.git hwdb: don't tag a named Mouse device as pointingstick 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) --- diff --git a/hwdb.d/60-input-id.hwdb b/hwdb.d/60-input-id.hwdb index edc166c8470..d32bfedf594 100644 --- a/hwdb.d/60-input-id.hwdb +++ b/hwdb.d/60-input-id.hwdb @@ -58,6 +58,10 @@ # 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=