Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H2Z8G-0005Kr-8J for qemu-devel@nongnu.org; Thu, 04 Jan 2007 15:24:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H2Z8E-0005HS-8L for qemu-devel@nongnu.org; Thu, 04 Jan 2007 15:24:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2Z8E-0005H8-48 for qemu-devel@nongnu.org; Thu, 04 Jan 2007 15:24:10 -0500 Received: from [204.10.1.23] (helo=parsley.amaranth.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H2Z8D-0006TR-KP for qemu-devel@nongnu.org; Thu, 04 Jan 2007 15:24:09 -0500 Received: from fozzy.burkley.net ([194.46.87.120]) (authenticated bits=0) by parsley.amaranth.net (8.12.11.20060308/8.12.11) with ESMTP id l04KO6db000626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 4 Jan 2007 15:24:08 -0500 Received: from kermit ([192.168.2.4]) by fozzy.burkley.net (8.12.8/8.12.8) with ESMTP id lB4KN8dY006305 for ; Tue, 4 Dec 2007 20:23:11 GMT Message-Id: <200712042023.lB4KN8dY006305@fozzy.burkley.net> From: "Mark B" Subject: RE: [Qemu-devel] USB EHCI development nearing completion Date: Thu, 4 Jan 2007 20:24:01 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <46d6db660701040153o5e1ee5e9o86393b1659f80e24@mail.gmail.com> 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 Apologies for the missed semi-colon - I edited the vendor id after the fact. Looks like I chopped the call to init as well. You'll need this: --- qemu-0.8.2/hw/pc.c 2006-07-22 17:23:34.000000000 +0100 +++ qemu-dev/hw/pc.c 2007-12-04 20:17:16.000000000 +0000 @@ -842,6 +842,8 @@ usb_uhci_init(pci_bus, piix3_devfn + 2); } + usb_ehci_init(pci_bus, piix3_devfn + 4); + if (pci_enabled && acpi_enabled) { piix4_pm_init(pci_bus, piix3_devfn + 3); } After that it should just be a question of adding devices with -usbdevice or whatever. Since ehci is initialized after uhci, its ports are top of the free list and get allocated first. Ehci *should* hand-off low or full speed devices to a companion controller but that's TBD for now. Mark -----Original Message----- From: qemu-devel-bounces+qemu=corbally.net@nongnu.org [mailto:qemu-devel-bounces+qemu=corbally.net@nongnu.org] On Behalf Of Christian MICHON Sent: 04 January 2007 09:53 To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] USB EHCI development nearing completion I tested it on win32 host. Apparently a typo mistake (see updated patch) how to use it ? diff -Nur ehci.patch ehci-xian.patch --- ehci.patch Thu Jan 4 09:50:17 2007 +++ ehci-xian.patch Thu Jan 4 10:40:26 2007 @@ -1722,7 +1722,7 @@ + printf ("buffer is %p (+%d)\n", s->buffer, (uint8_t*)s->buffer - (uint8_t*)s); + + pci_conf = s->dev.config; -+ pci_conf[0x00] = 0x86 ++ pci_conf[0x00] = 0x86; + pci_conf[0x01] = 0x80; // Intel VID + pci_conf[0x02] = 0x55; + pci_conf[0x03] = 0x55; // Made up product ID On 1/4/07, Mark B wrote: > > Paul, > > I don't see anything to do with EHCI in Chromium. I was just referring to > the 3D patch as an example - maybe this is causing confusion. > > Did anyone else get a chance to look at the EHCI emulation patch? > > Thanks, > > Mark > -- Christian _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel