Advertisement
carlos_cardenas

PyUSB Scale Outcome

Sep 3rd, 2014
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. Configuration of the device:
  2. bConfigurationValue: 1
  3. bInterfaceNumber: 0
  4. bAlternateSetting: 0
  5. bLength: 9
  6. bEndpointAddress: 130
  7. Traceback (most recent call last):
  8. File "readweight.py", line 37, in <module>
  9. read = device.read(0x82,9,0,100)
  10. File "/Library/Python/2.7/site-packages/usb/core.py", line 663, in read
  11. self._ctx.managed_claim_interface(self, intf)
  12. File "/Library/Python/2.7/site-packages/usb/core.py", line 112, in managed_claim_interface
  13. self.backend.claim_interface(self.handle, i)
  14. File "/Library/Python/2.7/site-packages/usb/backend/libusb1.py", line 758, in claim_interface
  15. _check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
  16. File "/Library/Python/2.7/site-packages/usb/backend/libusb1.py", line 571, in _check
  17. raise USBError(_str_error[ret], ret, _libusb_errno[ret])
  18. usb.core.USBError: [Errno 13] Access denied (insufficient permissions)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement