我有问题与KVM的USB转发和打印(Windows XP的客人去蓝屏当我尝试打印的东西)。 我曾被build议将USB版本更改为1.1版本。 只有kvm适用于1.1版本而不是2.0版本的USB。 我怎样才能做到这一点在Ubuntu操作系统的某些端口?
USB设备 – >通过USB直接连接到Ubuntu服务器的佳能LBP 2900(需要networking打印机)通过qemu-kvm连接。 这台打印机在Ubuntu的工作可怕。 所以我用winxp创build了guest虚拟机并转发了usb端口。 Winxp识别此打印机并安装驱动程序。 当试图打印testing页面 – 蓝屏。 在VirtualBox中一切正常。
它看起来像系统检测到打印机为USB 2.0设备,但KVN转发只有USB 1.1最大。 所以我需要将USB 2.0更改为1.1
lsusb | grep佳能
Bus 002 Device 008: ID 04a9:2676 Canon, Inc. CAPT Device
uname -r
3.2.0-27-generic-pae
lsb_release -r
Release: 12.04
cpuinfo中
model: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ flags: svm
打印机上的dmesg连接
[216143.260035] usb 2-7: reset high-speed USB device number 8 using ehci_hcd [216143.800036] usb 2-7: reset high-speed USB device number 8 using ehci_hcd [216219.096159] usb 2-7: USB disconnect, device number 8 [216221.100042] usb 2-7: new high-speed USB device number 10 using ehci_hcd [216341.670533] usb 2-7: USB disconnect, device number 10 [216342.808034] usb 2-7: new high-speed USB device number 11 using ehci_hcd
Windows客户系统蓝屏:
will be updated
dmesg发送testing页面后, pritner显示如断开连接。 现在没有BSOD。
[217940.556048] usb 2-7: reset high-speed USB device number 5 using ehci_hcd [217941.124034] usb 2-7: reset high-speed USB device number 5 using ehci_hcd [218069.198088] usb 2-7: usbfs: process 14070 (kvm) did not claim interface 0 before use [218070.198916] usb 2-7: usbfs: process 14070 (kvm) did not claim interface 0 before use last message -- 20+ times
libvirt已经支持USB 2一段时间了: http : //www.linux-kvm.com/content/virt-manager-adds-support-usb2我build议升级。