public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Erik Rull <erik.rull@rdsoftware.de>
To: "Matthias Henze (L)" <lists@mhcsoftware.de>
Cc: kvm@vger.kernel.org
Subject: Re: USB Scanner
Date: Mon, 03 Jan 2011 16:43:06 +0100	[thread overview]
Message-ID: <4D21EE8A.7060108@rdsoftware.de> (raw)
In-Reply-To: <ifs23n$dp$1@dough.gmane.org>

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

  reply	other threads:[~2011-01-03 15:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-03  8:41 USB Scanner Matthias Henze (L)
2011-01-03 15:43 ` Erik Rull [this message]
2011-01-03 22:59   ` David Ahern
2011-01-03 23:35     ` Erik Rull
2011-01-03 23:50       ` David Ahern
2011-01-04  0:21         ` David Ahern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D21EE8A.7060108@rdsoftware.de \
    --to=erik.rull@rdsoftware.de \
    --cc=kvm@vger.kernel.org \
    --cc=lists@mhcsoftware.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox