From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj7r6-0006Cn-JN for qemu-devel@nongnu.org; Thu, 13 Dec 2012 07:25:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tj7r5-0004Cz-CY for qemu-devel@nongnu.org; Thu, 13 Dec 2012 07:25:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj7r5-0004Cr-4u for qemu-devel@nongnu.org; Thu, 13 Dec 2012 07:25:35 -0500 Message-ID: <50C9C93B.9050609@redhat.com> Date: Thu, 13 Dec 2012 13:25:31 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] ehci and low/full speed peripherals List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: M P Cc: qemu-devel Developers On 12/13/12 11:38, M P wrote: > In the i.MX23 emulation, there is a EHCI sysbus device which is supported > and seems to work well already (using -usbdevice host:...) > > However most of the other peripherals (serial, hub, net) fail do to a > 'speed mismatch' error. I looked into a bit more details, and it seems the > EHCI has to be complimented to support lower speed peripherals. > > However, none of the attempts I made at 'complimenting' my ehci instance > with ohci seems to work, and grepping doesn't shows any other device using > this. > > How is this supposed to work ? See docs/ich9-ehci-uhci.cfg how that works in the x86 world. Using ohci instead of uhci works too. You need a single ohci controller only when setting the num-ports property to 6. Doing the same on sysbus needs some coding work to add masterbus + firstport properties and to wind up initialization accordingly. HTH, Gerd