aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2026-01-20 17:35:06 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2026-01-20 18:43:49 +0200
commit8c4547288a6c182ed4ff131e36f710f11a76c4a9 (patch)
tree8100d44445564cec83dfbc5b80251690ea72ed6e
parent38c97de0216099cc876d53a5fe13ee80e5948172 (diff)
downloadhid-tminit-tspc.tar.gz
hid-tminit-tspc.zip
add T598 to device listtspc
+ Seems to not tolerate init packets, interestingly. Might have to come up with some better way to handle wheel init, darn. try bypassing normal setup
-rw-r--r--tminit.c1
-rw-r--r--usb-tminit.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/tminit.c b/tminit.c
index f576612..4584213 100644
--- a/tminit.c
+++ b/tminit.c
@@ -302,6 +302,7 @@ int thrustmaster_probe(struct tm_wheel *tm_wheel, struct usb_interface *interfac
tm_wheel->interface = usb_get_intf(interface);
switch (le16_to_cpu(udev->descriptor.idProduct)) {
+ case 0xb6a5: /* T598 seems to also not handle init packets */
case 0xb69c:
/* T128 resets itself for whatever reason, try to
* circumvent it. Ugly magic constant, should probably add a
diff --git a/usb-tminit.c b/usb-tminit.c
index fae8820..639ad7f 100644
--- a/usb-tminit.c
+++ b/usb-tminit.c
@@ -35,6 +35,8 @@ static void thrustmaster_usb_disconnect(struct usb_interface *interface)
static const struct usb_device_id thrustmaster_usb_devices[] = {
{ USB_DEVICE(0x044f, 0xb69c) },
{ USB_DEVICE(0x044f, 0xb691) },
+ /* T598 */
+ { USB_DEVICE(0x044f, 0xb6a5) },
{}
};