Sample udev rules

This commit is contained in:
Matthew Mets 2022-12-28 18:25:38 +01:00
parent 3938edef80
commit 4f0e1e85ea

View File

@ -0,0 +1,7 @@
# CH552 bootloader (for unprogrammed CH552 chips)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="4348", ATTR{idProduct}=="55e0", MODE="0666", GROUP="dialout"
# TP-1 programmer
SUBSYSTEMS=="hidraw", KERNEL=="hidraw*", MODE="0666", GROUP="dialout"
ATTRS{idVendor}=="cafe", MODE="0660", GROUP="dialout"