On Tue, Nov 8, 2011 at 11:31 AM, Nils Hesse <[email protected]> wrote: > Hi all, > > I have a selfmade JTAG adapter using a FT2232H and a CPLD for copying > other adapters ^^ > > My problem is: > > On Ubuntu (11.10) there is a driver named ftdi_sio. This is the > standard driver for the USB -> RS232 converters of the FT2232H. > > When the driver is loaded it claims both interfaces (A and B) of the > FT2232H so I can't use the interface A for JTAG. > Simple fix, unload the driver. > > But I want to be able to use interface A as JTAG and interface B as an > USB -> RS232 converter. > > For now quick fix is: Start OpenOCD so it claims the interface A. Load > the ftdi_sio driver so it only can claim the interface B. This works > but if I disconnect the adapter and reconnect it to the computer I > have to do it again. > > Is there a known fix for this? >
You can try to use a udev to detach the kernel ftdi_sio driver for Interface A. Eg: http://libusb.6.n5.nabble.com/Automatic-detach-of-a-HID-device-using-udev-Re-How-to-dump-HID-report-descriptor-under-Linux-td3330260.html -- Xiaofan ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Openocd-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
