Skip to content

Commit 56d0c8b

Browse files
ZawullonJiri Kosina
authored and
Jiri Kosina
committed
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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 6d16e9c commit 56d0c8b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@
551551
#define USB_DEVICE_ID_LOGITECH_RUMBLEPAD_CORD 0xc20a
552552
#define USB_DEVICE_ID_LOGITECH_RUMBLEPAD 0xc211
553553
#define USB_DEVICE_ID_LOGITECH_EXTREME_3D 0xc215
554+
#define USB_DEVICE_ID_LOGITECH_DUAL_ACTION 0xc216
554555
#define USB_DEVICE_ID_LOGITECH_RUMBLEPAD2 0xc218
555556
#define USB_DEVICE_ID_LOGITECH_RUMBLEPAD2_2 0xc219
556557
#define USB_DEVICE_ID_LOGITECH_WINGMAN_F3D 0xc283

drivers/hid/hid-lg.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,8 @@ static const struct hid_device_id lg_devices[] = {
758758

759759
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_EXTREME_3D),
760760
.driver_data = LG_NOGET },
761+
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_DUAL_ACTION),
762+
.driver_data = LG_NOGET },
761763
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_WHEEL),
762764
.driver_data = LG_NOGET | LG_FF4 },
763765

0 commit comments

Comments
 (0)