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 to get basic communication working with
libusb. When using Microchips supplied driver that exposes a com port
everything works correctly over serial. When trying to use libusb bulk
transfers, my send works, but my receive times out.

Using USBlyzer I did notice that when using Microchips driver, there
are several Control Transfers sent to 'Set Line Coding' and 'Get Line
Coding' before my messages are sent or received. Does anyone know if
this could be why my basic communication could be failing with libusb
(because I'm not setting line coding)?

Best Regards,

Eric




On Wed, Nov 21, 2012 at 3:49 PM, Pete Batard <p...@akeo.ie> wrote:
>
> On 2012.11.21 05:38, Xiaofan Chen wrote:
> > Another round of Google finds the HID report descriptors.
> > http://www.protonbasic.co.uk/showthread.php/64764-USB-CDC-HID-IAD-interface
> >
> > So it does not have multiple HID collections.
>
> Yeah. 46D is Logitech's VID, and Microchip is 4D8. I misread the log and
> thought the HID collection was part of the same device.
>
> Since xusb doesn't seem to display the issue (unless I'm mistaken, the
> logs don't show 1.0.14 returning an error when claiming the interface),
> the only way I see to try to move this forward is to try compile the
> OP's code from pastebin, and hope we can use it against a device that
> will display the same problem...
>
> Realistically, before I am in a position to look into that, it will be
> quite a while (if it's just that one device having the issue, the issue
> is low priority => weeks), so I hope the OP is not in a hurry... or that
> someone else can carry out some of the issue's analysis.
>
> But before that, a full debug log of what happens when running the
> application that produces the error would be nice. libusb_set_debug() is
> your friend: [1], [2]
>
> Regards,
>
> /Pete
>
> [1]
> http://libusbx.sourceforge.net/api-1.0/group__lib.html#ga5f8376b7a863a5a8d5b8824feb8a427a
> [2] https://github.com/libusbx/libusbx/blob/master/examples/xusb.c#L1029
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> libusbx-devel mailing list
> libusbx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libusbx-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to