gpm question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: jtannenba
Date:  
Subject: gpm question
Thx.
Joe
--- Thomas Mondoshawan Tate <>
wrote:
> On Mon, Dec 10, 2001 at 07:47:44AM -0800, jtannenba
> wrote:
> > Hi all,
> >
> > I recently tried Mandrake 8.1 (been using RH 6.1).
> > Twas not a great exprience. Main problem: could
> not
> > get a mouse cursor in X.
> >
> > Reloaded with Deb 2.2r4 and X works fine unless
> > I had gpm running prior to calling X. Then the
> > mouse cursor is there but won't work. Killing
> > gpm makes it start working.
> >
> > I didn't have to do this with RH 6.1, so my
> question
> > is how did RH handle it so it worked in X?
>
> Simple: start GPM with the repeater flag (-R
> <repeater type>). This will
> cause GPM to open the /dev/<mouse_dev> device for
> reading, interpret the
> commands as it normally would, but also repeat the
> commands verbatim to
> /dev/gpmdata.
>
> The reason why X didn't work while GPM was running
> prior to starting X was
> because GPM opened the /dev/<mouse_dev> device
> first. Under Linux, only the
> first program that opens a device for reading and/or
> writing gets the
> privelege of reading and/or writing to it.
>
> Have a look at the gpm(8) manpage for more
> information.
>
> --
> Thomas "Mondoshawan" Tate
>
> http://tank.dyndns.org
>


> ATTACHMENT part 2 application/pgp-signature




=====
JT and NE Tannenbaum


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com