jevois-inventor icon indicating copy to clipboard operation
jevois-inventor copied to clipboard

udev rule to fix permissions and modemmanager access

Open ohsix opened this issue 5 years ago • 0 comments

SUBSYSTEM=="tty", ENV{ID_VENDOR_ID}=="1d6b",ENV{ID_MODEL_ID}=="0102", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1", ENV{ID_MM_CANDIDATE}="0"

it's a one liner, stick it in /etc/udev/rules.d/69-javois.rules and plug the camera in again

TAG+=uaccess adds an acl for the console user and ID_MM_* tells modemmanager what the ACM port is for (if it weren't an acm port modemmanager would be a lot less aggressive)

the 69 in the rules filename is important but there's no formula for deriving it, it has to be in the 60 range for fedora, it will probably work on debian/ubuntu but may not

thanks

ohsix avatar Jun 01 '19 05:06 ohsix