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

Unable to open USB device: LIBUSB_ERROR_ACCESS #16

Open
akhilpo opened this issue Dec 13, 2012 · 5 comments
Open

Unable to open USB device: LIBUSB_ERROR_ACCESS #16

akhilpo opened this issue Dec 13, 2012 · 5 comments

Comments

@akhilpo
Copy link

akhilpo commented Dec 13, 2012

I am using Linux Mint on Windows 7 machine using VMware. Besides working perfectly for a few times, it always give me the following error:

akhilpo-virtual-machine ~/work/stellaris-work $ lm4flash blinky.bin
Unable to open USB device: LIBUSB_ERROR_ACCESS
Unable to find any ICDI devices

I tried reconnecting the device several times.

@utzig
Copy link
Owner

utzig commented Dec 13, 2012

Do you have the required permissions? Try running as root (sudo) and see if it works. If it does work running as root you need to setup the permissions for your user.

@akhilpo
Copy link
Author

akhilpo commented Dec 13, 2012

It did work few times without root permission.

@utzig
Copy link
Owner

utzig commented Dec 13, 2012

When you disconnect/reconnect the device do you get the kernel messages (dmesg) ?

I don't have VMWare and have no idea how it works. Probably works as well as VirtualBox and Parallels. But either it is not mapping the USB device inside the VM (and you will see that running dmesg) or your user is being limited on permissions some way. Running as root, if it doesn't work, would mean the device is not mapping. If it does you should check why your user works sometimes and sometimes not.

@akhilpo
Copy link
Author

akhilpo commented Dec 13, 2012

I tried giving Sudo few times. Now it works sometimes and sometimes gives this error:

akhilpo-virtual-machine ~/work/stellaris-work $ sudo lm4flash blinky.bin
Unable to get device serial number: LIBUSB_ERROR_TIMEOUT
Unable to find any ICDI devices

@danfly09
Copy link

So, I have a list of groups, but I don't know which of them should I add to my user.
I thought it should be uucp, the group which points at /dev/ttyACM0 which in my case is my device, but still is not working, I have to run it with sudo. I'm using Arch btw

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

3 participants