On Mon, Jun 18, 2012 at 02:39:45PM +0100, Pete Batard wrote:
> On 2012.06.18 11:50, Peter Stuge wrote:
> >Liam Staskawicz wrote:
> >> This works as intended on OS X, but on Windows I only ever see 3
> >> transfers complete
> >
> > If the later 13 were successfully submitted then that is a bug in the
> > Windows backend.
> 
> Or rather, this is because OS-X has some pre-emptive implementation of 
> hotplug, to be able to do so, which is a feature that libusb does not 
> yet provide as a whole. Peter, please take a look at the Darwin code.
> 
> The actual bug is that libusb still does not globally support hotplug, 
> as demonstrated with yet another issue where someone has a problem with 
> an hotplug related scenario. This is getting old...

Doesn't Windows (WinUSB to be precise) return an error code
indicating the device was unplugged for the submitted transfers?
If Windows only returns "unlugged" status for one transfer
and forgets the other ones, can't you just fix this up in the
libusb Windows backend?


Johannes

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to