|
From: Stephan M. <Ste...@ia...> - 2007-09-17 11:33:35
|
> > Hello all! > > I'm developing custom gaming device and use libusb-win32 as a driver. > I use bulk read and write functions, and I'm stuck. > > I don't know if the problem is in driver or in firmware, but after some > consequentive bulk writes my host program fails with "write timeout". After > that I have to unplug my device, reset it and plug it back. Otherwise WinXP > even doesn't enumerate it. > > So I've decided to go deeper into the driver, and few questions raised: > 1. Do I understand correctly that I have to use MinGW compiler to compile > the sources from SVN? You can either use Mingw, Cygwin, or the Microsoft DDK > 2. What branch should I take - libusb or libusb1? Take the stable 'libusb' branch > 3. And, finnaly, how to enable and read debug output of the driver? * add usb_set_debug(255) to your code after the call of usb_init() * download DebugView from microsoft.com * run DebugView to capture the driver's an the DLL's debug messages > > Thanks! > > Best regards, > Konstantin Klubnichkin > -- > View this message in context: http://www.nabble.com/Few-questions- > about-libusb-win32-tf4465243.html#a12731698 > Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel |