~ruther/guix-config

71e4ad442b5a825c6cd0e8db707596b07bb90832 — Rutherther 4 months ago 99a4361
feat: ftdi rules
2 files changed, 6 insertions(+), 0 deletions(-)

M config.scm
A udev/51-ftdi.rules
M config.scm => config.scm +3 -0
@@ 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")))

A udev/51-ftdi.rules => udev/51-ftdi.rules +3 -0
@@ 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

Do not follow this link