Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hid-tminit.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ static void thrustmaster_hid_disconnect(struct hid_device *hdev)
static const struct hid_device_id thrustmaster_hid_devices[] = {
{ HID_USB_DEVICE(0x044f, 0xb65d) },
{ HID_USB_DEVICE(0x044f, 0xb664) },
{ HID_USB_DEVICE(0x044f, 0xb66d) },
{ HID_USB_DEVICE(0x044f, 0xb69c) },
{}
};
Expand Down
17 changes: 16 additions & 1 deletion tminit.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ static const struct tm_wheel_info tm_wheels_infos[] = {
{0x03, 0x06, 0x0006, "Thrustmaster T150RS"},
{0x07, 0x0a, 0x000a, "Thrustmaster TS-XW"},
{0x06, 0x09, 0x0009, "Thrustmaster TS-PC"},
{0x00, 0x09, 0x000b, "Thrustmaster T128"}
{0x00, 0x09, 0x000b, "Thrustmaster T128"},
{0x05, 0x08, 0x0008, "Thrustmaster T-GT II"}
//{0x04, 0x07, 0x0001, "Thrustmaster TMX"}
};

Expand Down Expand Up @@ -311,6 +312,20 @@ int thrustmaster_probe(struct tm_wheel *tm_wheel, struct usb_interface *interfac
if (ret)
goto error6;

return ret;
case 0xb66d:
/* T-GT II in its T300RS compat mode; actual T300RSes share
* this id but report a different bcdDevice */
if (le16_to_cpu(udev->descriptor.bcdDevice) != 0x0700) {
ret = -ENODEV;
goto error6;
}
/* bounce the wheel into the bootloader, from where the flow
* below boots it into its native mode */
ret = thrustmaster_submit_change(tm_wheel, 0x0001);
if (ret)
goto error6;

return ret;
}

Expand Down