gpm question

jtannenba plug-discuss@lists.PLUG.phoenix.az.us
Mon, 10 Dec 2001 12:32:49 -0800 (PST)


Thx.
Joe
--- Thomas Mondoshawan Tate <phoenix@psy.ed.asu.edu>
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
> phoenix@psy.ed.asu.edu
> http://tank.dyndns.org
> 

> ATTACHMENT part 2 application/pgp-signature 



=====
JT and NE Tannenbaum
jtannenba@yahoo.com

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