From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47584 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKE9Q-0007y1-7v for qemu-devel@nongnu.org; Thu, 03 Jun 2010 13:24:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKE9L-0004yK-2M for qemu-devel@nongnu.org; Thu, 03 Jun 2010 13:24:16 -0400 Received: from sj-iport-4.cisco.com ([171.68.10.86]:34487) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKE9K-0004qb-S9 for qemu-devel@nongnu.org; Thu, 03 Jun 2010 13:24:11 -0400 Message-ID: <4C07E514.5050600@cisco.com> Date: Thu, 03 Jun 2010 11:23:32 -0600 From: "David S. Ahern" MIME-Version: 1.0 Subject: Re: [Qemu-devel] [Bug 319014] Re: serial usb-device can't be passed-through to a guest References: <20090119231638.9106.73451.malonedeb@gangotri.canonical.com> <20100603154149.24614.13277.malone@gandwana.canonical.com> In-Reply-To: <20100603154149.24614.13277.malone@gandwana.canonical.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nico Prenzel Cc: qemu-devel@nongnu.org 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