[prev in list] [next in list] [prev in thread] [next in thread]
List: libusb-devel
Subject: Re: [Libusb-devel] Windows 64,
From: Pete Batard <pbatard () gmail ! com>
Date: 2011-01-28 13:16:17
Message-ID: 4D42C1A1.6030502 () gmail ! com
[Download RAW message or body]
Had a look into it, and the one thing that puzzles me is that you are
reporting BUSY errors.
Looking at the libusb code, the only times when LIBUSB_ERROR_BUSY can be
returned is when explicitly claiming an interface (NB: autoclaiming
would not return BUSY either). The libusb core actually does not return
LIBUSB_ERROR_BUSY ever, and the Windows backend only does so when
claiming an interface. Therefore, if you get LIBUSB_ERROR_BUSY, there
should be a "[libusb_claim_interface] interface #" message in the log,
and an absence of a subsequent "[winusb_claim_interface] claimed
interface #" message, to indicate that the interface was successfully
claimed. This is not what I am seeing.
Therefore, I am puzzled about the report of a BUSY error when the
problem starts to occur. The log shows that the last call to
libusb_claim_interface() was successful, and there's really no other way
that I see for a BUSY error to be returned, when using the Windows backend.
Can you confirm that you are indeed getting LIBUSB_ERROR_BUSY errors
when issuing the bulk transfers? And can you show us excerpts from the
code where you issue the bulk transfers?
Regards,
/Pete
PS: For the benefit of the list, I am attaching the compressed log (7z,
should be small enough).
["win64_usb_error.7z" (application/octet-stream)]
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Libusb-devel mailing list
Libusb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic