From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS7tz-0006Vl-7Y for qemu-devel@nongnu.org; Thu, 11 Sep 2014 13:11:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS7tq-0004GN-41 for qemu-devel@nongnu.org; Thu, 11 Sep 2014 13:11:23 -0400 Received: from mail-qg0-x22e.google.com ([2607:f8b0:400d:c04::22e]:56336) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS7tq-0004GJ-00 for qemu-devel@nongnu.org; Thu, 11 Sep 2014 13:11:14 -0400 Received: by mail-qg0-f46.google.com with SMTP id q107so10925586qgd.5 for ; Thu, 11 Sep 2014 10:11:13 -0700 (PDT) Date: Thu, 11 Sep 2014 13:11:11 -0400 From: "Gabriel L. Somlo" Message-ID: <20140911171110.GD1825@ERROL.INI.CMU.EDU> References: <20140911154159.GB1825@ERROL.INI.CMU.EDU> <5411C474.6050105@redhat.com> <20140911163508.GC1825@ERROL.INI.CMU.EDU> <5411D086.8030400@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5411D086.8030400@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: Paolo Bonzini Cc: edk2-devel@lists.sourceforge.net, agraf@suse.de, qemu-devel@nongnu.org, kraxel@redhat.com, reza.jelveh@tuhh.de, lersek@redhat.com On Thu, Sep 11, 2014 at 06:40:38PM +0200, Paolo Bonzini wrote: > Il 11/09/2014 18:35, Gabriel L. Somlo ha scritto: > >> > Can you configure Chamaleon to avoid the boot prompt? > > Yes. After doing that, usb starts working once OS X is fully booted. > > > > Works with either piix or q35 just fine. > > > > Does this mean it's likely to be an OVMF uhci/ehci issue specific to Q35 ? > > (one from which Fedora can recover but OS X can't) ? > > Yes, that's my interpretation too. > > You did test an UHCI controller, I think, but I don't remember---did you > test an EHCI controller without companions, using something like > "-device ich9-usb-ehci1,id=myehci -device usb-keyboard,bus=myehci.0"? That fails during QEMU initialization with: qemu-system-x86_64: -device usb-kbd,bus=myehci.0: Warning: speed mismatch trying to attach usb device "QEMU USB Keyboard" (full speed) to bus "myehci.0", port "1" (high speed) qemu-system-x86_64: -device usb-kbd,bus=myehci.0: Device initialization failed. qemu-system-x86_64: -device usb-kbd,bus=myehci.0: Device 'usb-kbd' could not be initialized So I guess OVMF doesn't have a chance to get involved here before we crash and burn :) Thanks, --Gabriel > If that works, the issue would be specific to EHCI companion > controllers. If that doesn't work, there is at least a generic in the > EHCI driver---of course there could possibly be another in the companion > controllers, but I'd try getting EHCI alone to work.