LibusbK debug messages

Pradeepa Senanayake <[email protected]> Fri, 24 Apr 2015 16:36:27 +0530
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <CA+1tQ736TC9-ow_nc=hjL-=yPBVf7W6wemDZ8aB43nTYsGBwoA@mail.gmail.com>
Hello,

I have been using the libusbK library for more than one year for one of the
projects I am involved in. It works very well. Recently I have encountered
an issue in one of the devices. I still could not find the origin of the
issue.

I have access to the low level device firmware and the application which
communicates with it. We decided to go with libusbK as the USB driver for
the devices.

Basically what should happen is when we switch on the device it should
ideally enumerate three USB devices in the device manager. This is not a
composite USB device. But a device which has three separate child devices
connected to an internal hub. First it enumerates as bootloader devices and
when the PC application sends it the relevant data it will switch to the
firmware. .

Sometimes I can see that one of these three deivce does not get enumerated
properly. It gives a code10 error in device manager. I think it comes when
DeviceEntry fails in the driver code. May be the firmware is not responding
to a standard query properly.

I would like to know to which query it is not responding properly. I was
wandering whether there is any method to enable some sort of debug messages
in the libusbK. What are the debugging options available in the library? I
basically would like to see where the driver fails to enumerate the device.

Since this is not always happening I am still unsure where the issue is.

Best Regards,
Pradeepa Senanayake.

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

_______________________________________________
Libusb-win32-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel