I tried libusbx git again and claim_interface is still returning -3.

My device does have an HID interface.

I notice that with 1.0.12 libusb_get_device_address returns 5 and with the
latest form git, libusb_get_device_address returns 6.

If it helps, I am interfacing with a Microchip MCP2200 USB-to-UART serial
converter.

On Fri, Nov 16, 2012 at 1:30 AM, Xiaofan Chen <xiaof...@gmail.com> wrote:

> On Fri, Nov 16, 2012 at 6:33 AM, Eric Lundby
> <eric.lun...@modrobotics.com> wrote:
> > 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-using-winusb-bulktransfer-receiving-inconsistant
> > ). So I decided to try and update the libusb I was linking to.
> >
> > As soon as I loaded in 1.0.14, libusb_claim_interface returns -3.   I
> > swapped in 1.0.13 and latest from github all with the same result. I then
> > threw 1.0.12 back in and everything is fine and dandy (with the
> exception of
> > the strange receiving bug i'm having).
> >
> > Is there a bug in my code that didn't surface until these newer versions
> or
> > is there perhaps a change to libusbx that I missed?
> >
>
> Maybe you want to try out libusbx git to see if that helps.
> https://github.com/libusbx/libusbx
>
> Does your device have an HID as one of the interface? The
> following commit fixes an issue after 1.0.14 release. Take
> note 1.0.13 and 1.0.14 release are basically the same.
>
> https://github.com/libusbx/libusbx/commit/fdff665a44169eda702a1267a3bbb4501d6bb3ee
>
> --
> Xiaofan
>
>
> ------------------------------------------------------------------------------
> 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
>



-- 

*[image:
http://www.modrobotics.com/skin/frontend/cubelets/master/images/xmodrobotics_logo_tiny.png.pagespeed.ic.0U0wuMg0YU.png]
* <http://www.modrobotics.com/>****

*Eric Lundby: *Software Developer**

Modular Robotics <http://www.modrobotics.com/>****

eric.lun...@modrobotics.com

<<image001.png>>

------------------------------------------------------------------------------
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

Reply via email to