Usb cd-rw

diaolin

Renowned Member
Jul 7, 2008
332
8
83
Trentino Italy
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
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
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

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
Virtual Machine dmesg:

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 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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!