From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS7y2-0008Lr-8H for qemu-devel@nongnu.org; Thu, 11 Sep 2014 13:15:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS7xx-0005bg-DC for qemu-devel@nongnu.org; Thu, 11 Sep 2014 13:15:34 -0400 Received: from mail-qc0-x231.google.com ([2607:f8b0:400d:c01::231]:33269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS7xx-0005bU-8v for qemu-devel@nongnu.org; Thu, 11 Sep 2014 13:15:29 -0400 Received: by mail-qc0-f177.google.com with SMTP id i8so21461876qcq.22 for ; Thu, 11 Sep 2014 10:15:28 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5411D8AB.7020108@redhat.com> Date: Thu, 11 Sep 2014 19:15:23 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20140911154159.GB1825@ERROL.INI.CMU.EDU> <5411C474.6050105@redhat.com> <20140911163508.GC1825@ERROL.INI.CMU.EDU> <5411D086.8030400@redhat.com> <20140911171110.GD1825@ERROL.INI.CMU.EDU> In-Reply-To: <20140911171110.GD1825@ERROL.INI.CMU.EDU> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [edk2] 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: qemu-devel@nongnu.org Il 11/09/2014 19:11, Gabriel L. Somlo ha scritto: > 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 :) Ah, that needs this patch here: http://article.gmane.org/gmane.comp.emulators.qemu/296216/raw Paolo > 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. > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >