HID: add support for Logitech Dual Action gamepads
authorVitaly Katraew <zawullon@gmail.com>
Sat, 30 Nov 2013 09:51:28 +0000 (13:51 +0400)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 28 Feb 2016 01:55:13 +0000 (03:55 +0200)
commitab3feb5776d71f97e18dcab3eb6b35eadef7adc4
treefaf22534189a70e9c93669d11181761a8498c746
parenta0fae601ed48df80e2e4d4203c904e7dd0434469
HID: add support for Logitech Dual Action gamepads

I have two Logitech Dual Action gamepads, both have same Vendor/Device id pair.
Newest gamepad (A) can switch between old mode (HID) and XBox gamepad emulation
mode. Old gamepad (B) can only work in HID mode.  In HID mode gamepad A sends
many EPIPE errors during initialization and was disconnected immediately after
connect  to usb port. It works fine in Win and Mac. After adding NOGET quirk in
driver, it was working properly.  Gamepad B works fine before and after
changes. I tested both gamepads with 3.8.0 and 3.11.6 kernels  with modified
driver. Follow patch can apply for current git kernel version. I can send pcap
log from usb bus with both gamepads or any other additional information if it
is needed

Signed-off-by: Vitaly Katraew <zawullon@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/hid-lg.c