工作系統看到的東西時,我插頭插入並拔出:AVRISP MKII不AVRDUDE在Linux上
[email protected]:/dev$ tail -f /var/log/syslog
Mar 23 15:36:35 Matapan kernel: [156082.112874] usb 7-1: new full speed USB device using uhci_hcd and address 6
Mar 23 15:47:19 Matapan kernel: [156726.248081] usb 7-1: USB disconnect, address 6
Mar 23 15:47:29 Matapan kernel: [156736.200148] usb 6-1: new full speed USB device using uhci_hcd and address 3
AVRISP MKII應該依靠CDC-ACM:
[email protected]:/dev$ modinfo cdc-acm -V
module-init-tools version 3.12
所以它應該能夠看到它很好,但我無法寫信給它。
avrdude -p m1280 -c avrispmkII -P usb -U test.hex
返回
avrdude: usb_open(): cannot read serial number "error sending control message: Operation not permitted"
avrdude: usb_open(): cannot read product name "error sending control message: Operation not permitted"
avrdude: usbdev_open(): error setting configuration 1: could not set config 1: Operation not permitted
avrdude: usbdev_open(): did not find any USB device "usb"
謝謝!這爲我節省了幾個小時的時間。 – 2011-03-25 21:44:14
小錯誤:用「sudo service udev restart」重新啓動udev – 2011-11-05 23:59:42
謝謝。我在linux mint上遇到了這個問題,也許它可以提供幫助。在linux mint中用ATTRS代替SYSFS – Nelstaar 2012-10-27 20:37:39