From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTnvO-0006fA-T6 for qemu-devel@nongnu.org; Tue, 16 Sep 2014 04:15:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTnvI-0000iE-9s for qemu-devel@nongnu.org; Tue, 16 Sep 2014 04:15:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTnvH-0000ha-OE for qemu-devel@nongnu.org; Tue, 16 Sep 2014 04:15:40 -0400 Message-ID: <1410855320.32607.1.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Tue, 16 Sep 2014 10:15:20 +0200 In-Reply-To: <20140915192333.GR1825@ERROL.INI.CMU.EDU> References: <20140915192333.GR1825@ERROL.INI.CMU.EDU> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] OVMF, Q35 and USB keyboard/mouse List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gabriel L. Somlo" Cc: edk2-devel@lists.sourceforge.net, agraf@suse.de, qemu-devel@nongnu.org, reza.jelveh@tuhh.de, Paolo Bonzini , Laszlo Ersek Hi, > OK, so I forgot to articulate that with the above patch, I'm seeing > *both* uhci2 and uhci3, but not uhci1. Basically, if uhciX has an > irq_pin less than 2, it won't show up in OSX if booted with ovmf. > We're no longer looking at PIIX, this is q35 with ovmf or without. Can you test what happens with piix4 + usb2? (I suspect you can't as osx will simply not boot then due to the piix4 being much older than the intel port of osx). I think ovmf simply doesn't get the IRQ routing right (doesn't initialize PCI_INTERRUPT_LINE register correctly). It is *not* the same on piix and q35. See piix_pci_slot_get_irq vs. mch_pci_slot_get_irq in seabios source code. I think if you boot linux guests with "noacpi" it will have trouble with usb interrupts too. cheers, Gerd