Re: GPM for mouse
On Wed, Dec 17, 2003 at 05:05:04PM -0600, James Miller wrote:
> On Wed, 17 Dec 2003, Kent West wrote:
>
> > James Miller wrote:
> >
> > >normal behavior under X was killall gpm. So, what was I doing wrong? I'd
> > >be delighted if I could get gpm to cooperate with the mouse cursor under
> > >X.
> >
> > and your /etc/X11/XFConfig-4 file, Input Device section will look
> > something like:
> > Section "InputDevice"
> > Identifier "Configured Mouse"
> > Driver "mouse"
> > Option "CorePointer"
> > Option "Device" "/dev/gpmdata"
> > Option "Protocol" "ImPS/2"
> > Option "ZAxisMapping" "4 5"
> > EndSection
> >
> Hey, I just noticed somethin skwerky. I've got TWO 'Section "InputDevice'
> stanzas in my XF86Config4 - like so:
>
> Section "InputDevice"
> Identifier "Configured Mouse"
> Driver "mouse"
> Option "CorePointer"
> Option "Device" "/dev/psaux"
> Option "Protocol" "PS/2"
> EndSection
>
> Section "InputDevice"
> Identifier "Generic Mouse"
> Driver "mouse"
> Option "SendCoreEvents" "true"
> Option "Device" "/dev/input/mice"
> Option "Protocol" "ImPS/2"
> EndSection
>
> Hows come is that? Will that cause further grief in trying to get gpm
> going alongside X? (no "ZAxisMapping" line either, I note)
>
Thats quite usual afaik. psaux is you ps2 mouse (you can only open it
once, so you have to use the gpm repeater and /dev/gpmdata if you want
to use it both in the console and X). The input/mice under 2.4.22 is
the usb mouse. This can be opened multiple times, so you can use it
both in X and the console without repeating it.
Under 2.6 all mice go to /dev/input/mice, the ps2 one also goes to
/dev/psaux (you could get a hyper sensitive mouse this way, drove me
crazy with the touchpad). I think you can also access indevidual mice
in /dev/input/mouse<n>
> Thanks, James
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Reply to: