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

failed to open uinput device: No such device #234

Open
gmankab opened this issue Apr 2, 2024 · 4 comments
Open

failed to open uinput device: No such device #234

gmankab opened this issue Apr 2, 2024 · 4 comments

Comments

@gmankab
Copy link

gmankab commented Apr 2, 2024

Apr 02 07:17:08 fedora systemd[1]: Started ydotool.service - Starts ydotoold service.
Apr 02 07:17:08 fedora ydotoold[190083]: failed to open uinput device: No such device
Apr 02 07:17:08 fedora systemd[1]: ydotool.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 02 07:17:08 fedora systemd[1]: ydotool.service: Failed with result 'exit-code'.

os: fedora silverblue
compositor: hyprland installed via rpm-ostree
ydotool is also installed via rpm-ostree

@gmankab
Copy link
Author

gmankab commented Apr 2, 2024

tested on gnome which is preinstalled on fedora silverblue, same issue

@corubba
Copy link

corubba commented Apr 18, 2024

I ran into this because the user didn't have read+write permissions on /dev/uinput. I only needed it for a quick one-off use, so went with sudo chmod a+rw /dev/uinput to fix it. As a long term solution, you are better of with a udev rule that assigns a group and grants read+write to that group (instead of everybody like with that chmod).

@gmankab
Copy link
Author

gmankab commented May 1, 2024

thanks

@Paiusco
Copy link
Contributor

Paiusco commented May 3, 2024

@ReimuNotMoe maybe this can be fixed somehow? Or add a check if this is the case on /dev/uinput we can at least let the user know what to do?

What do you think would be a good approach?

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