If the following error occurs with an USBasp programmer on Linux (in the Arduino IDE):
avrdude: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc
Edit the udev rules:
cd /etc/udev/rules.d/
Create a new rule:
sudo nano 77-usbasp.rules
paste:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", GROUP="plugdev", MODE="0667"
... save
sudo chmod 777 77-usbasp.rules
sudo chown -R "user" 77-usbasp.rules
/etc/init.d/udev restart
Now it should be possible to upload with USBasp and the Arduino IDE.
(Arduino 1.0.5 @ Xubuntu 14.04 LTS 64bit)
Labels: Programmer