Kimplul / hid-tmff2

Linux kernel module for Thrustmaster T300RS, T248 and (experimental) TX, T128 and TS-XW wheels
GNU General Public License v3.0
212 stars 20 forks source link

T300 not being recognized #130

Open Cimmerian-Iter opened 2 days ago

Cimmerian-Iter commented 2 days ago

Hello, steam deck user here, I installed the module through the AUR repo, and when i plug the T300 with F1 2011 wheel addon it says this

9650.045735] usb 1-1.3: USB disconnect, device number 9 [ 9652.812924] usb 1-1.3: new full-speed USB device number 11 using xhci_hcd [ 9652.925507] usb 1-1.3: New USB device found, idVendor=044f, idProduct=b65d, bcdDevice= 1.00 [ 9652.925518] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 9652.925523] usb 1-1.3: Product: Thrustmaster FFB Wheel [ 9652.925527] usb 1-1.3: Manufacturer: Thrustmaster [ 9653.024867] input: Thrustmaster Thrustmaster FFB Wheel as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3:1.0/0003:044F:B65D.001F/input/input58 [ 9653.025183] hid-thrustmaster 0003:044F:B65D.001F: input,hidraw6: USB HID v1.00 Gamepad [Thrustmaster Thrustmaster FFB Wheel] on usb-0000:04:00.3-1.3/input0 [ 9653.046527] hid-thrustmaster 0003:044F:B65D.001F: Unknown wheel's model id 0x203, unable to proceed further with wheel init [ 9673.341434] usb 1-1.3: USB disconnect, device number 11

Is it the fact that I plugged the F1 Wheel addon that is the issue? The T300 is on V34 and has the switch to PC.

Thanks

Kimplul commented 2 days ago

Is it the fact that I plugged the F1 Wheel addon that is the issue?

Kind of. The in-kernel hid_thrustmaster is an older version of hid_tminit that this driver depends on, specifically a version old enough that it treats your whole 0x0203 as a model number, when we later found out it's actually 0x02 for the base and 0x03 for the wheel. The newer hid_tminit should handle this situation correctly and is automatically installed when this driver is installed, so you should only need to blacklist hid_thrustmaster, see https://github.com/Kimplul/hid-tmff2?tab=readme-ov-file#common-issues-and-notes

There was an attempt to push a newer version into the kernel, but nothing seems to have happened in a while: https://github.com/scarburato/hid-tminit/issues/11

Cimmerian-Iter commented 1 day ago

Ok thanks, I did wonder what happened to hid tminit, hope that there's progress on it side to have a smoother installation process.

So i did echo 'blacklist hid_thrustmaster' | sudo tee /etc/modprobe.d/hid_thrustmaster.conf, but i still have hid_thrustmaster on. Is it the blacklist that failed?

Kimplul commented 1 day ago

Did the command succeed and did you reboot?

Cimmerian-Iter commented 1 day ago

I did reboot, but i rebooted again and now it "work"?

[ 82.377643] usb 1-1.2: USB disconnect, device number 4 [ 84.390813] usb 1-1.2: new full-speed USB device number 5 using xhci_hcd [ 84.513604] usb 1-1.2: New USB device found, idVendor=044f, idProduct=b65d, bcdDevice= 1.00 [ 84.513618] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 84.513622] usb 1-1.2: Product: Thrustmaster FFB Wheel [ 84.513626] usb 1-1.2: Manufacturer: Thrustmaster [ 592.585789] usb 1-1.2: USB disconnect, device number 5 [ 593.815141] usb 1-1.2: new full-speed USB device number 6 using xhci_hcd [ 593.925573] usb 1-1.2: New USB device found, idVendor=044f, idProduct=b65d, bcdDevice= 1.00 [ 593.925586] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 593.925590] usb 1-1.2: Product: Thrustmaster FFB Wheel [ 593.925594] usb 1-1.2: Manufacturer: Thrustmaster

Oversteer doesn't open, but from what i've seen the fact that i changed my system language to french through kde made the whole thing explode for whatever reason. I booted up project cars 2 and it doesn't register any input

Cimmerian-Iter commented 1 day ago

I will retry next week, Aur package in a steam deck doesn't blend well, i'll try the dkms way

Kimplul commented 1 day ago

I did reboot, but i rebooted again and now it "work"?

If that's the whole output, something is still messed up since there should be a message about hid_tminit at the very least. As you mentioned, the steam deck is not a typical computer so might be a good idea to try DKMS and go from there.

FWIW there might also be some issue with the AUR package, I've pinged the maintainer but no response yet: https://github.com/Kimplul/hid-tmff2/issues/125