Well set_configuration() delivers on some devices like "usb to uart cable" the error "[Errno 40] Operation not supported or unimplemented on this platform".
-------- Original-Nachricht -------- > Datum: Fri, 14 Dec 2012 08:01:28 -0200 > Von: Wander Lairson Costa <wander.lair...@gmail.com> > An: pyusb-users@lists.sourceforge.net > Betreff: Re: [pyusb-users] device.get_active_configuration() results in error > 2012/12/14 Stefano Di Martino <stefan...@gmx.net>: > > It doesn't matter if I you set_configuration() or not. > > > > Actually should. When you do set_configuration, PyUSB just caches the > configuration value and get_active_configuration just returns it. If > you don't, PyUSB may issue a get_descriptor request to the device. > > -- > Best Regards, > Wander Lairson Costa > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > pyusb-users mailing list > pyusb-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pyusb-users ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users