Re: [Libusbx-devel] [Rxtx] Virtual Com driver

2013-02-05 Thread Pete Batard
OK, let me add my two cents. If you don't care about XP or earlier, have control over the device's firmware, and can live with WinUSB as a driver, then WCID [1] is the way to go (which is what Xiaofan alluded to with the "use Microsoft OS Descriptor", expect he forgot that the automated drive i

Re: [Libusbx-devel] [Rxtx] Virtual Com driver

2013-02-05 Thread Xiaofan Chen
On Wed, Feb 6, 2013 at 12:06 AM, Kustaa Nyholm wrote: > On 5.2.2013 17.56, "Lars Pötter" wrote: >>So the question is if it is possible to create a single jar file that >>includes everything needed to provide the libusbx API to a Java program >>and let it speak to USB Devices on Linux, Windows and

Re: [Libusbx-devel] Bulk Transfers Causing Crash in Windows

2013-02-05 Thread Xiaofan Chen
On Wed, Feb 6, 2013 at 7:26 AM, Tom Navarro wrote: > Update: > > This issue seems to have been caused by the USB Virtualization Connector > Driver installed by Windows Virtual PC. After uninstalling the driver > and Virtual PC, a quick test with libusbx 1.0.14 shows my program > working fine. Ve

Re: [Libusbx-devel] Bulk Transfers Causing Crash in Windows

2013-02-05 Thread Tom Navarro
Update: This issue seems to have been caused by the USB Virtualization Connector Driver installed by Windows Virtual PC. After uninstalling the driver and Virtual PC, a quick test with libusbx 1.0.14 shows my program working fine. Tom -

Re: [Libusbx-devel] [Rxtx] Virtual Com driver

2013-02-05 Thread Lars Pötter
Am 05.02.2013 15:24, schrieb Kustaa Nyholm: >> I tried to talk a colleague into libUsb. He was responsible for the PC >> application and I was doing the firmware. But he said he tried it but it >> was to complicated to set up on Windows. I did a short check and using >> libusb on windows seems to

[Libusbx-devel] Bulk Transfers Causing Crash in Windows

2013-02-05 Thread Tom Navarro
Hi all, I'm having an issue sending bulk transfers to my Cypress FX2-based device. I'm running Windows 7 x64 with the following code: int main(int argc, char* argv[]) { libusb_device_handle *bh; unsigned char outBuf[128]; struct timeval tv; struct libusb_transfer* xfr;

Re: [Libusbx-devel] [Rxtx] Virtual Com driver

2013-02-05 Thread Kustaa Nyholm
On 5.2.2013 17.56, "Lars Pötter" wrote: >So the question is if it is possible to create a single jar file that >includes everything needed to provide the libusbx API to a Java program >and let it speak to USB Devices on Linux, Windows and Mac without a >Driver installed ? The experts should chime

Re: [Libusbx-devel] [Rxtx] Virtual Com driver

2013-02-05 Thread Kustaa Nyholm
On 5.2.2013 15.35, "Lars Pötter" wrote: > >> With JNA to access libusb it was pretty trivial. And now days there are >> a number of ready made implementations available. > >I tried to talk a colleague into libUsb. He was responsible for the PC >application and I was doing the firmware. But he said