[Lucid] (pre-stable) HID: handle joysticks with large number of buttons

Stefan Bader stefan.bader at canonical.com
Mon Feb 22 14:21:13 UTC 2010

BugLink: http://bugs.launchpad.net/bugs/492056


Impact: Since fixing tablets to be _not_ detected as joysticks, joysticks
with a high number of buttons regressed to be detected as joysticks (due
to assigning themselves buttons beyond the range allowed for joysticks).

Fix: Upstream changes (currently only in linux-next) add an overflow range
for that and start assigning from those buttons if there are more than 15

Testcase: Verified in the bug report with a Saitek X52. Regression should
not happen here as the additional range is only used for joystick devices
that have more than 15 buttons.

More information about the kernel-team mailing list