Re: USB Scanner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthias Henze (L) wrote:
Hi,

finally I've tried to connect a USB scanner to a KVM VM. I've done so by
adding

hostusb: 04a9:1606

to the VMs conf. The scanner is detected by Windows XP and at first it
seemed to work. It scanns but then "CapturePerfect" hangs for ever.

lsusb reports:

   Bus 002 Device 005: ID 04a9:1606 Canon, Inc.

and "info usb":

   Device 0.1, Speed 12 Mb/s, Product QEMU USB Tablet
   Device 0.3, Speed 12 Mb/s, Product QEMU USB Hub
   Device 0.2, Speed 480 Mb/s, Product CANON   DR-5010C

and "info usbhost":

   Device 1.1, speed 480 Mb/s
     Hub: USB device 1d6b:0002, EHCI Host Controller
   Device 2.1, speed 480 Mb/s
     Hub: USB device 1d6b:0002, EHCI Host Controller
   Device 3.1, speed 12 Mb/s
     Hub: USB device 1d6b:0001, UHCI Host Controller
   Device 4.1, speed 12 Mb/s
     Hub: USB device 1d6b:0001, UHCI Host Controller
   Device 5.1, speed 12 Mb/s
     Hub: USB device 1d6b:0001, UHCI Host Controller
   Device 6.1, speed 12 Mb/s
     Hub: USB device 1d6b:0001, UHCI Host Controller
   Device 7.1, speed 12 Mb/s
     Hub: USB device 1d6b:0001, UHCI Host Controller
   Device 8.1, speed 12 Mb/s
     Hub: USB device 1d6b:0001, UHCI Host Controller
   Device 1.2, speed 480 Mb/s
     Hub: USB device 04b4:6560
   Device 6.2, speed 12 Mb/s
     Class 00: USB device 0000:0000, SE USB Device
   Device 8.2, speed 1.5 Mb/s
     Class 00: USB device 046a:0101, Wireless Desktop
   Device 1.3, speed 480 Mb/s
     Class 00: USB device 0bc2:2101, FreeAgent Go
   Device 1.4, speed 480 Mb/s
     Class 00: USB device 0bc2:2101, FreeAgent Go
   Device 2.5, speed 480 Mb/s
     Class 00: USB device 04a9:1606, CANON   DR-5010C
   Auto filters:
     Device *.* ID 04a9:1606

Can some one pelase help ? This ist a show stopper for this project ...

TIA
Matthias


Hi Matthias,

I experienced a similar behaviour with Epson and Canon USB Printers. there the ink fill status readout causes a complete hang of the software (Windows still operational). It seems to be related with USB 2.0 devices. An older USB 1.1 HP Printer works slow but fine.

Please check dmesg of the host system, there you should see a lot of USB info messages after plugging in the device.

If you get a BSOD in XP when shutting down Windows or when removing the USB Scanner then it is exactly the same issue that I have. It seems (from my point of view) to be related with the KVM-USB virtualization. I could reduce some of the BSOD's by forcing the host USB system to fall back to USB 1.x (switch in BIOS), but printing with the 2.0 devices was still not possible!

I have currently no real idea how to solve the issue - additionally the transfer rates of USB are horribly - I do not get more than ~ 64K/sec.

If there are improvements on that somewhere "uncomitted" I would like to try them out.

Best regards,

Erik
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux