Skip to content

Using USB ASP as a regular user


To use your USB Asp as a regular user (non root) you must add the following rule to /etc/udev/rules.d


$ sudo pico /etc/udev/rules.d/99-usbasp.rules


SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="16c0", SYSFS{idProduct}=="05dc", MODE="0666"

Save the file, reboot and you will be able to use USB Asp as a non-root.


Published inArduino


  1. Jo bu Jo bu

    Well, that does not do the trick anymore:

    "In newer versions of udev the SYSFS field has changed to ATTR"

    so the rule now has to be:

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="16c0", ATTR{idProduct}=="05dc", MODE="0666", GROUP="uucp"

    or you will get this error:

    unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/99-USBasp.rules

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.