Hello!

Ricardo Wurmus <rek...@elephly.net> skribis:

> For my AVR programmers I have this in my system configuration:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> (define avrispmkii-udev-rule
>   (udev-rule "90-avrispmkii.rules"
>              "\
> SUBSYSTEM!=\"usb\", ACTION!=\"add\", GOTO=\"avrisp_end\"
>
> # Atmel Corp. JTAG ICE mkII
> ATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2103\", MODE=\"660\", 
> GROUP=\"dialout\"
> # Atmel Corp. AVRISP mkII
> ATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2104\", MODE=\"660\", 
> GROUP=\"dialout\"
> # Atmel Corp. Dragon
> ATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2107\", MODE=\"660\", 
> GROUP=\"dialout\"
>
> LABEL=\"avrisp_end\"\n"))
>
> (operating-system
>   …
>   (services (cons* (modify-services %desktop-services
>                      (udev-service-type config =>
>                                         (udev-configuration
>                                          (inherit config)
>                                          (rules (append 
> (udev-configuration-rules config)
>                                                         (list 
> avrispmkii-udev-rule))))))))
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Should we add this as an optional service or to the default set of udev
rules?

Ludo’.

Reply via email to