-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi, cool project. Is this known to work (or not) on Mac OS X? I tried and got the following error:
import logging
from wedo import WeDo
logging.basicConfig()
wd = WeDo()
wd.motor_a = 100ERROR:wedo:Could not write to driver
Traceback (most recent call last):
File "wedo/__init__.py", line 109, in setMotors
self.dev.ctrl_transfer(bmRequestType=0x21, bRequest=0x09, wValue=0x0200, wIndex=0, data_or_wLength=data)
File "build/bdist.macosx-10.9-x86_64/egg/usb/core.py", line 962, in ctrl_transfer
self._ctx.managed_claim_interface(self, interface_number)
File "build/bdist.macosx-10.9-x86_64/egg/usb/core.py", line 146, in managed_claim_interface
self.backend.claim_interface(self.handle, i)
File "build/bdist.macosx-10.9-x86_64/egg/usb/backend/libusb1.py", line 747, in claim_interface
_check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
File "build/bdist.macosx-10.9-x86_64/egg/usb/backend/libusb1.py", line 552, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
USBError: [Errno 13] Access denied (insufficient permissions)
I came across a ticket for libusb that seems to indicate that Mac OS X is not supported. Any hints appreciated.
Metadata
Metadata
Assignees
Labels
No labels