Skip to content

Commit

Permalink
hwdb: Remove version check in CH Pro Pedals rule
Browse files Browse the repository at this point in the history
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: 230ed4c (hwdb: CH Pro Pedals not classified correctly due to no buttons, 2022-01-19)
    PR: systemd#22184
  • Loading branch information
colingeniet authored and ayhamthemayhem committed Mar 25, 2024
1 parent 348b298 commit db4c02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwdb.d/60-input-id.hwdb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit db4c02c

Please sign in to comment.