qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [edk2] OVMF, Q35 and USB keyboard/mouse
Date: Thu, 11 Sep 2014 19:15:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

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
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]