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

Re: lethal mice



On Tue, 13 Jan 1998, Peter L. Peres wrote:

> As to using gpm and X together on the same machine, I have tried, have
> learned, and given up. As long as different ppl. implement the X driver
> and gpm, the 2 will be different enough never to work together. Or am I
> wrong ?

I am using this 3 buttons Logitech MouseMan for 2 years, gpm and X running
simultaneously (serial Mouse). I have never had any problem at all with
colaboration between the X mouse driver and gpm. When in X, the mouse
works via the X driver, and if I switch to vconsole for a few minutes
(while X is running I mean), it works with gpm. Moreover, I have
disconnected the mouse on more than a few ocasions and replugged it in,
and there was no visible problem, and it worked fine.

If one uses a PS/2 mouse, I suggest first running xdm (if you use it), and
then run the gpm server. If you don't use xdm, then the startx process
should do a gpm -k; startx; gpm -t ps2 in order for both X and gpm to
coexist. startx sucks since the X server needs to be set-uid, something I
hate very much, xdm is much nicer.

Dats it,

--Ariel

> 
> On Tue, 13 Jan 1998, Gaal Yahas wrote:
> 
> > Hey.
> > 
> > My setup:
> > I'm running XFree86 3.2 (-9) on a boosted-and-upgraded redhat-4.2
> > system. My mouse is a psaux on-board thingie with driver compiled
> > statically (not as a module). Hardware is a dusty Compaq 575e.
> > X is run from script, not from xdm, and window manager is tvtwm,
> > which is a virtual-desktop version of twm. It has no version of
> > its own (that I could find) but thinks it comes with MIT X11R5.
> > 
> > The problem:
> > 
> > Unplug mouse.
> > Replug it.
> > Move it some:	no response from mouse, keyboard is okay
> > switch to a VC and back:	everything back to normal
> > 
> > BUT:
> > Unplug mouse.
> > Replug it.
> > Move it some: no response
> > Switch to a VC for a longer time, use the mouse (gpm) there
> > Switch back to X:	yikes, it dies, with the message:
> > 	Fatal server error:
> > 	Cannot open mouse (Device or resource busy)
> > 
> > This is quite disturbing, especially when you've got anywhere
> > between two and six computers on your desk and cables start
> > losing. AND those 15 windows you just had in your X are snarfed.
> > 
> > Now, the confusing bit here is who's fault is this? The X server?
> > the window manager? gpm? kernel?
> > 
> > Ideas, anyone?
> > 
> > 	Gaal
> > 
> > PS: I must admit theeffects of pulling out the mouse on other
> > platforms can get much worse, such as AIX cute system freeze,
> > but this is still not nice!
> > 
> > 
> > 
> > 
> 
> 

   +---------------------------------------------------------------+
   | Ariel Biener                                                  |
   | e-mail: ariel@post.tau.ac.il        Work ph: 03-6406086       |
   | fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC |
   +---------------------------------------------------------------+