problems with usb_add

# lsusb -t
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/2p, 12M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/3p, 12M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/3p, 12M
|__ Port 3: Dev 2, If 0, Class=HID, Driver=usbhid, 12M
|__ Port 3: Dev 2, If 1, Class=HID, Driver=usbhid, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/3p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/3p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
|__ Port 4: Dev 19, If 0, Class=stor., Driver=usb-storage, 480M
|__ Port 5: Dev 2, If 0, Class=stor., Driver=usb-storage, 480M


# qm set 101 -usb0 host=1-1.1

no errors, but my flash drive not find in vm

in web monitor vm 101, commands:


# info usb
Device 0.1, Port 6, Speed 12 Mb/s, Product QEMU USB Tablet
Device 0.0, Port 1, Speed 1.5 Mb/s, Product USB Host Device

# info usbhost
Bus 1, Addr 2, Port 5, Speed 480 Mb/s
Class 00: USB device 05e3:0719, USB Storage
Bus 5, Addr 2, Port 3, Speed 12 Mb/s
Class 00: USB device 0557:2221, Hermon USB hidmouse Device
Bus 1, Addr 19, Port 4, Speed 480 Mb/s Class 00: USB device 0781:556b, Cruzer Edge
Auto filters:
Bus 1, Addr *, Port 1.1, ID *:*
 
Last edited:
O... I'm sorry :)

qm set 101 -usb0 host=1-4

and one port from host mashine connect in virtual mashine :)

qm set 101 -usb1 host=1-5

and one more usb port comming in virtual mashine

Thank you!!!
 
Not working...
# info usb
Device 0.1, Port 6, Speed 12 Mb/s, Product QEMU USB TabletDevice 0.0, Port 1, Speed 1.5 Mb/s, Product USB Host
Device

# info usbhost
Bus 1, Addr 2, Port 5, Speed 480 Mb/s
Class 00: USB device 05e3:0719, USB Storage
Bus 5, Addr 2, Port 3, Speed 12 Mb/s
Class 00: USB device 0557:2221, Hermon USB hidmouse Device
Bus 1, Addr 27, Port 4, Speed 480 Mb/s
Class 00: USB device 1f75:0902, Silicon-Power8G
Auto filters:
Bus 1, Addr *, Port 1, ID *:*

# lsusb -t
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/2p, 12M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/3p, 12M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/3p, 12M
|__ Port 3: Dev 2, If 0, Class=HID, Driver=usbhid, 12M
|__ Port 3: Dev 2, If 1, Class=HID, Driver=usbhid, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/3p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/3p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
|__ Port 4: Dev 27, If 0, Class=stor., Driver=usb-storage, 480M
|__ Port 5: Dev 2, If 0, Class=stor., Driver=usb-storage, 480M
 
Last edited:
Hi all!

device_add in qm monitor working.

How can remove device? I try to run device_del, but get error.
Connected in VM usb-device:

Code:
qm> info usb
       Device 0.2, Port 2.2, Speed 480 Mb/s, Product My Passport 074A

qm> info usbhost
  Bus 2, Addr 11, Port 1.6, Speed 480 Mb/s
         Class 00: USB device 1058:074a, Product My Passport 074A

What parameters should use with device_del?
 

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!