On Sat, Sep 10, 2011 at 3:16 AM, Joerg Wunsch <libftdi@xxxxxxxxxxxxxxxxx> wrote:
> Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
>
>>> Joerg> It's puzzling. First, libftdi uses the old libusb-0.1 interface
>
>> libftdi-1.0 uses libusb-1.0.
>
> Well, then I'm confused the more ... I've been grabbing a git
> snapshot, and it was using the 0.1 API. If I understand you right,
> you've got two different trees, so I probably got the wrong one.
Correct.
http://www.intra2net.com/en/developer/libftdi/repository.php
The main difference is the async API in libftdi-0.19 is
only for Linux (based on usbfs) and might not be
enabled due to potential conflict with libusb-compat-0.1
some Linux distros are using.
The libftdi-1.0 async API is based on libsub-1.0 and
as a result it should work for Linux, Mac OS X,
FreeBSD and Windows.
> Anyway, as my main objective was to get FT232H support, and the FT232H
> is mentioned in the (post-0.19) 0.1 code, too, it should still work I
> think. (But I'll see to repeat that with the libftdi-1 code base as
> well.)
I agree.
--
Xiaofan
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|