Skip to content

usb.core.USBError: [Errno 13] Access denied (insufficient permissions) #20

Closed

Description

@mvillarejo

Hello,
I'm getting this error whilst trying to run any command in OS X (Mavericks 10.9.5), even running it as root... does not seem to work, cheers

Activity

  1. wpillar commented on Jan 12, 2015

    @wpillar

    Same here, found nothing online that helps...

  2. jtheoof commented on May 19, 2015

    @jtheoof

    I am having the same issue on OS X 10.10.3 (Yosemite).

  3. alex3137 commented on Sep 1, 2015

    @alex3137

    Same problem, any clue ?

  4. codedance commented on Sep 2, 2015

    @codedance
    Owner

    I haven't managed to duplicate this as we're running the code on a Raspberry Pi and Windows, and I've only tested on an older Mac. I did come across this thread that seemed related:

    Yubico/python-yubico#7

  5. added a commit that references this issue on Nov 11, 2015
  6. brianantonelli commented on Jun 26, 2017

    @brianantonelli

    If you drop pyusb and libusb and use hidapi this works perfect.

    Just install hidapi: pip install hidapi

    And replace pyusb references with:

    import hid
    
    hidraw = hid.device(0x2123, 0x1010)
    hidraw.open(0x2123, 0x1010)
    hidraw.send_feature_report([0x02, 0x10, 0x00,0x00,0x00,0x00,0x00,0x00])
    

    The above code will connect to the device and send a fire command.

  7. mvillarejo commented on Aug 20, 2017

    @mvillarejo
    Author

    Thanks, closing this now, I don't even have it now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions