ckcc-protocol icon indicating copy to clipboard operation
ckcc-protocol copied to clipboard

update udev rules

Open pythcoiner opened this issue 1 month ago • 2 comments

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 have plugdev group (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 plugdev group 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

pythcoiner avatar Oct 27 '25 12:10 pythcoiner

sure, I've only machines running archlinux, but I can try few others distros on vms w/ usb passthrough

pythcoiner avatar Oct 27 '25 13:10 pythcoiner

I've been reported that SUBSYSTEM=="usb" seems problematic in some configs, so likely to be dropped

pythcoiner avatar Oct 31 '25 09:10 pythcoiner