]> git.baikalelectronics.ru Git - kernel.git/commit
HID: add support for Logitech Dual Action gamepads
authorVitaly Katraew <zawullon@gmail.com>
Sat, 30 Nov 2013 09:51:28 +0000 (13:51 +0400)
committerJiri Kosina <jkosina@suse.cz>
Mon, 2 Dec 2013 21:47:38 +0000 (22:47 +0100)
commit801791a364df6a1025e05cb91aeebb032cb0cab7
tree401870b6ca2c9fc15b7cf2aebee7374aaa1e80dc
parent5eae6874879853735ec80b0b46c051c9d8214f8f
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