Giter Site home page Giter Site logo

Comments (10)

yacinbm avatar yacinbm commented on June 3, 2024 1

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!

from hid-tmff2.

yacinbm avatar yacinbm commented on June 3, 2024 1

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

from hid-tmff2.

Kimplul avatar Kimplul commented on June 3, 2024

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?

from hid-tmff2.

yacinbm avatar yacinbm commented on June 3, 2024

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

from hid-tmff2.

Kimplul avatar Kimplul commented on June 3, 2024

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.

from hid-tmff2.

yacinbm avatar yacinbm commented on June 3, 2024

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 :)

from hid-tmff2.

Kimplul avatar Kimplul commented on June 3, 2024

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?

from hid-tmff2.

yacinbm avatar yacinbm commented on June 3, 2024

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?

from hid-tmff2.

Kimplul avatar Kimplul commented on June 3, 2024

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.

from hid-tmff2.

marlonrichert avatar marlonrichert commented on June 3, 2024

@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.

from hid-tmff2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.