diff options
| author | historia <historiavg@proton.me> | 2026-09-06 14:08:42 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-09-06 14:08:42 -0400 |
| commit | 7b1f08ef608adc0650bf90565304580318a2cd01 (patch) | |
| tree | 2370db6478a7ebbfe54066971ce1c8c2887bba25 /vrising-cam.py | |
| parent | 40f108547126a3402d2285fe7e3353f0afddb24d (diff) | |
| download | vrising-camera-7b1f08ef608adc0650bf90565304580318a2cd01.tar.gz | |
0bsd license
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 = """\ |
