On 01/03/11 08:43, Erik Rull wrote: > Matthias Henze (L) wrote: >> Hi, >> >> finally I've tried to connect a USB scanner to a KVM VM. I've done so by >> adding >> >> 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. The attached work for me with an Epson CX7800. I was able to print and scan with Vista; driver setup for XP was more of a pain - I only got the printer setup working. It's the EHCI code from git://git.kiszka.org/qemu.git ehci with http://www.mail-archive.com/qemu-devel@nongnu.org/msg38795.html and a couple of local additions. Applies cleanly to qemu-kvm.git as of today (b724fa4bb46b82c54b5f0a2cf9177194020433efO). EHCI is not ready for prime time, but works for use cases like this one. David > > Best regards, > > Erik > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >