Hi, On 07/28/2012 06:40 PM, Peter Stuge wrote: > Hans de Goede wrote: >> If the usbfs driver is found LIBUSB_ERROR_NOT_FOUND will be >> returned to indicate no driver was detached. > > What is the situation like for other platforms besides Linux,
Non of the other platforms support driver detach / re-attach > and does the change also require documentation? No I don't believe it does, it basically fixes a bug, currently there are kind of apps wrt this: 1) Apps which don't use detach_kernel_driver 2) Apps which use detach_kernel driver and expect it to always succeed, iow they expect a kernel driver to be there, if no kernel driver is there this is an error for their use case, and having usbfs there is not what they expect, so returning ERROR_NOT_FOUND is the right thing to do 3) Apps which use detach_kernel driver and are ok with it returning ERROR_NOT_FOUND (iow they ignore that return code), for them this change is a no-op. Regards, Hans ------------------------------------------------------------------------------ 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