]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Remove version check in CH Pro Pedals rule
authorColin Geniet <colin.geniet@gmail.com>
Thu, 15 Feb 2024 19:23:49 +0000 (20:23 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 16 Feb 2024 12:07:17 +0000 (12:07 +0000)
CH Pedals are incorrectly reported as an accelerometer [1], because they
have no button.  This is fixed by a rule in 60-input-id.hwdb [2], but
the rule checks id/version="0100", while my pedals report id/version="0111".

So there are several versions of the pedals, presumably all affected
by the bug. Remove the version check in the rule to fix them all.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=81889
[2] commit: 230ed4c4ba (hwdb: CH Pro Pedals not classified correctly due to no buttons, 2022-01-19)
    PR: https://github.com/systemd/systemd/pull/22184

hwdb.d/60-input-id.hwdb

index 1c84777fe0772eb7b403437a2ee13725a6901ff1..eff160cd318d19f260dfb4bdc6f329e98f574e7b 100644 (file)
@@ -72,7 +72,7 @@ id-input:modalias:input:b0003v046Dp4066e0111*
  ID_INPUT_MOUSE=0
 
 # CH Products Pro Pedals
-id-input:modalias:input:b0003v068Ep00F2e0100*
+id-input:modalias:input:b0003v068Ep00F2*
  ID_INPUT_ACCELEROMETER=0
  ID_INPUT_JOYSTICK=1