On Fri, May 1, 2015 at 11:38 PM, Xiaofan Chen <[email protected]> wrote: > On Fri, May 1, 2015 at 10:27 PM, Eugene Sh. <[email protected]> wrote: >> The problem is occurring before libusb_claim_interface is called. It is >> happening on the open attempt. If I run xusb: >> >> $ xusb 1cbe:00fd >> Using libusb v1.0.19.10905 >> >> Opening device 1CBE:00FD... >> Failed. > > Please run "xusb -d 1cbe:00fd" and post the output. Thanks. > > Take note the interface sequence is fixed by the USB device and > will not be changed by OS enumeration. So Windows 7 and > Windows 8.1 should not really matter. It seems to me this is > related how you install the driver. Are you using WinUSB driver? > How do you install the WinUSB driver? Are you using > Zadig to install the WinUSB for the relevant interface? > Apparent Interface 0 and Interface 1 are for the virtual > serial port. And Interface 3 is the DFU interface. So Interface 2 > is the only interface you are interested. Try to install WinUSB driver > only for Interface 2 to see if that helps. > > If that does not work, then you may have to use WinUSB driver > on the whole device (you will lost the serial port and DFU function) > and see if that works.
Anyway, I believe that is the only way to get it work with current libusb Windows backend. I am not so sure why your patch will work at all if you do not install the WinUSB as the driver for the whole USB composite device (all 4 interfaces). Ref: http://marc.info/?t=139209996400001&r=1&w=2 Ref: http://libusbx.1081486.n5.nabble.com/Libusbx-devel-Accessing-composite-devices-using-interface-association-td1726.html -- Xiaofan ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
