[Libusbx-devel] Isochronous Transfer Question

2012-09-03 Thread Anthony Clay
Greetings, I'm currently writing an OO C++ wrapper for libusb. It's nearly ready for release, but I've been unable to test isochronous transfers. Obviously, Winusb doesn't support them - but I thought that libusbK does - maybe it is not implemented w/libusb (yet?). Using libusb0.sys, I've got n

[Libusbx-devel] pkg-config --static and libusb-1.0.pc

2012-09-03 Thread Xiaofan Chen
Here are two links from libusb mailing list, saying to include the extra libraries needed for static linking in Libs.private in the pc file. http://libusb.6.n5.nabble.com/libusb-1-0-pc-files-when-static-linking-td43.html http://libusb.6.n5.nabble.com/How-to-use-static-linking-with-libusb-td5104747.

Re: [Libusbx-devel] Comparing message logs on Linux and Windows

2012-09-03 Thread Pete Batard
On 2012.09.04 00:04, Chris McClelland wrote: > Presumably the same is true for the set-alt-interface call? Unlike what is the case for SET_CONFIGURATION, there's a WinUsb_SetCurrentAlternateSetting() we can use in WinUSB, so we're not limited there. > If you're interested, the project I'm porti

Re: [Libusbx-devel] Comparing message logs on Linux and Windows

2012-09-03 Thread Chris McClelland
OK, it's good to know about the WinUSB set-config limitation. Presumably the same is true for the set-alt-interface call? If you're interested, the project I'm porting (from libusb-0.1) is FPGALink: http://www.makestuff.eu/wordpress/software/fpgalink/ The performance difference is staggering. Th

Re: [Libusbx-devel] libusb-win32 and libusbK support has now been pushed to mainline

2012-09-03 Thread Pete Batard
Just an update. I now have a partial patch for composite support, that appears to works fine with WinUSB and libusbK, but still doesn't properly set the interfaces for libusb0. Part of the problem is that, unlike WinUSB and libusbK, libusb0 doesn't provide an extra device interface GUID that we

Re: [Libusbx-devel] RFC: libusbx OS specific API calls

2012-09-03 Thread Pete Batard
On 2012.09.03 03:51, Alan Stern wrote: > It's kind of a shame that Windows goes to such lengths > to provide the illusion of a continuous data stream instead of the > packetized stream that USB actually uses -- this just causes more > complications in the end. But aren't we trying to do the same,

Re: [Libusbx-devel] Comparing message logs on Linux and Windows

2012-09-03 Thread Pete Batard
On 2012.09.03 21:16, Chris McClelland wrote: > Firstly thanks for the lively fork! It's great that libusb is being so > actively developed. Thanks. It's always nice to hear from more users making the switch. > I'm in the process of debugging some host-side code and Cypress FX2LP > firmware. If y

[Libusbx-devel] Comparing message logs on Linux and Windows

2012-09-03 Thread Chris McClelland
Hi libusbx-devel, Firstly thanks for the lively fork! It's great that libusb is being so actively developed. I'm in the process of debugging some host-side code and Cypress FX2LP firmware. Things work fine on Linux and on MacOSX, but things go awry on Windows (using WinUSB driver). I coult show y

Re: [Libusbx-devel] RFC: libusbx OS specific API calls

2012-09-03 Thread Xiaofan Chen
On Mon, Sep 3, 2012 at 10:51 AM, Alan Stern wrote: > On Sun, 2 Sep 2012, Orin Eman wrote: > >> > it has a limitation on transfer size. Do you know what a typical value >> > for MAXIMUM_TRANSFER_SIZE is? >> > >> I don't, but comments on the OSR ntdev forum indicate in the order of MB >> for high s