Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse

2014-09-24 Thread Gabriel L. Somlo
On Mon, Sep 22, 2014 at 10:40:04PM +0200, Laszlo Ersek wrote: > On 09/22/14 18:44, Paolo Bonzini wrote: > > Il 22/09/2014 00:43, Laszlo Ersek ha scritto: > >> // Bus 0, Device 1, Function 0 - PCI to ISA Bridge > >> // > >> PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x3c), 0x00); > >> PciWrite8 (P

Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse

2014-09-22 Thread Laszlo Ersek
On 09/22/14 18:44, Paolo Bonzini wrote: > Il 22/09/2014 00:43, Laszlo Ersek ha scritto: >> // Bus 0, Device 1, Function 0 - PCI to ISA Bridge >> // >> PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x3c), 0x00); >> PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x60), 0x0b); // LNKA routing target >> PciWrit

Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse

2014-09-22 Thread Gabriel L. Somlo
On Mon, Sep 22, 2014 at 06:44:26PM +0200, Paolo Bonzini wrote: > Il 22/09/2014 00:43, Laszlo Ersek ha scritto: > > I mentioned earlier that grepping OvmfPkg for PCI_LIB_ADDRESS would be > > necessary. See PciInitialization() in > > "OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c". I remember that, b

Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse

2014-09-22 Thread Paolo Bonzini
Il 22/09/2014 00:43, Laszlo Ersek ha scritto: > // Bus 0, Device 1, Function 0 - PCI to ISA Bridge > // > PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x3c), 0x00); > PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x60), 0x0b); // LNKA routing target > PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x61), 0x0b); //

Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse

2014-09-11 Thread Paolo Bonzini
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

Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse

2014-09-10 Thread Paolo Bonzini
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,