From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOBte-0000lO-9q for qemu-devel@nongnu.org; Sun, 10 Feb 2008 08:07:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOBtd-0000lC-NG for qemu-devel@nongnu.org; Sun, 10 Feb 2008 08:07:01 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOBtd-0000l9-ID for qemu-devel@nongnu.org; Sun, 10 Feb 2008 08:07:01 -0500 Received: from mis011-1.exch011.intermedia.net ([64.78.21.128]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOBtd-00068k-7P for qemu-devel@nongnu.org; Sun, 10 Feb 2008 08:07:01 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Qemu-devel] USB support Date: Sun, 10 Feb 2008 05:06:31 -0800 Message-ID: <64F9B87B6B770947A9F8391472E0321610FB6B2E@ehost011-8.exch011.intermedia.net> In-Reply-To: <47ADC802.7040209@terminus.sk> From: "Arnon Gilboa" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The multi-config patch is already merged in Qemu 9.1=20 -----Original Message----- From: qemu-devel-bounces+arnong=3Dqumranet.com@nongnu.org [mailto:qemu-devel-bounces+arnong=3Dqumranet.com@nongnu.org] On Behalf = Of Marek Zelem Sent: Saturday, February 09, 2008 5:34 PM To: qemu-devel@nongnu.org Subject: [Qemu-devel] USB support Hi I want to inform you that I successfully attached my Canon MP830 (printer, scanner, fax) to Qemu via USB. It was not easy, I had to pass though two stoppages. 1. There is no support for multi port/config (do not know proper term for that) USB devices in Qemu. Meaning that if single USB device provides multiple functionalities (like printer, scanner, fax) it will be rejected by Qemu. Fortunately there is patch for that available on internet page http://www.wina.at/uni/html/linux-qemu.html (qemu-0.9.0-usb-multi-configs.patch). 2. When I applied the patch I hit another issue. When the USB device is not ready it is automatically switched to HALT state (if I understood it correctly) and additional ioctl USBDEVFS_CLEAR_HALT is required to give device another chance. Thus, I have written patch for that issue. The patch I am sending as attachment. When I applied both patches, everything worked fine. I suggest to include those two patches in Qemu. Best regards Marek Zelem -- e-mail: marek@terminus.sk web: http://marek.terminus.sk/ pgp key: http://marek.terminus.sk/gpg.txt