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

Debian Linux pitch rotation stutters in DCS #1840

Open
Wanchos opened this issue Apr 27, 2024 · 10 comments
Open

Debian Linux pitch rotation stutters in DCS #1840

Wanchos opened this issue Apr 27, 2024 · 10 comments

Comments

@Wanchos
Copy link

Wanchos commented Apr 27, 2024

Hi i have a problem using my delanclip to track my head in DCS. I can bind my yaw and pitch but the yaw is set as JOY_RY and pitch as JOY_Z. The JOY_Z seems to be the only axis to stutter while the other ones work fine any ideas? I am using libevdev as output.

@Wanchos
Copy link
Author

Wanchos commented Apr 27, 2024

So obviously the axis is output wrongly and if i try with steam input then my pitch becomes the left and right trigger. I probably have to change the output? So when i press the configure button for libevdev it says that it needs read write permission for /dev/input/uinput. Does that mean i have to put opentrack in the root group and give it read write privileges? Thanks for any help!
Screenshot from 2024-04-28 00-56-51

@Wanchos
Copy link
Author

Wanchos commented Apr 28, 2024

So i tried opentrack in Euro truck simulator 2 and the there was no problem so it might be a DCS problem.

@sthalik
Copy link
Member

sthalik commented May 9, 2024

it says that it needs read write permission for /dev/input/uinput. Does that mean i have to put opentrack in the root group and give it read write privileges?

No.

Your distro might already be taking care of it. First try

ls -l /dev/input/uinput

There might already be an input or similar group to add your user into. However, the device node might not exist at all and instead be located at /dev/uinput (in which case it needs a symlink).

In the short term,

chmod 666 /dev/input/uinput

and see if it works at all ingame.

Then you can start figuring out how to add a udev rule which is the proper solution here.

@Wanchos
Copy link
Author

Wanchos commented May 22, 2024

Hello thanks for your fast answer. For me uinput is in /dev/uinput. I tried to chmod uinput but have the same issues do you have a recommended solution for me?

@sthalik
Copy link
Member

sthalik commented May 23, 2024

Try this as root:

ln -s /dev/uinput /dev/input/uinput
chmod 666 /dev/input

@Wanchos
Copy link
Author

Wanchos commented May 23, 2024

Try this as root:

ln -s /dev/uinput /dev/input/uinput
chmod 666 /dev/input

I tried your suggestion and dcs could not detect any of my devices (hotas, opentrack etc) after running the commands. Is there something else that i could try? Btw i also want to clarify that my opentrack install is in my home folder just in case that is relevant.

@sthalik
Copy link
Member

sthalik commented May 23, 2024

Was DCS previously able to use your HOTAS controllers? Is it the case that making uinput available suddenly makes it unable to detect anything?

@Wanchos
Copy link
Author

Wanchos commented May 23, 2024

Yes DCS was previously able to use my hotas controllers and detect opentrack. Making uinput available in the way you suggested seems to make DCS unable to detect anything.

@sthalik
Copy link
Member

sthalik commented May 23, 2024

You could try making a virtual joystick using the xboxdrv program and see if DCS detects it, without doing the uinput thing that I suggested earlier.

@Wanchos
Copy link
Author

Wanchos commented May 23, 2024

I will give xboxdrv a try when I have some time otherwise I will try to see if the same thing happens on other distros. In worst case I will have to install windows I guess. Thanks for your time and help!

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

No branches or pull requests

2 participants