[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] USB
From: |
Ormund Williams |
Subject: |
Re: [avrdude-dev] USB |
Date: |
Mon, 16 Nov 2009 03:58:11 -0500 |
On Mon, 2009-11-16 at 16:52 +1100, Russell Shaw wrote:
> Hi,
> I just got a usb AVRISP. What permission should i fix? :
>
> strace avrdude -p m8535 -c avrispmkII -P usb -v -U flash:w:proj.hex
>
> open("/dev/bus/usb/007/001", O_RDWR) = -1 EACCES (Permission denied)
> ...
>
> dev/bus/usb/007/001 exists, but i don't know what to do about the
> permissions in this part of the system (debian/unstable).
>
> ls -l /dev/bus/usb/007/001
> crw-rw-r-- 1 root root 189, 768 2009-11-16 16:15 /dev/bus/usb/007/001
>
>
> Avrdude 5.8
>
>
I created a new group called "isp" then added the following lines to
my /etc/udev/rules.d/91-permissions.rules
# AvrISP
SUBSYSTEM=="usb_device", GROUP="isp", \
ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2104"
With that any member of the group isp can access the avrisp2.
--
Ormund Williams
OrmLab LLC
Re: [avrdude-dev] USB,
Ormund Williams <=