[slackware-alphadevel] Bug report (and fix) - gpm

From: Jesper Juhl (juhl@eisenstein.dk)
Date: Thu Nov 30 2000 - 16:46:34 PST


I got an error during boot about the -t option missing an argument. When
I looked in /etc/rc.d/rc.gpm I saw that this was indeed the case. I also
took a look at the /dev/mouse link, and it's symlinked to /dev/cua0

 lrwxrwxrwx 1 root root 4 Nov 30
01:10 /dev/mouse -> cua0

that seems a bit strange to me all the Alphas I've come across have used
ps/2 mice, never serial mice. So wouldn't it be a more logical default to
have /dev/mouse symlinked to /dev/psaux ?
That's what I changed it to on my box.

The missing parameter for -t is the mouse type (ps2), and after adding
that (and fixing the symlink) then rc.gpm works nicely. See below for
patch to rc.gpm

--- rc.gpm~ Thu Nov 30 19:05:19 2000
+++ rc.gpm Fri Dec 1 00:41:31 2000
@@ -1,6 +1,6 @@
 # Running gpm
 echo "Running gpm..."
-gpm -m /dev/mouse -t
+gpm -m /dev/mouse -t ps2
 # There is another way to run GPM, where it acts as a repeater
outputting a
 # virtual MouseSystems mouse on /dev/gpmdata. This is useful for
feeding
 # gpm's data to X, especially if you've got a busmouse (in that
situation X

Best regards,
Jesper Juhl - juhl@eisenstein.dk



This archive was generated by hypermail 2b30 : Fri May 09 2003 - 10:00:02 PDT