mouse problems

QEMU running on various flavours of BSD (FreeBSD, OpenBSD, NetBSD, etc)

mouse problems

Postby fbax on Fri Dec 29, 2006 7:28 pm

1) OpenBSD release (cdrom) qemu 0.8.1 - I ran qemu under X and managed to install Win98 as guest. Works great! I saved the virtual disk. This system is no longer available to me.

2) OpenBSD 4.0 snapshot without X. installed qemu 0.8.1 from snapshot packages. I was pleasantly surprised to find out I don't need X to run qemu (using -vnc option)!

I run qemu with -vnc and access it with TightVNC 1.2.9 client from a Win98 laptop.

My problem is that the mouse doesn't line up. When I mouse over to vnc windows, I can see a tiny square where my local mouse is and I can see the mouse pointer in Win98 guest. The two are never aligned and move at different speeds. When the little square (local) mouse leaves the vnc window, the mouse on guest stops moving, but this makes it difficult to reach the edge of guest window.

I hope I have described this clearly. Is there a way to fix it? Is the problem in TightVNC client or the vnc server inside qemu?
fbax
 
Posts: 6
Joined: Fri Dec 29, 2006 6:50 pm

Postby dignome on Fri Dec 29, 2006 8:48 pm

The problem is mouse acceleration done by the guest. One way to work around this is to use an input device that provides absolute coordinates. For this qemu has a usb tablet hid device. It can be enabled by:

-usbdevice tablet

It should be noted that the vm will run with slightly higher cpu utilization of the host processor.

In windows 2k and xp it is possible to disable mouse acceleration so that the pointer does not accelerate from the local pointer, but initial manual alignment must still be done. I do not know how to do that under windows 98.
User avatar
dignome
helper
 
Posts: 786
Joined: Thu Jan 12, 2006 5:09 am

Postby serkoon on Sat Dec 30, 2006 5:01 pm

What worked for me was to disable acceleration in the Windows quest and then aligning the two pointers by 'bumping' against the VNC window's 'sides'.

Perhaps this also works for you?
serkoon
 
Posts: 3
Joined: Wed Dec 27, 2006 4:16 pm

Postby Erik Veenstra on Sun Dec 31, 2006 12:13 am

> For this qemu has a usb tablet hid device. It can be enabled
> by:
>
> -usbdevice tablet
>
> I do not know how to do that under windows 98.

Yes, it does... ;]

(You just solved my mouse problem when running Windows 98
within QEMU on top of Linux.)

Thanks.

gegroet,
Erik V. - http://www.erikveen.dds.nl/
Erik Veenstra
 
Posts: 1
Joined: Sun Dec 31, 2006 12:08 am

Postby fbax on Wed Jan 03, 2007 4:50 am

dignome wrote:The problem is mouse acceleration done by the guest. One way to work around this is to use an input device that provides absolute coordinates. For this qemu has a usb tablet hid device. It can be enabled by:

-usbdevice tablet

It should be noted that the vm will run with slightly higher cpu utilization of the host processor.


Yes, this works great, thank you!!
fbax
 
Posts: 6
Joined: Fri Dec 29, 2006 6:50 pm


Return to QEMU for *BSD

Who is online

Users browsing this forum: No registered users and 0 guests