Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mvillarejo opened this issue Jan 7, 2015 · 6 comments
Closed

Comments

@mvillarejo
Copy link

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

@wpillar
Copy link

wpillar commented Jan 12, 2015

Same here, found nothing online that helps...

@jtheoof
Copy link

jtheoof commented May 19, 2015

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

@alex3137
Copy link

alex3137 commented Sep 1, 2015

Same problem, any clue ?

@codedance
Copy link
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

Tuxdude referenced this issue in ma1co/Sony-PMCA-RE Nov 11, 2015
@brianantonelli
Copy link

brianantonelli commented Jun 26, 2017

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.

@mvillarejo
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants