I figured out the problem, this was *NOT* very clear 
The user manual could be improved as follows:

------------------


a) In section 4, change:


FROM:  On Linux, this usually involves installing a file in /etc/udev/rules.d,

TO:   On Linux, this requires a rules file in /etc/udev/rules.d [See the FAQ 
for more details]


b) Add a new entry to the FAQ

   Debugging Linux USB and UDEV rules

   First, determine if your adapter is being recognized, use:  “lsusb”  and 
verify your adapter is listed. If needed, try the lsusb command with your 
adapter plugged in, and with it removed.

   Second has to do with permissions which are handled by Linux UDEV

   Openocd provides a UDEV file named:  “openocd.udev” you must copy/rename 
this file to exactly:
       /etc/udev/rules.d/60-openocd.rules

   The number 60 is an example, can be any number you choose,
   The file must be owned by root, group root.
   The file must be chmod 0644

      Third, make sure you are a member of the group “plugdev”

       Tell UDEV to reload the configuration files, or reboot your machine.

       If you still have problems, as root:

                (Kill the UDEV deamon)
               bash# pkill  udevd
                (Launch the UDEV deamon in debug mode)
                bash# udevd —debug

        Make sure your ‘openocd.rules’ file is listed

        Users should rarely have to resort to this: Lastly determine the 
VID/PID of your device (lsusb will tell you this)
        And verify that the VID/PID of your device is actually listed in the 
openocd.udev file


------------------

On Feb 22, 2014, at 5:39 AM, Andreas Fritiofson <andreas.fritiof...@gmail.com> 
wrote:

> 
> 
> 
> On Sat, Feb 22, 2014 at 8:45 AM, Paul Fertser <fercer...@gmail.com> wrote:
> What you did looks correct. "udevadm control --reload-rules" could
> have saved you a reboot. Should be added to the manual, ack.
> 
> 
> I think udev reloads the rules automatically. I had to edit a rules file a 
> few days ago to add a PID and it worked right away without further action. 
> Maybe it's distro dependent, but this was also 12.04 LTS. 
> 
> /Andreas

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to