Mouse and keyboard not working in mac os x 10.0 :/

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
henry455
Space Cadet
Posts: 8
Joined: Tue Apr 13, 2021 7:30 am

Mouse and keyboard not working in mac os x 10.0 :/

Post by henry455 »

Hello! im trying to get mac os x 10.0 to work on qemu but well i cant do anything cause of the keyboard and mouse not working. I have tried some commands but nothing.

[The qemu.bat code]

qemu-system-ppc.exe -L pc-bios -boot d -M mac99,via=pmu -m 512 ^
-prom-env "auto-boot?=true" -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" ^
-drive file=osx_100_4k78_install.iso,format=raw,media=cdrom ^
-drive file=MacOS10.img,format=raw,media=disk ^
-sdl ^
-netdev user,id=network01 -device sungem,netdev=network01 ^
-device VGA,edid=on ^
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by Cat_7 »

Hi,

Please take a look at our guide, particularly the table at the beginning:
https://www.emaculation.com/doku.php/pp ... or-windows

It says to use -M mac99 for 10.0 and 10.1 guests, not -M mac99,via=pmu

Best,
Cat_7
henry455
Space Cadet
Posts: 8
Joined: Tue Apr 13, 2021 7:30 am

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by henry455 »

Well i tried that but then the qemu wont open :???:
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by Cat_7 »

Hi,

You need to be a bit more specific. What exactly happens? If qemu opens for a split second and then closes, there is an error in your bat file.
To find out what is happening, open a command window, navigate to your qemu folder and start qemu.bat from there.

Best,
Cat_7
henry455
Space Cadet
Posts: 8
Joined: Tue Apr 13, 2021 7:30 am

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by henry455 »

Well this is what i got

C:\Users\Kasutaja>CD Desktop

C:\Users\Kasutaja\Desktop>CD Os X folder

C:\Users\Kasutaja\Desktop\Os X folder>Qemu.bat

C:\Users\Kasutaja\Desktop\Os X folder>qemu-system-ppc.exe -L pc-bios -boot d -M mac99 -m 512 -prom-env "auto-boot?=true" -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" -drive file=osx_100_4k78_install.iso,format=raw,media=cdrom -drive file=MacOS10.img,format=raw,media=disk -sdl -netdev user,id=network01 -device sungem,netdev=network01 -device VGA,edid=on

qemu-system-ppc.exe:
: drive with bus=0, unit=0 (index=0) exists

C:\Users\Kasutaja\Desktop\Os X folder>
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by Cat_7 »

Hi,

The command line is very sensitive to spaces, particularly after the ^
And sometimes the - is not the - qemu expects when you copied the command line from somewhere ;-)

This simplified line should work (I left out all stuff that is default anyway).

qemu-system-ppc.exe ^
-L pc-bios -boot d -M mac99 -m 512 ^
-drive file=osx_100_4k78_install.iso,format=raw,media=cdrom ^
-drive file=MacOS10.img,format=raw,media=disk ^
-sdl

Best,
Cat_7
henry455
Space Cadet
Posts: 8
Joined: Tue Apr 13, 2021 7:30 am

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by henry455 »

Well the mouse now moves and the keyboard works but the mouse is shooting to left now :/
henry455
Space Cadet
Posts: 8
Joined: Tue Apr 13, 2021 7:30 am

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by henry455 »

and clicks randomly too
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by Cat_7 »

you can try to add:

-device usb-mouse

to the command line.

Best,
Cat_7
henry455
Space Cadet
Posts: 8
Joined: Tue Apr 13, 2021 7:30 am

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by henry455 »

Well that did not work :/
qemu code

qemu-system-ppc.exe ^
-L pc-bios -boot d -M mac99 -m 512 ^
-drive file=osx_100_4k78_install.iso,format=raw,media=cdrom ^
-drive file=MacOS10.img,format=raw,media=disk ^
-sdl ^
-device usb-mouse
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by adespoton »

Could you expand on "did not work?"

There are plenty of us who have essentially that command line working, so we need more information to be able to help you.

My first thought is that your boot CD, osx_100_4k78_install.iso, may be corrupt and unbootable. But it appears that's the WinWorld image, and if you search for the image name, you get a WinWorld page where Valyria posted instructions to get it to boot back in 2017. The other reference is a Reddit post from 2020 where someone was attempting to boot it on an older version of QEMU that doesn't properly support 10.0. So which version of QEMU are you using? Everything from 2.8 up should do the trick.
henry455
Space Cadet
Posts: 8
Joined: Tue Apr 13, 2021 7:30 am

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by henry455 »

Well that command did not help. the mouse is stiil going to the left side
henry455
Space Cadet
Posts: 8
Joined: Tue Apr 13, 2021 7:30 am

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by henry455 »

everithing is fine but the mouse is clicking randomly and shoots left when moving it
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Mouse and keyboard not working in mac os x 10.0 :/

Post by Cat_7 »

As I wrote earlier, add -device usb-mouse to the command line.
You never said what happened exactly when you did.

If you are back to the earlier command line, add that part in between the other commands so the command line stays correct.

Best,
Cat_7
Post Reply