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

Permission denied #81

Open
dev-null-undefined opened this issue Jun 5, 2024 · 1 comment
Open

Permission denied #81

dev-null-undefined opened this issue Jun 5, 2024 · 1 comment

Comments

@dev-null-undefined
Copy link

dev-null-undefined commented Jun 5, 2024

Getting permision denied on linux

fixed by using chown on /dev/bus/usb/003/014
To be the "file" was owned by root so I hade to
sudo chown $USER: /dev/bus/usb/003/014
Which then made it work.

For others with this issue to find the path to the device us lsusb

Which will give you something like
Bus XXX Device YYY: ID AAAA:BBBB ... SMT ... in DFU mode

You can double check the AAAA:BBBB it should be same as on the website and then the path is /dev/bus/usb/XXX/YYY

It could be helpful to provide this information if possible in the error message when permission denied encountered on linux.

@pfeerick
Copy link
Member

pfeerick commented Jun 6, 2024

The 'normal' fix is to add yourself to the dialout group ... i.e. sudo gpasswd --add ${USER} dialout ... , and then log out/in so the group/permission change is applied. btw, the VID:PID will always be 0483:df11 for STM32 DFU mode USB device.

But yes, a link to some troubleshooting steps would be a good idea.

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

2 participants