基本プロジェクト:
[root@host14 rules.d]# avrdude -c USBASP -p m328p
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
ルート以外のユーザーは、次のことを行いません。
[user0@host14 ~]$ avrdude -c USBASP -p m328p
avrdude: Warning: cannot open USB device: Permission denied
avrdude: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc
avrdude done. Thank you.
次のようにルールが追加されました/etc/udev/rules.d/21-usbasp.rules
。
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", GROUP="users", MODE="0666"
私は何が間違っていましたか?