[OpenBIOS] [Qemu-ppc] [PATCH] ppc: Add MacOS VGA driver ROM

Programmingkid programmingkidx at gmail.com
Mon Aug 1 15:17:07 CEST 2016

On Aug 1, 2016, at 2:28 AM, Howard Spoelstra wrote:

>> On 01 Aug 2016, at 02:29, Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
>> On Sun, 2016-07-31 at 20:00 -0400, G 3 wrote:
>>>> Hi, I noticed one small regression using this patch and the rom:  
>>>> OSX 10.5 no longer gets to the desktop. Not that it matters much,  
>>>> mouse and keyboard weren’t working anyway.
>>> I'm glad to hear that Mac OS 10.5 boots to the desktop. If this  
>>> driver does cause problems it could be a problem with Mac OS 10.5,
>>> or  
>>> the driver. Either way, a command-line option for disabling or  
>>> altering this driver might be the solution.
>>> The mouse and keyboard drivers for ADB were removed from the Mac OS  
>>> in Mac OS 10.5 I think. Could you try the USB keyboard and mouse?
>>> Do you think you could post a picture of Mac OS 10.5 running in QEMU?
>> That's interesting, I didn't get 10.5 to boot to desktop either but
>> didn't think of trying without the NDRV, I maybe incorrectly assumed it
>> was an unrelated problem due to the lack of a supported PMU or SMU
>> based platform. I'll have a look later this week see if there's
>> anything the driver is doing that is upsetting OS 10.5
>> Cheers,
>> Ben.
> Perhaps a bit misleading, but I meant the installation DVD boots to the installer without the driver. It takes a long time before the installer shows.
> Picture is here: http://www.open.ou.nl/hsp/images/qemu/qemu_leopard.jpg
> I already have no keyboard at the OpenBIOS prompt when using -usbdevice keyboard, so perhaps someone else has better luck.

For the keyboard issue, I think the problem is the Mac99 target uses OHCI. It is a USB controller that implements USB 1.1. Lets try USB 2.0. Could you try this command: 

-device ich9-usb-uhci1,id=newusb -device usb-audio,bus=newusb.0 -device usb-keyboard,bus=newusb.0 -device usb-mouse,bus=newusb.0

It adds a usb audio device also. Do you think you could test out a few MP3's if the keyboard works?

More information about the OpenBIOS mailing list