qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Ahern" <daahern@cisco.com>
To: Nico Prenzel <nico.prenzel@pn-systeme.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 319014] Re: serial usb-device can't be	passed-through to a guest
Date: Thu, 03 Jun 2010 11:23:32 -0600	[thread overview]
Message-ID: <4C07E514.5050600@cisco.com> (raw)
In-Reply-To: <20100603154149.24614.13277.malone@gandwana.canonical.com>



On 06/03/10 09:41, Nico Prenzel wrote:
> Hello Anthony,
> 
> which qemu-kvm version do you expect to work with serial usb devices?
> 
> After you've changed this ticket status and I've checked it again with qemu-kvm version 0.12.4. The reported error message is gone away and the device is present in the guest. The cdc_acm driver loads too without any visible problems, but the device is still unusable.
> The device data led flash if it gets un/initialized by minicom.
> But if I try to make a test dial, nothing happens after I call a phone number.
> 
> To be more precise:
> -host dosn't have loaded the cdc_acm driver
> -guest loads the cdc_acm driver
> -a dial with minicom to the same phone number works on the host, if I load the cdc_acm within the host
> 
> I would like to get this fixed, as I really want to use this usb-device
> as my dusty fax again.
> 

One option I resorted to is using Qemu's emulated USB serial device and
connecting it to the USB serial device host side. The stack then looks like:

  .---------------------.
  | VM                  |
  |                     |
  |    /dev/ttyUSB0     |
  |---------------------|
  | Qemu - serial device|
  '---------------------'
             |
  .---------------------.
  | Host: /dev/ttyUSB0  |
  '---------------------'
            |
  .---------------------.
  |  USB serial port    |++++++++<-- character stream -->++++++++
  '---------------------'


A hack, but it works. :-)

David

  reply	other threads:[~2010-06-03 17:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090119231638.9106.73451.malonedeb@gangotri.canonical.com>
2010-06-02 19:23 ` [Qemu-devel] [Bug 319014] Re: serial usb-device can't be passed-through to a guest Anthony Liguori
2010-06-03 15:41 ` Nico Prenzel
2010-06-03 17:23   ` David S. Ahern [this message]
2010-06-16 11:42     ` Antwort: " Nico Prenzel

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=4C07E514.5050600@cisco.com \
    --to=daahern@cisco.com \
    --cc=nico.prenzel@pn-systeme.de \
    --cc=qemu-devel@nongnu.org \
    /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;
as well as URLs for NNTP newsgroup(s).