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
Betaflight JoyStick HID not working on Linux #9377
Comments
It looks like your configurations corrupted.
I would recommend setting back to |
oh yeah, thanks for pointing that out, I didn't see that. The config is fixed now. But it looks like the corrupted config isn't the cause of my issue. |
Not sure what the problem here is, but pretty sure it is not Betaflight. If |
I'm very sorry for wasting everyones time here. I went ahead and bought yet another simulator (Liftoff) and it picked up everything just fine. |
@fr4nk3n5731n I assume all these tests are with Steam on Linux? Because I have a similar issue where jstest and jstest-gtk detect the HID device just fine (albeit with only 8 out of 10 axes), but neither Steam nor Liftoff detect it at all. |
@jrial yes with steam on linux, but like I said in my previous message Liftoff detects everything just fine. So I'm guessing FPV Freerider used some ancient library andDRL relies on Windows libraries that I lack with proton. Make sure your user is in the |
@fr4nk3n5731n Like I said, it gets detected just fine under jscal and jscal-gtk, so it's not a permission issue. I just want to rule out the Steam/Linux combo as the possible culprit. If you got it working with Steam on Linux, it means my problem lies elsewhere. ps: do you see the controller only in Liftoff, or does it also show up in Steam? |
the controller only shows up in Liftoff, steam can't see it. |
Finally got it working. Thanks a bundle for the help, @fr4nk3n5731n! |
Hi all, this issue seems a bit old already, but I thought it might fit here as well. I am facing the issue, that a dmesg prints the following output
Also running Running Steam on the console prints the following output, but the controller is not detected by Steam or by Liftoff.
To me, this looks like maybe a driver is not loaded for the device. |
@mkroehnert try starting Liftoff outside of Steam instead, that "fixed" it for me. So I'm suspecting Steam or rather Steams input detection/mapping to be the culprit. |
@mkroehnert For me the issue was that I assumed the controller to show up in Steam, with the other controllers I have connected. It doesn't. It also doesn't work to navigate the menus in Liftoff, only for actual flying, IIRC. Can't really test it now as I'm at work, but I gathered some info via remote shell. My dmesg looks similar to yours:
My list of loaded usb/hid/joystick related kernel modules:
|
@JohnieBraaf @fr4nk3n5731n thanks for the quick response and the pointers. I'll see if they help me getting this to work. |
@JohnieBraaf @fr4nk3n5731n wanted to let you know, that I got it to work eventually. |
I know this is an old thread, but just wanted to say thank you: running LiftOff outside of steam worked immediately with my BetaFPV Literadio SE 2. The option 'Steam Input-Per-Game' is no longer available, tho there is a Controller tab and forcing everything off also didn't work for me. EDIT: If you launch Big Picture mode you can select Liftoff -> Manage Game -> Controller Options -> Forced Off. Launch the game from Big Picture mode and the controller gets detected. |
Just in case it might be useful to someone, as it took me quite a long time to figure out: after adding a user to 'input' group a restart/relogin is required (a groups are applied on login). Without it jstest-gtk detected the betaflight HID but the game didn't. I got clued in by having "evtest /dev/input/event0" not working due to permission which was solved by simple restart. |
having this same issue with a orangerx usb rx. i saw somewhere that if you put i can see it show up in jstest-gtk and the reported channels react how i think they should. however nothing on steam, and an online game pad tester wont work either. any help would be appreciated. |
Describe the bug
No games (neither native nor proton) detect any inputs from the betaflight HID
To Reproduce
enable HID on the flight controller, connect transmitter, launch some simulator and watch nothing happen with the input channels in the game.
Expected behavior
input from the transmitter is picked up by the game.
Flight controller configuration
Use
resource show all
to create a resource allocation list and post it here in a code block. Put (three backticks) at the start and end of the output block.Setup / Versions
Additional context
Receiver input is being picked up in the receiver tab in betaflight.
The HID gets detected in Drone Race League Simulator in this specific case but no inputs are being detected (it's the same for the native version of FPV Freerider).
The user used to play games is in the input group.
jstest-gtk detects inputs from the HID
The text was updated successfully, but these errors were encountered: