stav nyní:
---------------
1/ nainstaloval jsem program "avrdude" přes Centrum software do /usr/bin/avrdude
2/ pokud spouštím program z terminálu jako sudo, je vše OK:
$ sudo avrdude -p m16 -c dragon_jtag -P usb -U flash:r:output.hex:h
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9403
avrdude: reading flash memory:
Reading | ################################################## | 100% 1.58s
avrdude: writing output file "output.hex"
avrdude: safemode: Fuses OK
avrdude done. Thank you.
3/ pokud spouštím program z terminálu BEZ sudo, dostanu chybu:
$ avrdude -p m16 -c dragon_jtag -P usb -U flash:r:output.hex:h
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"
stav nově:
---------------
1/ chtěl bych používat ubuntu tak, abych nemusel stále dávat předponu sudo, neboť mě silně to omezuje v práci, stále a znova zadávat heslo roota.
2/ zkoušel jsem už změnit vlastníka programu avrdude, ale řešení to nepřineslo
/usr/bin$ chown -hR catwalk ./avrdude
Prosím je nějaké rozumné řešení jiné než se logovat do ubuntu jako root?