On Sunday 21 February 2010, Arne Pagel wrote:
> Hello,
> perhaps this is my fault but I can't find a hint in the OpenOCD-Docs for 
> enabling USB Dongles as 
> normal user on Linux Systems.

One hint is in the README file:

  ==================
  Installing OpenOCD
  ==================

  On Linux, you may have permissions problems to address.  The best
  way to do this is to use the contrib/udev.rules file.  It probably
  belongs somewhere in /etc/udev/rules.d, but consult your operating
  system documentation to be sure.  ...

Though of course the name is now "openocd.udev" not "udev.rules"; I'll
fix that.


> I created a new rule-file for udev to get my Luminary ICDI Board working
> as normal user on my ubuntu  system:
> 
> /etc/udev/rules.d/99-openocd.rules
> 
> # Luminary ICDI Board:
> SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb", ATTRS{idVendor}=="0403",
> ATTRS{idProduct}=="bcda", MODE:="0666"

Try the "contrib/openocd.udev" file instead ... I use "81-openocd.rules"
instead, the difference likely doesn't matter much.

If there are differences which do matter, please submit a patch.


> I think something like this would be a good extension in the documentation, 
> perhaps in chapter
> 8 Interface - Dongle Configuration, or in the FAQ

I'd have thought more like chapter 4 on Running OpenOCD ... chapter 8 is
about Tcl support.  I'll add a mentions in both places about the need for
OS-level setup ... chapter 4 will mention udev for Linux, and driver stuff
for MS-Windows.

However, the User's guide is not the place for OS-specific details, so
I won't add them in either place.

- Dave


- Dave
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to