scarburato / hid-tminit

Linux driver to properly initialize some Thrustmaster Wheels
GNU General Public License v2.0
30 stars 9 forks source link

T80 ferrari 488 gtb edition #3

Closed skankerror closed 3 years ago

skankerror commented 3 years ago

Hi guys, I have a thrustmaster t80 and it's not working on linux, only buttons are recognized, the axes don't move. I installed tm driver on a windows PC, and capture usb packets. I don't know if this capture is ok...

thrustmaster.pcap.txt lsusb.txt

skankerror commented 3 years ago

https://drive.google.com/file/d/10DDzhgadoCipWhA7UxtP_XYbBsMWi59X/view?usp=sharing

Here's a link for pcap not in txt version...

scarburato commented 3 years ago

Unfortunately it doesn't seem that your wheel uses the initialization method provided by this driver (or any kind initialization at all) as it appears directly to the machine as a Thrustmaster T80 (idProduct is 0xb668) instead Thrustmaster FFB Wheel (with id 0xb65d).

To confirm this you can plug the wheel on your Linux machine and run lsusb -vvv -d044f: (colon included).

If it is not a Thrustmaster FFB Wheel then this driver is not what are you looking for. If it is a Thrustmaster T80 and the controls are not mapped properly then it is a problem with HID, maybe you can try to fix with jscal

skankerror commented 3 years ago

lsusb-vvv-d044f.txt

Here's output of lsusb -vvv -d044f:

Unforunately jscal -c /dev/input/js* doesn't work cos axis values are always the same, they never move

Even with a cat /dev/input/js1 wheel and pedals do nothing, only buttons are showing activities.

scarburato commented 3 years ago

idProduct 0xb668

Ok, this is out of scope for this driver as the T80 seems to be already initialized when it's plugged so I'm gonna close this issue.

Probably the wheel has a broken hid descriptor, I am not sure if it is necessary to write a specific hid driver or you can fix from userspace. Maybe you can find useful this article

skankerror commented 3 years ago

thanks, I'll try something this way