diff options
| author | Ririn Ume <ume@ririn.moe> | 2026-09-10 11:09:00 +0000 |
|---|---|---|
| committer | Benjamin Tissoires <bentiss@kernel.org> | 2026-09-14 18:02:17 +0200 |
| commit | 73712e5e815f5a9ce8a9052d6cf9233fd39c46a4 (patch) | |
| tree | 078223eba4111224eaa76818537c253ebb333e9b /kernel | |
| parent | 986c24e0fe44f844b44d365b71ce831947f50298 (diff) | |
| download | linux-next-73712e5e815f5a9ce8a9052d6cf9233fd39c46a4.tar.gz linux-next-73712e5e815f5a9ce8a9052d6cf9233fd39c46a4.zip | |
HID: bpf: Accept 123-byte pen descriptor in Huion Frego M quirk
The L610 pen descriptor is also seen 2 bytes shorter (123 bytes) than
the 125 bytes the quirk expects, so probe() rejects the device and the
fixup is never applied; the second side button stays reported as
Secondary Tip Switch.
The anchor bytes checked (offsets 0-3, 16-17) are the same in both
variants, so accept either length. The fixup still rewrites the usage
only after every anchor matches, leaving other layouts untouched.
Fixes: 857e71cb0a53 ("HID: bpf: Add Huion Inspiroy Frego M button quirk")
Signed-off-by: Ririn Ume <ume@ririn.moe>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
