Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T300RS Not Detected in Steam & Games #61

Closed
yacinbm opened this issue Mar 23, 2023 · 10 comments
Closed

T300RS Not Detected in Steam & Games #61

yacinbm opened this issue Mar 23, 2023 · 10 comments

Comments

@yacinbm
Copy link

yacinbm commented Mar 23, 2023

Just finished successfully installing the driver and I tested my wheel with both jstest-gdk and oversteer. The wheel/pedals work in both test suites.

However, when I launch a game on Steam (have tried Assetto Corsa & F1 2019), the games simply do not recognize the wheel. Both games do not show the wheel in the controllers list and opening the controller settings is steam also does not show the wheel.

I also tried installing the TM drivers via Proton but no dice. Do you have any pointers as to what to try next?

Edit:
I'm running Linux on my Steam Deck (5.13.0-valve36-1-neptune)
T300RS FW V.34 (just updated today)
dmesg output:

[    4.929516] hid_tmff_new: loading out-of-tree module taints kernel.
[    4.929606] hid_tmff_new: module verification failed: signature and/or required key missing - tainting kernel
[    4.949924] tmff2 0003:044F:B66E.0005: input,hidraw4: USB HID v1.11 Joystick [Thrustmaster Thrustmaster T300RS Racing wheel] on usb-0000:04:00.3-1.4/input0
[    4.954673] tmff2 0003:044F:B66E.0005: force feedback for T300RS
@Kimplul
Copy link
Owner

Kimplul commented Mar 23, 2023

Hello, thanks for the report. Good catch on the dmesg output, I would've asked for that first. Seems to confirm that the driver is indeed being loaded and should be active.

This seems like it might be in the same league as #54, as of yet not solved. Have you tried different Proton versions?

@yacinbm
Copy link
Author

yacinbm commented Mar 24, 2023

Hi @Kimplul, thanks for getting back to me! So after a good read on the ValveSoftware/steam-runtime#54 thread, I think I'm encountering a similar issue to what is being described. That being said, even when running my games with Proton 5.0-10, I still cannot get the games to recognize my wheel. I also tried adding the udev rule mentioned in the thread, but no luck.

FWIW, I tried F1 2019, Assetto Corsa and Dirt Rally with Proton 5.0-10 and Proton GE 7-20, all three of which do not detect the wheel. I also tried installing the Windows driver through wine in Assetto Corsa, but again, no dice. I'm not really sure what to try next. Any suggestions?

P.S: If it's ok with you, I'll keep this issue going because it's not quite the same issue since even Proton 5.0-10 doesn't work

EDIT:
Small note, I cannot disable steam input for my games, the Controller menu under "My game" > Properties just isn't there.
EDIT2:
I don't know how I missed this, but I just realized that when I run proton run control with the correct prefix, I cannot see my wheel, only an Xbox 360 controller, which I assume is my Steam Deck Controller. I'll try to investigate more, but this seems to point to Wine not being able to see my wheel.

You can see the windows driver installed in my prefix here:
libraries
and the missing wheel here:
control

I also tried switching USB ports, but again, no luck.
EDIT3:
Here is also a screen grab from Oversteer with the wheel turned to the left (as you can see on the slider) which indicates that the wheel is properly handled by the OS.
oversteer

@yacinbm yacinbm changed the title T300RS Not Detect in Steam & Games T300RS Not Detected in Steam & Games Mar 24, 2023
@Kimplul
Copy link
Owner

Kimplul commented Mar 24, 2023

I'm not really sure what to try next. Any suggestions?

I'm afraid I don't have any direct solutions. I have a couple requests to hopefully help debug this below.

P.S: If it's ok with you, I'll keep this issue going because it's not quite the same issue since even Proton 5.0-10 doesn't work

Yep, all good.

Small note, I cannot disable steam input for my games, the Controller menu under "My game" > Properties just isn't there.

You mentioned that you're trying to use the wheel on a Steam Deck. I wonder if the Steam Deck has some custom Steam version or something, or possibly some Linux kernel config that messes things up? We had some issues getting the driver to be detected on a steam deck in ValveSoftware/steam-runtime#48, though that could be entirely unrelated.

Out of curiosity, would you mind trying out

fftest /dev/input/by-id/usb-Thrustmaster_Thrustmaster_T300RS_Racing_wheel-event-joystick

