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 the uinput device: No such device #60

Open
virusz4274 opened this issue Apr 23, 2021 · 2 comments
Open

Failed to open the uinput device: No such device #60

virusz4274 opened this issue Apr 23, 2021 · 2 comments

Comments

@virusz4274
Copy link

Followed instruction on Raspberry pi OS with everything updated on a Raspberry Pi 4
when running yoke, getting this

      Traceback (most recent call last):
        File "/home/virusz4274/.local/bin/yoke", line 80, in <module>
          dev = yoke.Device(args.id, args.name, events=Service.events)
        File "/home/virusz4274/.local/lib/python3.7/site-packages/yoke/service.py", line 73, in __init__
          self.device = uinput.Device(events, name, BUS_VIRTUAL)
        File "/home/virusz4274/.local/lib/python3.7/site-packages/uinput/__init__.py", line 178, in __init__
          self.__uinput_fd = fd or fdopen()
        File "/home/virusz4274/.local/lib/python3.7/site-packages/uinput/__init__.py", line 84, in fdopen
          return _libsuinput.suinput_open()
        File "/home/virusz4274/.local/lib/python3.7/site-packages/uinput/__init__.py", line 70, in _open_error_handler
          raise OSError(code, msg)
      OSError: [Errno 19] Failed to open the uinput device: No such device
@nikty
Copy link

nikty commented Nov 6, 2021

Try doing this as root:

# modprobe uinput
# chmod a+r+w /dev/uinput

@Caitex212
Copy link

Hey, I got the same error but the command didn't help.

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