Re: LibFTDI/LibUSB 1.0 and Asyncrhonous I/O on FreeBSD

2013-07-23 Thread CeDeROM
On Tue, Jul 23, 2013 at 9:03 PM, Hans Petter Selasky  wrote:
> On 07/23/13 20:10, CeDeROM wrote:
>> question is it possible to use this Asynchronous I/O with FreeBSD
>> implementation of LibUSB, or more specifically is it possible to use
>> LibFTDI 1.0 to improve speed of my driver for FT2232 chip? :-)
>
> Hi,
> It is implemented and should work! Please note that you should not mix
> synchronous and asynchronous requests, with exception of control transfers.
> If you are programming a bulk endpoint, use either all synchronous or all
> asynchronous.
> --HPS

Wow! Good news! Thank you Hans!! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: LibFTDI/LibUSB 1.0 and Asyncrhonous I/O on FreeBSD

2013-07-23 Thread Hans Petter Selasky

On 07/23/13 20:10, CeDeROM wrote:

Hello :-)

LibUSB 1.0 introduced Asyncrhonous I/O [1] which in conjuction with
LibFTDI 1.0 [2] gives significant performance improvement on FT2232*
based chips used in various UART/JTAG/SWD interfaces. I am working on
LibSWD [3] and would like to use this Asyncrhonous I/O on my FreeBSD
box. I know there is an internal BSD implementation of LibUSB, so my
question is it possible to use this Asynchronous I/O with FreeBSD
implementation of LibUSB, or more specifically is it possible to use
LibFTDI 1.0 to improve speed of my driver for FT2232 chip? :-)

Any hints appreciated! :-)
Tomek

[1] http://www.libusb.org/wiki/libusb-1.0
[2] http://www.intra2net.com/en/developer/libftdi/
[3] http://libswd.sf.net



Hi,

It is implemented and should work! Please note that you should not mix 
synchronous and asynchronous requests, with exception of control 
transfers. If you are programming a bulk endpoint, use either all 
synchronous or all asynchronous.


--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


LibFTDI/LibUSB 1.0 and Asyncrhonous I/O on FreeBSD

2013-07-23 Thread CeDeROM
Hello :-)

LibUSB 1.0 introduced Asyncrhonous I/O [1] which in conjuction with
LibFTDI 1.0 [2] gives significant performance improvement on FT2232*
based chips used in various UART/JTAG/SWD interfaces. I am working on
LibSWD [3] and would like to use this Asyncrhonous I/O on my FreeBSD
box. I know there is an internal BSD implementation of LibUSB, so my
question is it possible to use this Asynchronous I/O with FreeBSD
implementation of LibUSB, or more specifically is it possible to use
LibFTDI 1.0 to improve speed of my driver for FT2232 chip? :-)

Any hints appreciated! :-)
Tomek

[1] http://www.libusb.org/wiki/libusb-1.0
[2] http://www.intra2net.com/en/developer/libftdi/
[3] http://libswd.sf.net

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"