2011/8/7 Xiaofan Chen <xiaof...@gmail.com>: > On Mon, Aug 8, 2011 at 4:24 AM, Wander Lairson Costa > <wander.lair...@gmail.com> wrote: >> The reset issue is related to libusb 1.0 windows backend. Libusb guys >> can give you better explanation on that (or maybe Xiaofan if he is >> around here). >> > > Yes I am around. :-)
Glad you are here :) > > libusb-1.0 Windows (currently use winusb driver) does not support reset. > In the future, it will gain support once it supports libusb0.sys driver. > http://www.libusb.org/wiki/windows_backend > > libusb-win32 supports reset. We add a new reset function in 1.2.5.0 since > some users have problem with the existing reset function with their device. > http://libusb.6.n5.nabble.com/usb-reset-on-Windows-makes-some-devices-unhappy-no-problem-on-Linux-td4450737.html > > The existing reset function will reset the port and cycle power the > port. Therefore the device handle will not be valid after the reset > and the user will need to redo everything. > Strange, because as far as I remember I dispose all resources when the user calls a reset(), I'll review code to make sure... -- Best Regards, Wander Lairson Costa ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users