Just probed adding a new USB-CDRW device to a KVM Virtual Machine with Linux.
Plugged the USB device and added the correct device to the running machine with this command:
(115 is the virtual machine id)
qm monitor 115
usb_add host:152e:1640
and magically the drive appears to be plugged into the virtual machine.
The information of the device are desumed by the command lsusb
Working with whatever i want into the virtual machine (k3b, cdrecord and brasero) it does not write to the cdrom. I should always kill the cdrecord application.
And the usb subsystem says through dmesg:
Proxmox
Virtual Machine dmesg:
I don't know why proxmox uses ehci-hcd and the VM uhci-hcd.
I think i should disable the proxmox side loading of usb drivers or???
Any hint?
Diaolin
Plugged the USB device and added the correct device to the running machine with this command:
(115 is the virtual machine id)
qm monitor 115
usb_add host:152e:1640
and magically the drive appears to be plugged into the virtual machine.
The information of the device are desumed by the command lsusb
Code:
Bus 001 Device 005: ID 152e:1640 LG (HLDS)
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 04d9:1400 Holtek Semiconductor, Inc.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
And the usb subsystem says through dmesg:
Proxmox
Code:
usb 1-2: reset high speed USB device using ehci_hcd and address 5
usb 1-2: reset high speed USB device using ehci_hcd and address 5
usb 1-2: reset high speed USB device using ehci_hcd and address 5
usb 1-2: reset high speed USB device using ehci_hcd and address 5
usb 1-2: reset high speed USB device using ehci_hcd and address 5
usb 1-2: reset high speed USB device using ehci_hcd and address 5
usb 1-2: reset high speed USB device using ehci_hcd and address 5
usb 1-2: reset high speed USB device using ehci_hcd and address 5
Code:
usb 1-1.8: reset full speed USB device using uhci_hcd and address 4
usb 1-1.8: reset full speed USB device using uhci_hcd and address 4
usb 1-1.8: reset full speed USB device using uhci_hcd and address 4
usb 1-1.8: reset full speed USB device using uhci_hcd and address 4
usb 1-1.8: reset full speed USB device using uhci_hcd and address 4
usb 1-1.8: reset full speed USB device using uhci_hcd and address 4
usb 1-1.8: reset full speed USB device using uhci_hcd and address 4
usb 1-1.8: reset full speed USB device using uhci_hcd and address 4
I think i should disable the proxmox side loading of usb drivers or???
Any hint?
Diaolin