[Libusbx-devel] Trouble with USB communication Windows

2012-09-12 Thread Eric Lundby
Hello, I have spent hours now trying to get communication working with a custom USB device on Windows using libusbx. I have communication working through a virtual com port so I believe the device is functioning as expected. My device reports that it has 3 interfaces (0, 1, 2) and a total of 5 op

Re: [Libusbx-devel] Trouble with USB communication Windows

2012-09-12 Thread Eric Lundby
I'm not sure why it works like this but I found out what I was doing wrong shortly after posting my question. I was actually wasn't using the libusb driver (although I thought I tried this). I got it working by using the libusbK-inf-wizard.exe from libusbk. I replaced the driver with WinUSB.sys d

[Libusbx-devel] Windows: libusb_claim_interface fails on 1.0.13 and higher

2012-11-15 Thread Eric Lundby
Hello, I have a very basic program implementing two way communication with a custom composite USB device using the WinUSB driver on Windows. I was having some strange problems that I haven't been able to overcome (partially documented at http://stackoverflow.com/questions/13403681/libusb-windows-u

Re: [Libusbx-devel] Windows: libusb_claim_interface fails on 1.0.13 and higher

2012-11-16 Thread Eric Lundby
-to-UART serial converter. On Fri, Nov 16, 2012 at 1:30 AM, Xiaofan Chen wrote: > On Fri, Nov 16, 2012 at 6:33 AM, Eric Lundby > wrote: > > Hello, > > > > I have a very basic program implementing two way communication with a > custom > > composite USB device usin

Re: [Libusbx-devel] Windows: libusb_claim_interface fails on 1.0.13 and higher

2013-01-31 Thread Eric Lundby
Well I have finally jumped back on this project. It seems that the error I was encountering is related to issue #78 ("[winusbx_claim_interface] failed to auto-claim interface 0"). When I manually claim interface 0 before claiming interface 1 I no longer receive an error. I am however still unable

Re: [Libusbx-devel] Windows: libusb_claim_interface fails on 1.0.13 and higher

2013-02-01 Thread Eric Lundby
Pete: Thank you for the links, that definitely got me started in the right direction. I ended up getting things to work by sending a control transfer that matched what I saw while sniffing using VCP. Xiaofan: Thank you. I will educate myself a bit more on the spec. I tried to dive right in without

Re: [Libusbx-devel] Windows: libusb_claim_interface fails on 1.0.13 and higher

2013-02-01 Thread Eric Lundby
> Then why would you make this CDC ACM, instead of just using a custom > interface that you control completely? Couple reasons: This is chip is a drop in replacement on our hardware and won't require any adjustments to the firmware running on the device. Also, I didn't have much influence on the d