Solution! 8-)

FTD2xx is based on libusb.0.1.x (http://www.libusb.org/).
By default the lib is looking for usbfs (deprecated) on /proc/bus/usb.

looking the code I found the solution: we can override the search path!

On same shell you run openocd, set the env var "export USB_DEVFS_PATH=/dev/bus/usb".

Also I add thes udev rules in file /etc/udev/rules.d/45-libftd2xx.rules:

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="cff8", MODE="0666", GROUP="plugdev"


No more need to edit fstab

hope this help

paolo


-------- Original Message --------
Subject:        [Openocd-development] usbfs not more supported by ubuntu
Date:   Mon, 08 Mar 2010 00:07:56 +0100
From:   fpaolo63 <fpaol...@gmail.com>
To:     openocd-development@lists.berlios.de



Hi all,
it seems that starting from Ubuntu kernel 2.6.31.20 the "usbfs" will not
more supported.

I'm using Amontec JTAG based on FTDI D22xx, so for my understanding I
will not more able to use Amontec JTAG.

Am I wrong?

Are there udev rules can help?

Thanks

pf


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

Reply via email to