libftdi Archives

Subject: Re: possible bug in_usb_bulk_write_async?

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sun, 11 Dec 2011 21:19:07 +0800
On Sun, Dec 11, 2011 at 8:33 PM, Akos Vandra <axos88@xxxxxxxxx> wrote:
> Also I would like to ask why are you still using ioctl to submit the
> url, as libusb-1.0 has functions to do that, and as far as I know
> libftdi is now based on libusb-1.0?
>

libftdi-1.0 is based on libusb-1.0.
http://developer.intra2net.com/git/?p=libftdi

I think you are looking at the legacy branch which is based on
libusb-0.1 so that it has to use usbfs ioctl to do async transfer.
I think that one is more like a hack and you should look at
libftdi-1.0 for async mode.
http://developer.intra2net.com/git/?p=libftdi;a=tree;h=refs/heads/libftdi-0.x;hb=libftdi-0.x
-- 
Xiaofan

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

Current Thread