Re: 2.2.x access to /dev/mouse or psaux occasionally locks

Brian May (bam@snoopy.apana.org.au)
16 Feb 2000 17:14:17 +1100


>>>>> "john" == john <jstultz@andrew.cmu.edu> writes:

john> It seems that when I swap to the console, X closes
john> /dev/mouse and gpm opens it. Occasionally it seems that gpm
john> hangs while accessing /dev/mouse and will not let go until
john> it is killed. If I'm swapping from the console to X, the
john> reverse happens and occasionally X gets locked up on
john> accessing /dev/mouse, and won't let go until I briefly run
john> the second copy of X which then grabs and releases the
john> mouse. I've stopped using gpm, and so far I've not lost the
john> keyboard and mouse switching to a console from X (however, I
john> still occasionally lose it going into X).

Use the gpm -R parameter (ie set it up as a repeater), and tell X to
use /dev/gpmdata.

FYI, your message is really off-topic here I think...

-- 
Brian May <bam@snoopy.apana.org.au>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/