]> git.baikalelectronics.ru Git - kernel.git/commit
HID: sony: do not bail out when the sixaxis refuses the output report
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 8 Jan 2016 16:58:49 +0000 (17:58 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 18 Jan 2016 22:09:54 +0000 (23:09 +0100)
commit6ef75ae3ef9857eaccad503837398981936d092a
tree70b83d79504aff995e1ac3215f3c155e57956013
parent3dbc623e3b466914045fc4f6f45574e9ff55d2a1
HID: sony: do not bail out when the sixaxis refuses the output report

When setting the operational mode, some third party (Speedlink Strike-FX)
gamepads refuse the output report. Failing here means we refuse to
initialize the gamepad while this should be harmless.

The weird part is that the initial commit that added this: 7c50b68
("HID: sony: Enable Gasia third-party PS3 controllers") mentions this
very same controller as one requiring this output report.
Anyway, it's broken for one user at least, so let's change it.
We will report an error, but at least the controller should work.

And no, these devices present themselves as legacy Sony controllers
(VID:PID of 054C:0268, as in the official ones) so there are no ways
of discriminating them from the official ones.

https://bugzilla.redhat.com/show_bug.cgi?id=1255325

Reported-and-tested-by: Max Fedotov <thesourcehim@gmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c