USBasp unter Linux
Um den USBasp von Thomas Fischl unter Linux ohne root Rechte mit AVRdude zum Laufen zu bringen war ein Eintrag im Objective Development Forum sehr hilfreich. Unter Ubuntu 10.04 und aufwärts war das nicht mehr erforderlich.
This depends on your Linux configuration. As far as I know, you can configure hotplug to set less restrictive permissions for particular USB devices. By default, only root has full access.
Hi all, with christian suggestions and some googling I used these simple instructions for adding permissions to users for using usb device:
How to add user permission for USBasp (I have tested this method in ubuntu 7.10): source: http://www.bitpim.org/help/
Create new rule for udev
sudo gedit /etc/udev/rules.d/60-objdev.rules Edit new rule in gedit and add following:SUBSYSTEM!="usb_device", ACTION!="add", GOTO="objdev_rules_end" # USBasp SYSFS{idVendor}=="16c0", SYSFS{idProduct}=="05dc", GROUP="users", MODE="666" LABEL="objdev_rules_end" Restart udev.
sudo /etc/init.d/udev restart
Debian scheint SYSFS nicht zu verstehen. Alternative geht:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", MODE="0666", SYMLINK+="USBasp"