Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Permissions issue when bringing a USB device through to a Ubuntu guest in VirtualBox

$
0
0
Host: Ubuntu Desktop 16.04
Guest: Ubuntu Server 18
Virtualbox: latest version (I just installed it)

I've got an Arduino plugged in to the host and it's available at /dev/ttyACM0. I've got a python script that kicks some info out to the Arduino via PySerial and it works just fine on the host. I want to bring the Arduino to my Ubuntu Server guest machine. I mapped serial port in VirtualBox on the guest to /dev/ttyACM0 on the host. Now I see /dev/ttyS0 in the guest but when my script tries to access it I get permission denied. Does anyone know where I have to change the permission? Guest? Host? Do I add my user account to a group or something?

Thanks for reading.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>