Solved USB redirection error -- simple fix for Linux Hosts - after re-direct to windows online the device


jimbo45

Well-known member
Pro User
VIP
Local time
1:30 PM
Posts
4,083
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
Hi folks
some Linux distros give you permission denied when trying to re-direct a USB device to a guest vm especialy if your kvm host system isn't using the monolithic legacy libvirtd service -- don't bother with convoluted solutions involving weird files in polkit which nobody has ever heard of etc.

Simply add yourself to groups kvm and qemu - then reboot. (you should already be a member of the libvirt group to run as a non root user).

Then in the VM after redirecting the usb device to a Windows guest use diskpart to list disk and you'll probably see its offline
simply in diskpart select disk <disk nr>, online disk,

Q.E.D

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Back
Top Bottom