On Thu, Jan 14, 2010 at 1:25 AM, Pete Batard <pbatard@xxxxxxxxx> wrote:
> On 2010.01.13 14:32, Jie Zhang wrote:
>> There is one FIXME in ftdi_usb_open_string, which I don't know how to
>> get dirname and filename from libusb_device. It still only supports
>> libusb-1.0. But we have libusb-1.0 for Windows XP and later now...
> Yeah, I had the same problem too, and I just set ftdi_usb_open_string to
> return "unsupported". It wasn't a problem for me as openocd doesn't use it,
> and I only was trying to get openocd working with libusb 1.0
If anybody know how we can achieve this in libusb 1.0, please let us know.
>> I know you also have a modified version of libftdi. But I don't know
>> which one is better. Could you take a look?
> Yours is definitely a lot better than mine. Mine was a quick and dirty fix,
> and is not really meant to be published. I'm attaching my diff file
> nonetheless, if you want to have a look, but I don't think there's anything
> in it that isn't already better covered with yours.
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx