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

Re: Mouse Problem



On Thu, Jan 23, 2003 at 07:16:57PM -0500, Stephen Gran wrote:
| This one time, at band camp, rm@ednf.org said:

| > I an having weird things happen to my mouse on bootup, and through X.
| > Generic ps/2 mouse, windows type clone
| > I am trying different combinations of :
| > /dev/mouse
| > /dev/psaux (used by gpm)
| > and different protocols
| > protocol PS/2
| > protocol mousesystems
| > protocol IntelliMouse (used with a different mouse than above two)
| > 
| > but the mouse if _still_ unstable. At the slightest touch it careers off
| > screen in some random direction, never to appear again, though upon
| > movement it squeals...
| 
| This sounds like a wrong mouse protocol

I agree here.  Try different protocols until one works.  You might
want to also unplug the mouse sometimes to "reset" it's internal
state.

[...]
| It's often difficult to make gpm and X get along nicely,

What!?

Step by step process :

    1)  Configure gpm
        a) use the real device (/dev/psaux)
        b) use the correct protocol
        c) repeat_type=raw

    2)  Configure X
        a)  use the repeater (/dev/gpmdata)
        b)  use the correct protocol!!
            (the /same/ protocol as gpm is set to use)

What NOT to do :
    1) tell gpm and X to fight over the same device file (eg /dev/psaux)
    2) tell gpm and X to fight over which protocol to use (use the
            same one for both, it's the same mouse after all!)

| so if you have no real reason to use gpm, I'd recommend dumping it.

That applies to any software in general, but don't give gpm a hard
time for people misconfiguring X and thinking it's gpm's fault :-).

-D

-- 
"Open Source Software - Sometimes you get more than you paid for..."
 
http://dman.ddts.net/~dman/

Attachment: pgpCgzKpaerfa.pgp
Description: PGP signature


Reply to: