[gpm]GPM Problems

Andrea Iocco iocco@libero.it
Fri, 21 Feb 2003 22:51:07 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_001C_01C2D9FB.B8623DE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hello everybody, I'm new...
I have big problems configuring GPM for my serial mouse, I hope someone help
me!

NOTES: SuSE 8.0; Kernel Linux 1.4.18; gpm 1.19.6; Serial Mouse Microsoft 2
Buttons 1 Wheel

My approch to the problem is:

1) Make gpm working in Text Mode (runlevel 3 == init 3)
2) Make gpm working with X (runlevel 5 == init 5)


1) I created /dev/gpmdata whith the command:

          mknode /dev/gpm/data -p

   Gpm is installed in /usr/sbin and running with arguments "-R -t
$GPM_PROTOCOL -m $MOUSE -d 2 -a 5 -B 132 -p"

   Here is my file /etc/sysconfig/mouse, what' s wrong about it ???

   # Starts /etc/sysconfig/mouse
   # Which device is the mouse ? (e.g. "/dev/ttyS0")

      MOUSE="/dev/mouse"

      MOUSETYPE="Microsoft"  # is it necessary???

    # the gpm protocol for the mouse device from the variable MOUSE
    # the default value is defined by YAST

      GPM_PROTOCOL="Microsoft"   #  I tried "bare", "ms", "msc", "ms+"
"MouseSystems" and "mman" as well but didn't work !!!

    # if the variable GPM_PARAM is empty then gpm will start with option:
    # "-t $GPM_PROTOCOL -m $MOUSE"
    # otherwise you can fill its own parameters for gpm

    GPM_PARAM="-R -t $GPM_PROTOCOL -m $MOUSE -d 2 -a 5 -B 132 -p"  #  Is
there something wrong???

    # The full name of the attached mouse.

    FULLNAME="Microsoft"

    # The YaST-internal identifier of the attached mouse.
    YAST_MOUSE="none"

    The number of buttons of the attached mouse.
    BUTTONS="0"

    # The number of wheels of the attached mouse.
    WHEELS="0"
    XEMU3="no"
    XMOUSETYPE="mousesystems"

    #EOF


 I Really don't know what to do !!!!


2) Here is part of my file /etc/X11/XF86Config: is it the only file to
configure for gpm working whith X ??? I think so...

   #  Srarts /etc/X11/XF86Config

     Section "ServerFlags"
         Option       "AllowMouseOpenFail"
     EndSection

     Section "InputDevice"
         Driver       "mouse"
         Identifier   "Mouse[1]"
         Option       "Device" "/dev/mouse"
         Option       "Protocol" "AUTO"
         Option       "Name" "AutoDetected"
         Option       "Emulate3Buttons" "on"
         Option       "Vendor" "AutoDetected"
      # Option       "Buttons"  "4" -> it doesn't work why?
      # Option       "ZAxisMapping"  "3 4" -> it doesn't work why?
     EndSection

     Section "InputDevice"
         Driver       "mouse"
         Identifier   "Mouse[2]"
        Option       "Device" "/dev/gpmdata"
        Option       "Emulate3Buttons" "off"
        Option       "Protocol" "MouseSystems"
    EndSection

    Section "ServerLayout"
        Identifier        "Layout[all]"
        InputDevice  "Keyboard[0]" "CoreKeyboard"
    #  InputDevice  "Mouse[1]" "CorePointer"      -> This device works under
X but options "Buttons"  "4"  and  "ZAxisMapping"  "3 4" don't !!!
        InputDevice  "Mouse[2]" "CorePointer"  #  -> This device doesn' t
work :-(
        Screen          "Screen[0]"
    EndSection

# EOF


I'm getting mad, I would be very happy if someone can help me...

Thanks and sorry

Andrea Iocco www.webshoot.it

------=_NextPart_000_001C_01C2D9FB.B8623DE0
Content-Type: text/x-vcard;
	name="Andrea Iocco.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Andrea Iocco.vcf"

BEGIN:VCARD
VERSION:2.1
N:Iocco;Andrea;;web master
FN:Andrea Iocco
ORG:Web Shoot design solutions;Multimedia Production
TITLE:Project Manager
TEL;HOME;VOICE:+39 04044397
TEL;CELL;VOICE:+39 3805194549
ADR;WORK:;;Strada di Fiume 7;Ts;34100;Trieste;Italy
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:Strada di Fiume 7=3D0D=3D0ATs, =
34100 Trieste=3D0D=3D0AItaly
ADR;HOME:;;Via Commerciale 148/4;Ts;34100;Trieste;Italy
LABEL;HOME;ENCODING=3DQUOTED-PRINTABLE:Via Commerciale =
148/4=3D0D=3D0ATs, 34100 Trieste=3D0D=3D0AItaly
URL:http://www.webshoot.it
URL:http://www.webshoot.it
EMAIL;PREF;INTERNET:iocco@libero.it
REV:20030221T190947Z
END:VCARD

------=_NextPart_000_001C_01C2D9FB.B8623DE0--