[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No mouse in gpm



On Thu, Nov 27, 2003 at 07:33:36AM -0500, Paul Morgan wrote:
> Mark Healey wrote:
> 
> >On Wed, 26 Nov 2003 18:01:59 -0500, Paul Morgan wrote:
> >
> > 
> >
> >>Mark Healey wrote:
> >>
> >>   
> >>
> >>>In an earlier attempt to get X running I was told to
> >>>
> >>>If so, run "gpmconfig" and specify:
> >>>mouse location: /dev/psaux
> >>>mouse type: ps/2
> >>>repeat type: raw
> >>>
> >>>For my generic ps2 type mouse.
> >>>
> >>>I've done that and still no cursor.  I booted knoppix and it detected
> >>>the generic ps2 mouse at /dev/psaux and it worked correctly.
> >>>
> >>>What do I check next?
> >>>     
> >>>
> >
> >
> > 
> >
> >>Mark,
> >>
> >>You probably need to change the mouse type.  This is my /etc/gpm.conf
> >>and my ps/2 mouse works fine.
> >>
> >>device=/dev/psaux
> >>responsiveness=
> >>repeat_type=
> >>type=imps2
> >>append=""
> >>sample_rate=
> >>   
> >>
> >
> >Thanks, but that didn't work.
> >
> >
> >------------------------
> >Mark Healey
> >deblist@healeyonline.com
> >Don't bothor CCing or emailing this address.  Since spammers seem to be 
> >harvesting this
> >list anything that doesn't come from the list server is assumed to be spam 
> >and deleted.
> >ASUS A87V8X mobo w AMD Athalon
> >	Broadcom 4401 onboard nic
> >	with static IP Address
> >ATI All-In-Wonder 9700 Video card.
> >	Sampo Alphascan 17mx monitor
> >
> >
> > 
> >
> OK, I thought you were trying to set up console mouse, but you're trying 
> to set it up in X.  My fault, I misread your email.
> 
> As well as imps2 in gpm.conf, you should have this in 
> /etc/X11/XF86Config-4, or at least the Protocol.
> 
> Section "InputDevice"
>    Identifier    "Configured Mouse"
>    Driver        "mouse"
>    Option        "CorePointer"
>    Option        "Device"        "/dev/misc/psaux"
>    Option        "Protocol"        "ImPS/2"
>    Option        "Emulate3Buttons"    "true"
>    Option        "ZAxisMapping"        "4 5"
> EndSection
> 

If you are trying to pipe a mouse using gpm to X and its a serial mouse,
then X needs to use the /dev/gpmdata device and not /dev/psaux since
psaux can only be opened once, thus X won't be able to open it if gom
already did.
You will also need to set the repeat type so that gpm will repeat the
mouse to /dev/gpmdata. You can either use raw and then use the ImPS/2
protocol also in X or change the protocol on the pipe such as ms3 and
then use the appropriate protocol with X (gpm can pipe only into some of
the protocols though).
If you only want the mouse in X and not the console you can remove gpm
all together and use /dev/psaux in X as the device.

> 
> -- 
> ....................paul
> 
> 
> To any other Nation the loss of a Nelson would have been irreparable,
> but in the British Fleet off Cadiz, every Captain was a Nelson.
> 
> -- Adm Pierre Charles de Villeneuve,
> after the death of Adm Horatio Nelson
> at the Battle of Trafalgar, October 21, 1805.
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org
> 



Reply to: