diff options
Diffstat (limited to 'vrising-cam.py')
| -rwxr-xr-x | vrising-cam.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/vrising-cam.py b/vrising-cam.py index c2a6666..feae2be 100755 --- a/vrising-cam.py +++ b/vrising-cam.py @@ -43,13 +43,16 @@ kernel input headers (linux/input.h): """ UINPUT_HINT = """\ -uinput access is missing. Fix one of two ways: +uinput access is missing (/dev/uinput could not be opened for writing). +Fix one of two ways: a) quick: rerun with sudo: sudo {script} - b) one-time setup to run as your normal user (recommended): - echo 'KERNEL=="uinput", MODE="0660", GROUP="input", TAG+="uaccess"' | sudo tee /etc/udev/rules.d/70-vrising-cam.rules + b) grant your user write access to /dev/uinput: membership in the + "input" group is enough on most distros (Arch included); if your + distro ships /dev/uinput root-only (e.g. Debian/Ubuntu), add a udev + rule for it, e.g.: + echo 'KERNEL=="uinput", MODE="0660", GROUP="input"' | sudo tee /etc/udev/rules.d/70-vrising-cam.rules sudo udevadm control --reload-rules && sudo udevadm trigger - sudo usermod -aG input $USER - (log out and back in so the input group applies) + (then log out and back in if the group membership is new) """ DEV_PERM_HINT = """\ |
