On 2012.09.14 04:42, John Chen wrote:
> Pete,
> I was wondering where you were?

In a cubicle, where access to SF.net or personal e-mail accounts are 
actively prohibited, so that I can repay a mortgage...
Freedom or money: pick one.

> I have done the following:
> 1) Download the latest from GIT
> 2) Uncomment //#define DEBUG_POLL_WINDOWS" (line 51). in poll_windows.c:
>   , added a debug printout of winusb_handle and transfer->endpoint
> 3) recompiled libusbx as a static library
> 4) set LIBUSB_DEBUG=4, run the app, generate trace, please see
> LibUSBDebugTrace.txt
> 5) I also downloaded libusbk dirver, but I am not sure how to use it,
> right now I am using zadig_v2.0.1.154

Just run Zadig and select your device (you may have to click on Options 
-> List all devices). Then select the driver in the list and click the 
Install/Replace driver button.

> 6) I also added a lot of my own logging here, hopefully it will be helpful.
> Please let me know if you need anything else from.

 > Pod Plugged, SerialNum:1
 > USBPlugInEvent device.ProductID 4408,device.PodType.ToString() 
exbtXDP3,device.VendorID 32902,device.m_IsOpen.ToString()) False

Are you hot plugging a device?

libusbx does not support hotplugging of USB devices. That's something we 
plan to add to v2.0.
If you are hot plugging any USB device on Windows with the current 
libusbx, I'm afraid you are on your own, because this mode of operation 
is not supported.

 > [365.772573] [00002424] libusbx: error [winusb_open] could not open 
device 
\\.\USB#VID_8086&PID_1138#5&3A81798F&0&1#{A5DCBF10-6530-11D2-901F-00C04FB951ED}
(interface 0): [5] Access is denied.

Not entirely surprising if that device was just plugged in. If that's 
the one you have a problem with, then please run a test with the device 
plugged from the start, and send us that log.

Regards,

/Pete

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to