qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 319014] Re: serial usb-device can't be passed-through to a guest
       [not found] <20090119231638.9106.73451.malonedeb@gangotri.canonical.com>
@ 2010-06-02 19:23 ` Anthony Liguori
  2010-06-03 15:41 ` Nico Prenzel
  1 sibling, 0 replies; 4+ messages in thread
From: Anthony Liguori @ 2010-06-02 19:23 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Fix Released

-- 
serial usb-device can't be passed-through to a guest
https://bugs.launchpad.net/bugs/319014
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: Fix Released
Status in CentOS: New

Bug description:
Hello,

I use Debian Lenny with qemu/kvm version 79. If I try to pass-through my "US Robotics 56K USB Modem Model 5637" to any guest, I get an perror("usb_linux_update_endp_table").
So, I've searched through the qemu-devel archives and found the following thread:
http://www.archivum.info/qemu-devel@nongnu.org/2008-10/msg00299.html
If I remove the "return 1;" as stated above my usb modem get's successfully passed-through to the guest and the modem works fine.
Is there any chance to get serial usb devices to work out of standard qemu/kvm, without the need to apply this line to every qemu/kvm version?

NicoP.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] [Bug 319014] Re: serial usb-device can't be passed-through to a guest
       [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
  1 sibling, 1 reply; 4+ messages in thread
From: Nico Prenzel @ 2010-06-03 15:41 UTC (permalink / raw)
  To: qemu-devel

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.

-- 
serial usb-device can't be passed-through to a guest
https://bugs.launchpad.net/bugs/319014
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: Fix Released
Status in CentOS: New

Bug description:
Hello,

I use Debian Lenny with qemu/kvm version 79. If I try to pass-through my "US Robotics 56K USB Modem Model 5637" to any guest, I get an perror("usb_linux_update_endp_table").
So, I've searched through the qemu-devel archives and found the following thread:
http://www.archivum.info/qemu-devel@nongnu.org/2008-10/msg00299.html
If I remove the "return 1;" as stated above my usb modem get's successfully passed-through to the guest and the modem works fine.
Is there any chance to get serial usb devices to work out of standard qemu/kvm, without the need to apply this line to every qemu/kvm version?

NicoP.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [Bug 319014] Re: serial usb-device can't be passed-through to a guest
  2010-06-03 15:41 ` Nico Prenzel
@ 2010-06-03 17:23   ` David S. Ahern
  2010-06-16 11:42     ` Antwort: " Nico Prenzel
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Ahern @ 2010-06-03 17:23 UTC (permalink / raw)
  To: Nico Prenzel; +Cc: qemu-devel



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Antwort: Re: [Qemu-devel] [Bug 319014] Re: serial usb-device can't be passed-through to a guest
  2010-06-03 17:23   ` David S. Ahern
@ 2010-06-16 11:42     ` Nico Prenzel
  0 siblings, 0 replies; 4+ messages in thread
From: Nico Prenzel @ 2010-06-16 11:42 UTC (permalink / raw)
  To: David S. Ahern; +Cc: qemu-devel

[-- Attachment #1: Type: text/html, Size: 2935 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-16 11:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2010-06-16 11:42     ` Antwort: " Nico Prenzel

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).