quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
10.73k stars 470 forks source link

USB passthrough requires sudo for certain devices #26

Closed kbknapp closed 4 years ago

kbknapp commented 4 years ago

First, thanks for quickemu!

Following the example in the README for Windows10 (I also have a Logitech C920), I get the error that the requested USB devices are NOT accessible, permission denied.

If I run quickemu with sudo I get a few different errors...so I simply added sudo line 131 which worked.

I could open a PR, but I'm not sure if this breaks anything else, or why it's not sudo in the first place.

kbknapp commented 4 years ago

I forgot, my details

Ubuntu: 19.10 (Regolith) Quickemu version: HEAD 64cff9bba qemu-virgil version:


qemu-virgil --version
QEMU emulator version 4.2.0 (v4.2.0-dirty)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
kbknapp commented 4 years ago

It's not been week submitting issues. Closed as the script is invoked with sudo if the devices are not available. I'm not sure why it's apparently non-deterministic if they're available or not but oh well.