I cannot force Avrdude to use a connected USB based programmer.
Invoking avrdude with -vv option yields this:
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/user/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/bus/usb/003/007
Using Programmer : usbasp-clone
avrdude: usbasp_open("/dev/bus/usb/003/007")
avrdude: Warning: cannot open USB device: Permission denied
avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc
avrdude: usbasp_close()
avrdude done. Thank you.
A part of my /etc/udev/rules.d/USBasp.rules is as follows:
USBasp programmer
ATTRS{vid}=="0x16c0", ATTRS{pid}=="0x5dc", GROUP="usb", MODE="0666"
dmesg according to a this programmer shows this:
[ 3052.476551] usb 3-1.2: new low-speed USB device number 8 using ehci-pci
[ 3052.562281] usb 3-1.2: New USB device found, idVendor=16c0, idProduct=05dc
[ 3052.562292] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3052.562298] usb 3-1.2: Product: USBasp
[ 3052.562303] usb 3-1.2: Manufacturer:
www.fischl.de
port manually entered in a Burn O Mat (Gui for Avrdude) settings is:
/dev/bus/usb/003/007
How can I fix that ?