Fw: vmmouse and GPM (console mouse)
Peter Hanzel
hanzelpeter at gmail.com
Thu Apr 17 04:26:34 PDT 2008
And also
Section "Device"
Option "HWCursor" "False"
EndSection
with vmmouse as mouse driver behaves as mine program.
----- Original Message -----
From: "Peter Hanzel" <hanzelpeter at gmail.com>
To: <vinayvinay at gmail.com>
Cc: <xorg at lists.freedesktop.org>
Sent: Thursday, April 17, 2008 1:13 PM
Subject: Fw: vmmouse and GPM (console mouse)
> Hello.
>
> I was playing with this thing and found something interesting.
> When you start X windows with graphics driver = "vesa" and mouse driver =
> "vmmouse" it behaves exactly as mine program. So you can leave window, but
> not enter.
>
> So I thing vmmouse will work only with VMWare SVGA modes.
>
> ----- Original Message -----
> From: "Peter Hanzel" <hanzelpeter at gmail.com>
> To: <vinayvinay at gmail.com>
> Cc: <xorg at lists.freedesktop.org>
> Sent: Wednesday, April 16, 2008 5:38 PM
> Subject: Re: vmmouse and GPM (console mouse)
>
>
>> Hello.
>>
>> First of all the patch is not complete. It assumes your screen resulution
>> is
>> 800x600 (framebuffer console).
>> And you must start gpm with mouse type = vmmouse.
>>
>> But also I have developed test.c application to read mouse pos using
>> VMMouseClient_GetInput and it behaves the same.
>> You can leave vmware window but not enter. VMMouseClient_GetInput returns
>> 0
>> as numPackets.
>>
>> see attachments.
>>
>> ----- Original Message -----
>> From: "Vinay Reddy" <vinayvinay at gmail.com>
>> To: "Peter Hanzel" <hanzelpeter at gmail.com>
>> Cc: <xorg at lists.freedesktop.org>
>> Sent: Wednesday, April 16, 2008 5:32 PM
>> Subject: Re: vmmouse and GPM (console mouse)
>>
>>
>>>> I have patched GPM to work with VMWare mouse.
>>>> At init I do same thing as vmmouse from xorg.
>>>>
>>>> So
>>>> 1) VMMouseClient_Enable
>>>> 2) VMMouseClient_RequestAbsolute
>>>>
>>>> And than I handle input using VMMouseClient_GetInput.
>>>> And it works. Mouse moves correctly and I can also ungrab. (move out
>>>> of
>>>> vmware window works).
>>>> But I can't get back - grab is not working automatically. I need to
>>>> click
>>>> to window and than mouse works fine.
>>>
>>> Of the top of my head, I can't seem to think of anything that would
>>> cause it. I'd give it a give this a try; would it be possible for you
>>> to send me the patch to gpm?
>>>
>>> Thanks,
>>> Vinay
>>>
>>
>
More information about the xorg
mailing list