Add some udev rules for dev boards

This commit is contained in:
fruchti 2023-02-26 20:08:16 +01:00
parent 48db3381b4
commit 96dbda3ea2

View file

@ -13,4 +13,18 @@
members = [ "fruchti" ]; members = [ "fruchti" ];
}; };
}; };
services.udev.extraRules = ''
# ESP32 devkit USB-serial
SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="55d4", MODE="0660", GROUP="plugdev"
# Prolific USB-TTL
SUBSYSTEM=="tty", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", MODE="0660", GROUP="plugdev"
# OpenBench Logic Sniffer
SUBSYSTEM=="tty", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fc92", MODE="0660", GROUP="plugdev", SYMLINK+="OpenLogicSniffer"
# ST-LINK/V2
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", MODE="0660", GROUP="plugdev"
'';
} }