How do I add USB device in .conf so that it will load automatically each time I reboot the guest OS?
nano /etc/qemu-server/VMID.conf
What kind of prams should I edit there?
Just uploaded a fix. Please update with:
# apt-get update
# apt-get upgrade
there is a new 'hostusb' option (see man qm):
Example: to map usb device 5.2 simple do:
# qm set 777 -hostusb 5.2
Does that work for you?
- Dietmar
Excuse my ignorance, but when I plug in a USB device how can I establish the bus:address or vendor_idroduct_id?
Also can you now safely remove the USB, is so what command?
thanks
So ... # qm set 110 -hostusb 0204:6025
Then rebooted VM
Just uploaded a fix. Please update with:
# apt-get update
# apt-get upgrade
there is a new 'hostusb' option (see man qm):
Example: to map usb device 5.2 simple do:
# qm set 777 -hostusb 5.2
Does that work for you?
- Dietmar
Is that means that it will works automatically each time I reboot the guest OS
Reboot wont help. Instead you need to stop/start the VM.
- Dietmar
Ok, so you cannot shut down the OS (eg WinXP) - you STOP the vm then START the vm. Would this not potentialy damage the OS?
Plus the how can i establish the bus.address values...
Eg: T: Bus=01 Lev=01 Prnt=01 Port=07 Cnt=01 Dev#= 3 Spd=480 MxCh=0
Bus is listed, but what do i use for the address value?
We use essential cookies to make this site work, and optional cookies to enhance your experience.