ckcc-protocol
ckcc-protocol copied to clipboard
update udev rules
I recently hit a connectivity issue w/ my mk4 on archlinux after an OS update.
My understanding of this thread that seems related is:
- systemd < 258 were silently ignoring
GROUP="plugdev"on systems that don't haveplugdevgroup (like archlinux) - from systemd 258 recently released, it does not ignore anymore, thus systems that were working w/ coldcard previously but that dont have a
plugdevgroup cannot access to the hid interface anymore.
archlinux advice to use TAG+="uaccess" restricting access to logged-in users rather than a group.
all others signing devices vendor that I've checked uses combinations of TAG+="uaccess" + TAG+="udev-acl" (seems to be kept for compatibilty w/ older systems) + (inline) SUBSYSTEM=="usb"
This PR apply the same scheme
sure, I've only machines running archlinux, but I can try few others distros on vms w/ usb passthrough
I've been reported that SUBSYSTEM=="usb" seems problematic in some configs, so likely to be dropped