How do I allow automatic non root access to my non standard USB device ?

Dr. Diesel dr.diesel at gmail.com
Tue Jan 20 00:25:36 UTC 2009


On Mon, Jan 19, 2009 at 7:20 PM, Linuxguy123 <linuxguy123 at gmail.com> wrote:

>
> I'm doing some embedded development and my flash programmer has a USB
> interface.  Everything works fine if I program the device as root, but
> I'd like to be able to do it as a regular user.  I get port permission
> errors if I try to run the programmer as a regular user.
>
> $ lsusb
> Bus 002 Device 003: ID 064e:a101 Suyin Corp. Laptop integrated WebCam
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 007 Device 006: ID 15ba:0003 Olimex Ltd. OpenOCD JTAG
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 006 Device 002: ID 046d:c512 Logitech, Inc. LX-700 Cordless Desktop
> Receiver
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial
> Port
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 004: ID 07ca:a321 AVerMedia Technologies, Inc.
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 003: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth +
> WLAN) Interface [Integrated Module]
> Bus 003 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint
> Sensor
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>
>
> My programmer is the Olimex Ltd. OpenOCD JTAG device on bus 7.
>
> The documentation for the device says it needs access to /proc/bus/usb.
>
> I can allow regular user access by manually issuing a chown command for
> the port, but then I'd have to do it every time I reboot or unplug the
> programmer.   How do I set it up to happen automatically in F10 ?
>
> Thanks


You could probably just put "chmod -R 777 /dev/ttyUSB*" into /etc/rc.local,
but this is not a development question, please post this somewhere else like
fedoraforum.org.

Thanks



-- 
projecthuh.com
All of my bits are free, are yours?  Fedoraproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090119/c9d17a80/attachment.htm>


More information about the fedora-devel-list mailing list