From d9ade3335206f05a1058f32f2ed19c971ffc9f31 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 11 Oct 2024 09:29:15 +0200 Subject: [PATCH] feat: usbblaster udev rules --- config.scm | 4 ++++ udev/51-usbblaster.rules | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 udev/51-usbblaster.rules diff --git a/config.scm b/config.scm index 1ff52b9..5ce1fe9 100644 --- a/config.scm +++ b/config.scm @@ -106,6 +106,10 @@ (service pam-limits-service-type (list (pam-limits-entry "@wheel" 'both 'core 'unlimited))) + + (udev-rules-service + 'quartus-usbblaster + (file->udev-rule "51-usbblaster.rules" (local-file "udev/51-usbblaster.rules"))) (udev-rules-service 'openocd-udev (file->udev-rule "60-openocd.rules" (file-append openocd "/lib/udev/rules.d/60-openocd.rules"))) diff --git a/udev/51-usbblaster.rules b/udev/51-usbblaster.rules new file mode 100644 index 0000000..9861fa2 --- /dev/null +++ b/udev/51-usbblaster.rules @@ -0,0 +1,8 @@ +# Intel FPGA Download Cable +ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6001", MODE="660", GROUP="dialout", TAG+="uaccess" +ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6002", MODE="660", GROUP="dialout", TAG+="uaccess" +ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6003", MODE="660", GROUP="dialout", TAG+="uaccess" + +# Intel FPGA Download Cable II +ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6010", MODE="660", GROUP="dialout", TAG+="uaccess" +ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6810", MODE="660", GROUP="dialout", TAG+="uaccess" \ No newline at end of file -- 2.48.1