berarma / oversteer

Steering Wheel Manager for GNU/Linux
GNU General Public License v3.0
552 stars 57 forks source link

ThrustMaster TMX - No Device available. #163

Open PeterGardas opened 9 months ago

PeterGardas commented 9 months ago

Hi,

I am having an issue with Oversteer. Every time I open it the GUI itself works fine, but it is not detecting my wheel (ThrustMaster TMX). If I run lsusb it clearly detects the wheel with: Bus 003 Device 004: ID 044f:b67e ThrustMaster, Inc. Thrustmaster TMX GIP Racing Wheel. What am I supposed to do?

I appreciate the help!

Peter

motolav commented 9 months ago

Your wheel isn't defined in oversteer and your wheel likely isn't supported by any driver currently https://github.com/Kimplul/hid-tmff2 is probably the driver you need but it won't work as is

You should open an issue there to try get help

motolav commented 9 months ago

You could try replacing #define TX_ACTIVE 0xb669 with #define TX_ACTIVE 0xb67e before you compile that driver and see if your wheel will work with that driver but it still wont work with oversteer

https://github.com/Kimplul/hid-tmff2/blob/a3aba95241247c5aa5c8e16c839cf6909ffe80a9/src/hid-tmff2.h#L112C1-L112C1 this is the line in the code of that driver

berarma commented 9 months ago

I have to write a guide to add more wheel devices.

I need the vid/pid of the device, already in your first post. Also the maximum steering range.

Then you'd have to run evtest and see which events are generated by every control in your wheel, including pedals, shifter,... everything.

With that information I can add your wheel to work in Oversteer.

BUT be aware that doing so won't change anything in the way your wheel works. If it doesn't work on games or there's no FFB, that's an issue that has to be fixed by implementing a driver. Like @motolav said, it could be implemented in hid-tmff2. You might want to contact that project first.

motolav commented 9 months ago

The Thrustmaster TMX is a racing wheel released by Thrustmaster in May 2016. It is the Xbox-compatible version of the T150.

I'm not sure if it'd be compatible with either ThrustMaster drivers then

berarma commented 9 months ago

The Xbox versions of the Logitech wheels are supported via the generic Hidpp Linux module. There might be a chance this wheel is compatible. Have you tried it in some game?

@Kimplul or @scarburato might know better.

Kimplul commented 9 months ago

Nobody's opened up a support request for TMX wheels so I don't really have any previous knowledge on it, sorry.

[...] I'm not sure if it'd be compatible with either ThrustMaster drivers then

Support for TX wheels was recently added to hid-tmff2, and they're Xbox/PC, so I suspect the TMX would share the bulk of the USB FFB api with the T150, probably just with some slightly different startup routines to account for PS3/Xbox quirks. Considering the TMX is an Xbox version of T150, it might be a good idea to capture some FFB packets and see if they match with the T150, I have a basic how-to-capture at https://github.com/Kimplul/hid-tmff2/wiki#how-to-add-in-support-for-a-new-t-series-wheel

and @scarburato has some previous T150 captures at https://github.com/scarburato/t150_driver/tree/master/traffic/old_caps

If they do match, it should be possible to extend t150_driver to support TMX wheels with relatively minor changes.

freq-mod commented 2 months ago

I have same problem, when connecting the wheel, it calibrates and appears to work (red led light is ON, but so is the Xbox led), lsusb recognizes it as ID 044f:b67e ThrustMaster, Inc. Thrustmaster TMX GIP Racing Wheel, but oversteer doesnt see it. I tried both without and with t150_driver. any idea what else should I do?