Try effect zero for instance, should feel like a rumble. If the command works and you get FFB effects we can at least narrow down where the issue might possibly be.

[...] but this seems to point to Wine not being able to see my wheel.

What happens when you run wine control? Proton does use Wine internally, but it was mentioned here #54 (comment) that there's some containerisation going on that might prevent Proton from detecting the wheel. If wine control detects the wheel, we might be seeing some aspect of the same bug that was supposedly fixed in the Steam Runtime.

@yacinbm
Copy link
Author

yacinbm commented Mar 24, 2023

You mentioned that you're trying to use the wheel on a Steam Deck. I wonder if the Steam Deck has some custom Steam version or something, or possibly some Linux kernel config that messes things up?

I was having the same thought, but didn't want to pollute my OS just yet, so I haven't tried installing another more standard version of steam. If all else fails, I'll try this out!

Out of curiosity, would you mind trying out
fftest /dev/input/by-id/usb-Thrustmaster_Thrustmaster_T300RS_Racing_wheel-event-joystick

The wheel vibrates as expected.

What happens when you run wine control?

A-HA! I didn't have wine installed by itself, as I was using it through Proton as you mentioned. After I installed it through pacman -Sy wine, running wine control results in:
wine control

Force feedback works as expected through the Control applet, all the buttons and pedals are correctly identified.

Out of curiosity, I tried replacing the wine binaries contained in Proton 5.0/bin/ by simlinks to the new wine executable I just installed and run proton control. The new wine executable did run, but the issue remains. Now I'm not sure how to go about fixing this issue, since I'm not sure if it's related to a Proton behavior, my version of Steam or maybe a permission issue.

I think I'll try installing the Flatpak version of Steam and see if the behavior is the same. I'll report back.

Thanks again for your help!

@yacinbm
Copy link
Author

yacinbm commented Mar 26, 2023

Finally managed to fix my issue!!! Seems like our intuition about the Steam Deck running a custom version of the Steam client was right. I tried installing the default Arch Steam client through pacman -Sy steam, and pacman indicated that the current installed client (steam-jupiter-stable) was different from the one on the Arch repository.

After installing the client from the pacman repo, I could finally see the Controller sub-menu when inspecting the properties of a game. I disabled Steam Input for Assetto Corsa, and the wheel is now detected!

TLDR;
So, for anyone with a similar issue with a racing wheel on the Steam Deck, install the default steam client with sudo pacman -Sy steam. Once installed, open your Steam library, right click on the game you wish to play with your racing wheel and click Properties. In the Controller tab, select disable Steam Input, and launch your game. Your racing wheel should now be detected!

UPDATE
Installing the default version of the steam Linux client led to some issues with compatibility on the deck. Instead, to gain access to the Controller submenu with the Steam Deck's version of steam, launch $HOME/.local/share/Steam/steam.sh manually.

@Kimplul This had nothing to do with your driver, thanks so much for your help, and good freaking work, the driver works beautifully :)

@yacinbm yacinbm closed this as completed Mar 26, 2023
@Kimplul
Copy link
Owner

Kimplul commented Mar 26, 2023

Heck yeah, always nice to hear good news. Thanks for your patience and cooperation, really appreciate it.

Still unsure if this is related to ValveSoftware/steam-runtime#54 or not, but reporting this as a bug to Valve might be a good idea. I had a quick look around https://github.com/ValveSoftware/steam-runtime but didn't find anything matching. Not even sure if the issue is with the runtime or some other part, but still. Would you mind opening up an issue over there, reporting steam versions etc?

@yacinbm
Copy link
Author

yacinbm commented Mar 27, 2023

For future reference, here is the ticket I opened on the Steam Runtime repo.

@yacinbm
Copy link
Author

yacinbm commented Mar 29, 2023

Hey @Kimplul, I got the pedals/buttons working in Dirt Rally using the default T300RS game settings, but I get no steering. I get FFB, all the buttons/pedals work, but no steering. When trying to assign steering left/right, moving the wheel is just not recognized. Any idea what could be happening?

@Kimplul
Copy link
Owner

Kimplul commented Mar 31, 2023

Not sure. Just to check, you did rotate the wheel all the way to the left/right and back to centre when trying to assign steering? Some games seem to require it.

@marlonrichert
Copy link

@yacinbm How did you manage to build hid-tmff2 on your Steam Deck? I’m unable to make it work with the instructions in the Readme here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants