Re: The quest for rodent power
Carel Fellinger <cfelling@iae.nl> writes:
>> With that setup, and in console mode running this command:
>> # /etc/init.d/gpm force-reload
>> Stopping mouse interface server: gpm.
>> Starting mouse interface server: gpm.
>> # ps wuax|grep gpm
>>
>> Appears as if gpm is started but nothing shows in ps output and mouse
>> doesn't work.
>>
>> Mouse doesn't work in X with these settings either.
>
> ofcourse not, because X depends on gpm to repeat the mouse events to
> /dev/gpmdata. Without gpm there won't be anything to read from it:)
I'm getting really confused here. With the most recent setup I posted
I get no mouse in either console or X. You say that is right since
gpm isn't running.
But in my original setup (posted againg below), X mouse does work but
there is no gpm running there either. Sorry to be so dense here, but
I think I'm still missing some fundemental aspect of this.
Settings that do work in X only:
First we establish that gpm is not running:
root # /etc/init.d/gpm force-reload
Stopping mouse interface server: gpm.
Starting mouse interface server: gpm.
root # ps waux|grep gpm
<nothing>
Gpm isn't running
/etc/gpm.conf
device=/dev/psaux
responsiveness=
repeat_type=ms3
type=ps2
append=""
sample_rate=
/etc/X11/XF86Config-4
[...]
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
[...]
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
[...]
Mouse works in X with above settings.
Reply to: