Page 1 of 1

USB Status [unknown] find: ‘/dev/vboxusb’: Permission denied

Posted: Fri Jun 05, 2020 6:50 pm
by ijash
Hi, I have this error using arduino IDE in Linux (linux mint 19.03). I am using ST-LINK V2 to bluepill.
sZireXyl.jpeg
sZireXyl.jpeg (5.52 KiB) Viewed 5927 times
I have tried using:

Code: Select all

sudo usermod -a -G vboxusers $USER 
but nothing changed.
and yes I've installed virtualbox. but what does stm32 has to do with virtualbox?


this is my setting:
km8R8k2.jpg
km8R8k2.jpg (44.49 KiB) Viewed 5927 times
please help me to remove the permission denied..

Re: USB Status [unknown] find: ‘/dev/vboxusb’: Permission denied

Posted: Fri Jun 05, 2020 7:13 pm
by ag123
that message can probably be ignored, if you are running libmaple core go into
Arduino_STM32/tools/linux/stlink
try out things like st-info --descr etc, it should be able to detect your st-link dongle
and that dongle should show up in lsusb

preferably get updated version of the st-link utilities
https://github.com/stlink-org/stlink
it may be available in your repositories or build that from source (preferred)

the st-link binary shipped in the core is rather old, the new ones has st-link --probe which would detect the st-link and the connected stm32 etc