libftdi Archives

Subject: Re: usb.h

From: Florian Beier <florian.beier@xxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 9 Sep 2009 18:21:52 +0200
On Wed, Sep 9, 2009 at 4:53 PM, Florian
Beier<florian.beier@xxxxxxxxxxxxxx> wrote:
> On Wed, Sep 9, 2009 at 4:49 PM, Michael Plante<michael.plante@xxxxxxxxx> 
> wrote:
>>>> libftdi needs the libusb lib, but there is only a libusb.h file. So
>>
>> Are you sure you have libusb-win32
>
> well, no! I used the linkon the website: http://www.libusb.org/
>
>>  , as opposed to some other version of libusb?  My copy only has usb.h, not 
>> libusb.h.  I think the name changed from usb.h to libusb.h from 0.1 to 1.0, 
>> but currently, AFAIK, 1.0 is unavailable for win32, and libftdi doesn't 
>> (yet) use 1.0.  In other words, if you download the correct libusb, it 
>> should work.
>
> Ok, thanks. I will have a look at the win version!

Ok, libusb-win32 did the trick, thx!
My number_of_devices = ftdi_usb_find_all(&ftdi, &list, 0x0403,
0x6010); returns always 0 devices.
Any idea what I am missing? Device is FTD2232D an the line above works
fine in my linux system.
Thanks, Florian

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread