Received: from eggs.gnu.org ([2001:4830:134:3::10]:44033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS6Vm-0001cA-1M for qemu-devel@nongnu.org; Thu, 11 Sep 2014 11:42:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS6VY-0005I4-Sv for qemu-devel@nongnu.org; Thu, 11 Sep 2014 11:42:17 -0400 Received: from mail-qa0-x22c.google.com ([2607:f8b0:400d:c00::22c]:48270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS6VY-0005Hb-Mx for qemu-devel@nongnu.org; Thu, 11 Sep 2014 11:42:04 -0400 Received: by mail-qa0-f44.google.com with SMTP id w8so1186693qac.3 for ; Thu, 11 Sep 2014 08:42:03 -0700 (PDT) Date: Thu, 11 Sep 2014 11:42:00 -0400 From: "Gabriel L. Somlo" Message-ID: <20140911154159.GB1825@ERROL.INI.CMU.EDU> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5410D9F7.3040701@redhat.com> Subject: Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: edk2-devel@lists.sourceforge.net Cc: agraf@suse.de, qemu-devel@nongnu.org, kraxel@redhat.com, reza.jelveh@tuhh.de, pbonzini@redhat.com, lersek@redhat.com On Thu, 11 Sep 2014 01:08:39 +0200, Paolo Bonzini wrote: > Il 10/09/2014 16:06, Gabriel L. Somlo ha scritto: > > If it's in QEMU, it's only tickled by the OVMF + OSX combination. > > Fedora works (around it) fine, and everyone's happy when using > > SeaBIOS (and Chameleon, in OSX's case). > > > > BTW, when I do something like this: > > > > -usb -device ich9-usb-uhci1,id=uhci1 -device usb-kbd,bus=uhci1.0 \ > > -device ich9-usb-uhci2,id=uhci2 -device usb-mouse,bus=uhci2.0 > > > > I get an additional pair of uhci1 and uhci2 devices in qtree (at PCI > > 00:03.0 and 00:04.0, respectively). OS X "System Information" shows > > these two instead of the default uhci[1,2] (which are still shown > > in qtree at pci 00:1d.0 and 00:1d.1); It shows the default uhci3 at > > pci 00:1d.2, and the default ehci. > > > > With this configuration, keyboard and mouse work just fine on OSX+OVMF. > > Not sure, but hoping this provides some useful information to you. > > > > I'm still poring over the rest of the stuff you said, which is a > > slightly slower process :) > > Could you try building a SeaBIOS without EHCI and UHCI support, and see > if it also triggers the bug? Building SeaBIOS w/o EHCI and UHCI won't allow me to type into Chameleon's boot prompt at all (and yes, I do end up getting the "usb-kbd: warning: key event queue full" errors after a few keystrokes). So it *looks* similar, but happens everywhere (q35 or piix, fedora or osx, etc.) The problem I'm encountering only occurs with (Q35 & OVMF & OSX). Replace either component, e.g. (* & * & Fedora), or (* & Seabios & *), or (PIIX & * & *) and things work just fine... :) Thanks, --Gabriel