I think that in the pyusb tutorial: http://pyusb.sourceforge.net/docs/1.0/tutorial.html That under the "Let's get it started" sub-section the line:
alternate_settting = usb.control.get_interface(interface_number) should be alternate_settting = usb.control.get_interface(dev,interface_number) This is because in control.py there are two arguments: def get_interface(dev, bInterfaceNumber):There are also too many t's in alternate_settting. It is spelled more conventionally later.
Apologies if this is wrong or has been brought up already. -- *Ryan Neve* University of North Carolina Institute of Marine Sciences 3431 Arendell St Morehead City, NC 28557 (252) 726-6841 x179 (252) 726.2426 Fax
<<attachment: neve.vcf>>
------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users