Skip to content

Instantly share code, notes, and snippets.

@albertz
Last active February 8, 2019 08:08
Show Gist options
  • Save albertz/979a9d7755ad3bfe914ef4698eec1e29 to your computer and use it in GitHub Desktop.
Save albertz/979a9d7755ad3bfe914ef4698eec1e29 to your computer and use it in GitHub Desktop.
kivy mtdev Permission denied: '/dev/input/event0'
Exception in thread Thread-107:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/home/zeyer/.local/lib/python3.5/site-packages/kivy/input/providers/hidinput.py", line 685, in _thread_run
data = fd.read(struct_input_event_sz)
OSError: [Errno 19] No such device
Exception in thread Thread-108:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/home/zeyer/.local/lib/python3.5/site-packages/kivy/input/providers/mtdev.py", line 290, in _thread_run
_device = Device(_fn)
File "/home/zeyer/.local/lib/python3.5/site-packages/kivy/lib/mtdev.py", line 143, in __init__
self._fd = os.open(filename, os.O_NONBLOCK | os.O_RDONLY)
PermissionError: [Errno 13] Permission denied: '/dev/input/event0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment