Skip to content

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

Open

Description

@virusz4274

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

Activity

  1. nikty commented on Nov 6, 2021

    @nikty

    Try doing this as root:

    # modprobe uinput
    # chmod a+r+w /dev/uinput
    
  2. Caitex212 commented on Dec 23, 2023

    @Caitex212

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions