From 71e4ad442b5a825c6cd0e8db707596b07bb90832 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 8 Nov 2024 10:13:38 +0100 Subject: [PATCH] feat: ftdi rules --- config.scm | 3 +++ udev/51-ftdi.rules | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 udev/51-ftdi.rules diff --git a/config.scm b/config.scm index 1dfbfaa..580152d 100644 --- a/config.scm +++ b/config.scm @@ -114,6 +114,9 @@ (udev-rules-service 'quartus-usbblaster (file->udev-rule "51-usbblaster.rules" (local-file "udev/51-usbblaster.rules"))) + (udev-rules-service + 'ftdi + (file->udev-rule "51-ftdi.rules" (local-file "udev/51-ftdi.rules"))) (udev-rules-service 'trezord-udev (file->udev-rule "51-trezor.rules" (file-append trezord-udev-rules "/lib/udev/rules.d/51-trezor.rules"))) diff --git a/udev/51-ftdi.rules b/udev/51-ftdi.rules new file mode 100644 index 0000000..ad468ae --- /dev/null +++ b/udev/51-ftdi.rules @@ -0,0 +1,3 @@ +# FTDI +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="6010", GROUP="dialout", TAG+="uaccess" +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6012", MODE="6010", GROUP="dialout", TAG+="uaccess" \ No newline at end of file -- 2.48.1