Switch to full style
About QEMU, a PPC Mac emulator (among many others) for Windows, MacOSX, and Linux that can run Mac OS 9.0 up to Mac OS X 10.5
Post a reply

Mouse & Shared folder

Thu Jun 29, 2017 2:45 pm

I'm a neophyte, I installed Qemu on Mac with Sierra 10.12.5, with some attempts to get it running, I have to solve two problems: the mouse runs slowly in Qemu and I do not know how to create a shared folder from Qemu and the host.
There is a solution to these problems. Thank you.

Re: Mouse & Shared folder

Thu Jun 29, 2017 3:41 pm

Hi,

There is no working shared folder functionality available right now.
Which Mac OS are you emulating? Have you checked the mouse speed settings in the guest OS?

Best,
Cat_7

Re: Mouse & Shared folder

Thu Jun 29, 2017 4:49 pm

Hi,
I emulate MacOs 9.2.1, about mouse tomorrow will control the settings.
I'm sorry that can not have a direct communication between Sierra and OS 9.2. Thank you.

Re: Mouse & Shared folder

Thu Jun 29, 2017 7:05 pm

I´m using SheepShaver to write onto the Qemu raw image.
Not that elegant but working.

Re: Mouse & Shared folder

Thu Jun 29, 2017 7:46 pm

If the QEMU HD is formatted HFS+, you can simply mount the image file in the OSX/macOS host and copy files to it or from it. To prevent possible file system corruption, be careful not to have the volume mounted in the host OS while QEMU is running.

Re: Mouse & Shared folder

Thu Jun 29, 2017 8:07 pm

Because you can mount/eject images on the fly in QEMU, you can also create a "transfer" image that you can mount on either the host or the guest. That way, you can leave QEMU running, and treat it as if you're taking a USB stick out of one machine and inserting it in the other to transfer files.

Re: Mouse & Shared folder

Fri Jun 30, 2017 7:58 am

I found very useful the advice of Ronald P. Regensburg and adespoton to transfer files to and from Qemu. About my question on the mouse I have now put the speed on fast and is faster but it is not fluid, can not make precise moves.

Re: Mouse & Shared folder

Thu Dec 06, 2018 9:11 am

Another way to transfer files - in my use case because I'm using an IDE in the host but compiling code on the ARM QEMU guest - is to setup something like fswatch in combination with a file syncing or copying tool (scp or rsync). When correctly configured this will copy files to the QEMU machine whenever they change.

scp on its own should be sufficient to move files to or from the guest without resorting to the risks of a mount-unmount cycle but requires running manually.

Couple of assumptions I've made: your host is a modern OS. fswatch works cross-platform but in subtly different ways. I've also assumed that the guest is running an ssh daemon. There's nothing stopping fswatch using FTP (and a corresponding guest FTP daemon) if that works for you. A Linux host also has inotify-based tools.

It's not strictly a shared folder but the end result is mostly the same.

HTH.

Re: Mouse & Shared folder

Thu Dec 06, 2018 5:12 pm

Ringworld wrote:I found very useful the advice of Ronald P. Regensburg and adespoton to transfer files to and from Qemu. About my question on the mouse I have now put the speed on fast and is faster but it is not fluid, can not make precise moves.


I just started experiencing the same problem; changing to -m mac99,via=pmu fixed the issue for me. Seems to be something introduced in the CUDA emulation.

Re: Mouse & Shared folder

Tue Apr 23, 2019 1:35 pm

I have tried to improve mouse movement under macOS.

https://github.com/kanjitalk755/qemu

Re: Mouse & Shared folder

Tue Apr 23, 2019 4:59 pm

Hi,

I can't compile the source. The folder gamepad-osx is empty.
Should I somehow init the submodule?

Only submodules known are the default ones: ui/keycodemapdb tests/fp/berkeley-testfloat-3 tests/fp/berkeley-softfloat-3 dtc capstone

EDIT: I found the required files here: https://github.com/suzukiplan/gamepad-o ... 2349cdd495

Best,
Cat_7
Last edited by Cat_7 on Tue Apr 23, 2019 5:11 pm, edited 1 time in total.
Reason:  

Re: Mouse & Shared folder

Wed Apr 24, 2019 3:04 am

I found how to do mouse integration, but it didn't work QEMU3.1.0/4.0.0-rc4.

https://wiki.archlinux.org/index.php/QEMU#Mouse_integration

Does anyone know how to do mouse integration with the latest version?

Re: Mouse & Shared folder

Wed Apr 24, 2019 4:15 am

I struggled with that before, but there is no tablet driver available in Mac OS 9.

Some fixes to the SDL code were made by the SDL maintainer to get a decent mouse/keyboard behaviour in Mac OS 9. Particularly when two Qemu instances were running.

As OSX hosts do not use SDL or GTK by default, it might be the mouse integration does not work for OSX guests?

Best,
Cat_7

Re: Mouse & Shared folder

Wed Apr 24, 2019 5:45 am

How does VirtualBox do it? Because it definitely has Mouse Integration under macOS.

Re: Mouse & Shared folder

Wed Apr 24, 2019 1:33 pm

According to System Profiler, the guest OS X is connected to a USB tablet.

It turned out that QEMU's mouse integration can be realized by appending "-usb tablet" argument if guest is OS X.

If Mac OS 9 has a standard USB tablet driver, the mouse integration may be realized.

Re: Mouse & Shared folder

Wed Apr 24, 2019 3:46 pm

Right... after checking, that's how VBox does it too. Of course, it doesn't run OS 9.

I know there are tablet drivers for classic Mac OS (Wacom ones, for instance), but I'm not sure offhand if OS 9 has them by default. I would expect it to, as 10.1 contains them, but Apple was not really consistent back then.

If integration doesn't work by default with "-usb tablet" then we could try installing a Wacom driver and see if that makes it work.
Post a reply