Re: [avrdude-dev] usb-iss support

2013-10-15 Thread Per Dalgas Jakobsen
Arg, never mind... USB-ISS cannot be used as a programmer after all. With current firmware the SPI mode does not allow the reset to stay down between SPI-transactions. ~Per On 2013-10-15 10:18, Per Dalgas Jakobsen wrote: Hi I've pruchased a Devantech USB-ISS multi-protocol USB-module, and

Re: [avrdude-dev] USB

2009-11-16 Thread Russell Shaw
Joerg Wunsch wrote: As Russell Shaw wrote: I just got a usb AVRISP. What permission should i fix? You need read/write permission. As these devices are created dynamically, you cannot do that with a plain chmod, but you have to consult your systems dynamic device facilitie's documentation.

Re: [avrdude-dev] USB

2009-11-16 Thread Michal Ludvig
On 11/16/2009 09:12 PM, Russell Shaw wrote: The udev rules are intended for modifying the files in /dev only. However, avrdude is reading stuff in /proc According to your original post it's clearly accessing /dev: open(/dev/bus/usb/007/001, O_RDWR) = -1 EACCES (Permission denied) Modifying

Re: [avrdude-dev] USB

2009-11-16 Thread Russell Shaw
Joerg Wunsch wrote: As Russell Shaw wrote: I just got a usb AVRISP. What permission should i fix? You need read/write permission. As these devices are created dynamically, you cannot do that with a plain chmod, but you have to consult your systems dynamic device facilitie's documentation.

Re: [avrdude-dev] USB

2009-11-16 Thread Joerg Wunsch
As Russell Shaw wrote: Avrdude runs ok as root, but not as a normal user. Sure, device permission problems. This returns -1 and i can't figure out why. That's the way permission problems manifest under Linux: you can still open the USB device in libusb (apparently, this is done through

Re: [avrdude-dev] USB

2009-11-16 Thread Russell Shaw
Joerg Wunsch wrote: As Russell Shaw wrote: Avrdude runs ok as root, but not as a normal user. Sure, device permission problems. This returns -1 and i can't figure out why. That's the way permission problems manifest under Linux: you can still open the USB device in libusb (apparently,

Re: [avrdude-dev] USB

2009-11-16 Thread Russell Shaw
Russell Shaw wrote: Joerg Wunsch wrote: As Russell Shaw wrote: Avrdude runs ok as root, but not as a normal user. Sure, device permission problems. I got it working now. Directory permissions must have been wrong. I did: sudo chmod -R +X /dev/bus

Re: [avrdude-dev] USB

2009-11-15 Thread Joerg Wunsch
As Russell Shaw wrote: I just got a usb AVRISP. What permission should i fix? You need read/write permission. As these devices are created dynamically, you cannot do that with a plain chmod, but you have to consult your systems dynamic device facilitie's documentation. Most Linux systems use