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

Linuxguy123 linuxguy123 at gmail.com
Wed Jan 21 00:54:50 UTC 2009


On Mon, 2009-01-19 at 17:20 -0700, Linuxguy123 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 !

Anyone ?




More information about the fedora-devel-list mailing list