On Mon, Jan 7, 2013 at 5:16 PM, Wander Lairson Costa <wander.lair...@gmail.com> wrote: > "reset" seems to not solving anything. The most weird part if that it > works with libusb 0.1
What is the OS used here? The reset behavior is not that the same between legacy libusb-0.1 and the new libusb-1.0. Linux: some changes in the behavior in that libusb-1.0 will try to re-claim the interface https://github.com/libusbx/libusbx/blob/master/libusb/os/linux_usbfs.c Line 1466 to 1510. This is a bug fix of the old legacy libusb-0.1. Both libusb-0.1 and libusb-1.0 will not cause re-enumeration with usb reset under Linux. The libusb-0.1 API documentation is not correct. Mac OS X: legacy libusb-0.1 usb reset will cause re-enumeration, libusb-1.0 will not cause re-enumeration. Windows: libusb-win32 usb reset will cause re-enumeration. A new function usb_reset_ex() can have an option not to cause re-enumeration. libusb-1.0 Windows backend does not support usb reset with the Windows WinUSB driver since WinUSB driver does not support reset. Reference: http://libusb.6.n5.nabble.com/USB-device-works-in-linux-but-not-in-OSX-tp5711092p5711139.html -- Xiaofan ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users