Mouse locks up at end of boot on Mac OS 9.2 on a RaspberryPi

About Qemu-system-ppc, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
win.exe
Tinkerer
Posts: 42
Joined: Tue Apr 07, 2020 4:59 pm

Mouse locks up at end of boot on Mac OS 9.2 on a RaspberryPi

Post by win.exe »

When I boot Mac OS 9.2, my mouse locks up after it boots up. When Installing from the cd, this didn’t happen. My host is Raspbian Buster on a Raspberry Pi 3 model b. My qemu.command is

Code: Select all

 #!/bin/bash
cd "$(dirname "$0")"

qemu-system-ppc -L pc-bios -boot c -M mac99,via=pmu -m 512 \
-prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' \
-drive file=MacOS9.2.img,format=raw,media=disk \
-drive file=MacOS9.2.iso,format=raw,media=cdrom \
-netdev user,id=network01 -device sungem,netdev=network01 \
-device VGA,edid=on \
Qemu version is 3.1.0 (From Debian Buster distribution package)
User avatar
adespoton
Forum All-Star
Posts: 4279
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Mouse locks up at end of boot on Mac OS 9.2 on a Raspber

Post by adespoton »

Try checking the massive qemu gsoc thread from back when 3.1 was cutting edge; you may need to change to g3beige, and you may need to tweak configuration between using USB and ADB mouse.
win.exe
Tinkerer
Posts: 42
Joined: Tue Apr 07, 2020 4:59 pm

Re: Mouse locks up at end of boot on Mac OS 9.2 on a Raspber

Post by win.exe »

Scrolling through that forum is a pain so do you have any page numbers to fast forward?
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Mouse locks up at end of boot on Mac OS 9.2 on a Raspber

Post by Cat_7 »

some pointers for the machine model:

mac99,via=pmu always presents usb keyboard and mouse to the guest
mac99 always presents adb keyboard and mouse to the guest
g3beige always presents adb keyboard and mouse to the guest

I think g3beige will not work with Mac OS 9.2 as guest.

Best,
Cat_7
User avatar
UbuntuXP
Tinkerer
Posts: 68
Joined: Sat Feb 08, 2014 8:15 pm

Re: Mouse locks up at end of boot on Mac OS 9.2 on a Raspber

Post by UbuntuXP »

Here's a couple of suggestions I got:
  • Try booting in safe mode and see if you can move the mouse after booting to desktop.
  • Constantly move the mouse during boot.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."

Doug Gwyn
win.exe
Tinkerer
Posts: 42
Joined: Tue Apr 07, 2020 4:59 pm

Re: Mouse locks up at end of boot on Mac OS 9.2 on a Raspber

Post by win.exe »

I haven’t tried your first suggestion but can I use -prom-env ‘boot-args=-x’ to boot in safe mode?
I can move the mouse on boot but when it fully loads it locks up.
User avatar
adespoton
Forum All-Star
Posts: 4279
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Mouse locks up at end of boot on Mac OS 9.2 on a Raspber

Post by adespoton »

Try mac99,via=pmu -- does that work any better for you? I'm guessing the issue is with the ADB mouse.

You could also try manually adding a USB mouse using -device usb-mouse
User avatar
UbuntuXP
Tinkerer
Posts: 68
Joined: Sat Feb 08, 2014 8:15 pm

Re: Mouse locks up at end of boot on Mac OS 9.2 on a Raspber

Post by UbuntuXP »

@madreamer, you have to press the shift key when you see the happy mac until it says extensions off in order to boot in safe mode. This is due to Mac OS 9 not having a concept of boot arguments like Mac OS X.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."

Doug Gwyn
win.exe
Tinkerer
Posts: 42
Joined: Tue Apr 07, 2020 4:59 pm

Re: Mouse locks up at end of boot on Mac OS 9.2 on a Raspber

Post by win.exe »

Overview of what I've tried.
I tried

Code: Select all

-device usb-mouse
with

Code: Select all

-M mac99,via=cuda
but I get the same problem. Should I try with

Code: Select all

-M mac99,via=pmu
. Safe mode fixed the problem. But there's is 2 drawbacks, I have to hold shift every time and the second one is that I can't launch some apps.
User avatar
adespoton
Forum All-Star
Posts: 4279
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Mouse locks up at end of boot on Mac OS 9.2 on a Raspber

Post by adespoton »

Try with PMU and see if that fixes it; this will at least narrow down the issue so others will have a better idea of what's going wrong.
win.exe
Tinkerer
Posts: 42
Joined: Tue Apr 07, 2020 4:59 pm

Re: Mouse locks up at end of boot on Mac OS 9.2 on a Raspber

Post by win.exe »

Code: Select all

-M mac99,via=pmu
still gives me the problem.
win.exe
Tinkerer
Posts: 42
Joined: Tue Apr 07, 2020 4:59 pm

Re: Mouse locks up at end of boot on Mac OS 9.2 on a Raspber

Post by win.exe »

Given up, Installed Windows 10 on Arm on Raspberry Pi.
Post Reply