Hello Community,
I got some problems with setting up an USB-Serial Adapter for a KVM (Windows 2008) guest system.
Adding an USB device works fine, i can add it with
qm monitor xxx
usb_add host:xxxx:xxxx
I got this:
qm> info usb
Device 0.2, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
Device 0.1, Port 2, Speed 12 Mb/s, Product QEMU USB Hub
Device 0.3, Port 2.1, Speed 480 Mb/s, Product USB-Serial Controller D
(The 0.3 is the adapter)
But I want configure, that the KVM automaticaly add the device after reboot on the host/guest system. So i wrote "hostusb: xxxx:xxxx" in /etc/qemu-server/<id>.conf.
The guest system can't find the device after reboot and I got this:
qm> info usb
Device 0.1, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
Device 0.3, Port 2, Speed 12 Mb/s, Product QEMU USB Hub
Device 0.3, Port 2.1, Speed 480 Mb/s, Product USB-Serial Controller D
I also can't understand why these 2 last have the same device id.
So, how to fix this?
Thanks a lot!
Edit:
So I have now found out, that the device id (0.2) of the Product QEMU USB Hub is changing after windows server has been booted. Before he booted the id was 0.2, but then 0.3.
I got some problems with setting up an USB-Serial Adapter for a KVM (Windows 2008) guest system.
Adding an USB device works fine, i can add it with
qm monitor xxx
usb_add host:xxxx:xxxx
I got this:
qm> info usb
Device 0.2, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
Device 0.1, Port 2, Speed 12 Mb/s, Product QEMU USB Hub
Device 0.3, Port 2.1, Speed 480 Mb/s, Product USB-Serial Controller D
(The 0.3 is the adapter)
But I want configure, that the KVM automaticaly add the device after reboot on the host/guest system. So i wrote "hostusb: xxxx:xxxx" in /etc/qemu-server/<id>.conf.
The guest system can't find the device after reboot and I got this:
qm> info usb
Device 0.1, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
Device 0.3, Port 2, Speed 12 Mb/s, Product QEMU USB Hub
Device 0.3, Port 2.1, Speed 480 Mb/s, Product USB-Serial Controller D
I also can't understand why these 2 last have the same device id.
So, how to fix this?
Thanks a lot!
Edit:
So I have now found out, that the device id (0.2) of the Product QEMU USB Hub is changing after windows server has been booted. Before he booted the id was 0.2, but then 0.3.
Last edited: