Gidday
I installed libusb 0.1.12 and pyusb 0.4.1 on Mac OSX 10.5.6
I get samples/usbenum.py to run OK
but Isusb.py will only run if I remove the
dev.open().getString(1, 30)
item.
Following the interactive steps the Readme I get to the step  
'handle.setConfiguration(0)'
which produces the error
 >>> import usb
 >>> bus = usb.busses()
 >>> dev = bus[0].devices[0]
 >>> handle = dev.open()
 >>> handle.setConfiguration(0)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
usb.USBError: usb_set_configuration(SetConfiguration): device not  
opened for exclusive access
 >>>

I followed some threads on this list relating to the exclusive access  
error  (in darwin.c?) but have been unable to discover if someone has  
found a solution.
What's the latest on this?

George Wright
georg...@bigpond.net.au
http://mywebsite.bigpond.net.au/georgewr/




------------------------------------------------------------------------------
_______________________________________________
Pyusb-users mailing list
Pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to