Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
International Medical Corps

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 97 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here



       The information below is extracted from the texinfo  file,
       which is the preferred source of information.


       This manpage describes the various pointer types currently
       available in gpm. If you look at the source  code,  you'll
       find  that  pointer-specific  code  is  confined to mice.c
       (while it used to only include  mouse  decoders,  gpm  now
       supports tablets and touchscreens as well).

       The  mouse  type  is specified on command line with the -t
       option. The option takes an argument, which represents the
       name  of a mouse type. Each type can be associated to dif­
       ferent names. For old mouse types, one  name  is  the  old
       selection-compatible  name, and another is the XFree name.
       After version 1.18.1 of gpm, the number  of  synonyms  was
       made  arbitrary  and  the  actual  name being used is made
       available to the function responsible for  mouse  initial­
       ization.  Therefore  it is possible for a mouse decoder to
       behave slightly differently according to  the  name  being
       used  for the device (if this feature was already present,
       we wouldn't have for example ms+ and  ms+lr  as  different
       mouse types).

       The  initialization  procedure of each mouse type can also
       receive extra option, by means  of  the  -o  command  line
       option.  Since  interpretation  of  the  option  string is
       decoder-specific, the allowed  options  are  described  in
       association  to  each  mouse  type. When no description of
       option strings is provided, that means the  option  string
       is unused for that mouse type and specifying one generates
       an error. When the document  refer  to  ``standard  serial
       options'' it means that one of -o dtr, -o rts, -o both can
       be specified to toggle the control  lines  of  the  serial

       The following mouse type are corrently recognized:

       bare Microsoft
              The  Microsoft  protocol, without any extension. It
              only reports two buttons. If your device has three,
              you  should  either try running the mman decoder or
              msc. In the latter case, you need to tell the mouse
              to  talk  msc  protocol by toggling the DTR and RTS
              lines (with one of -o drt, -o rts or  -o  both)  or
              invoking gpm -t msc while keeping the middle button
              pressed. Very annoying, indeed.  This mouse decoder
              accepts  standard  serial  options,  although  they
              should not be needed.
              declares  the  middle  button to be up whenever the
              mouse moves. This prevents dragging with the middle
              button, so you should probably use -t ms+lr instead
              of this decoder, especially if you want to  use  X.
              This mouse decoder accepts standard serial options,
              although they should not be needed.

       ms+    This is the same as -t ms except  that  the  middle
              button is not reset during mouse motion. So you can
              drag with the middle button. However, if your mouse
              exhibits  the  usual buggy behaviour the decoder is
              likely to get out of step  with  reality,  thinking
              the  middle  button  is  up when it's down and vice
              versa.  You should probably use -t ms+lr instead of
              this  decoder.  This mouse decoder accepts standard
              serial options, although they should not be needed.

       ms+lr  This  is the same as -t ms+ except that there is an
              additional facility to reset the state of the  mid­
              dle  button  by  pressing  the  other  two  buttons
              together. Do this when the decoder gets into a con­
              fused state where it thinks the middle button is up
              when it's down and vice versa. (If you get sick  of
              having  to  do  this, please don't blame gpm; blame
              your buggy mouse! Note that most three-button  mice
              that  do  the  microsoft protocol can be made to do
              the MouseSystems protocol instead. The  ``3  Button
              Serial  Mouse  mini-HOWTO''  has  information about
              this.)  This mouse decoder accepts standard  serial
              options, although they should not be needed.

       msc MouseSystems
              This  is  the  standard  protocol  for three-button
              serial devices.  Some of such  devices  only  enter
              MouseSystem  mode if the RTS, DTR or both lines are
              pushed low. Thus, you may  try  -t  msc  associated
              with -o rts, -o dtr or -o both.

       mman Mouseman
              The  protocol used by the new Logitech devices with
              three buttons.  It is backward compatible with  the
              Microsoft protocol, so if your mouse has three but­
              tons and works with -t ms or similar  decoders  you
              may  try  -t mman instead to use the middle button.
              This mouse decoder accepts standard serial options,
              although they should not be needed.

       sun    The protocol used on Sparc computers and a few oth­
              ers.  This mouse decoder  accepts  standard  serial

       bm BusMouse
              Some bus devices use this protocol, including those
              produced by Logitech.

       ps2 PS/2
              The protocol used by most busmice.

       ncr    This  `type'  is  able  to  decode the pointing pen
              found on some laptops (the NCR 3125 pen)

       wacom  The protocol used by the Wacom tablet.  Since  ver­
              sion 1.18.1 we have a new Wacom decoder, as the old
              one was not working with new tablets. This  decoder
              was  tested with Ultrapad, PenPartner, and Graphire
              tablets.  Options: -o relative (default) for  rela­
              tive mode, -o absolute for absolute mode.

              The  This  mouse  decoder  accepts  standard serial
              options, although they should not be needed.

       logim  Used to turn Logitech mice into  Mouse-Systems-Com­
              patible.  Obviously, it only works with some of the
              Logitech mice.

       pnp    This decoder works with the new  mice  produces  by
              our  friend  Bill,  and  maybe with the old ones as
              well. The Pnp protocol is hardwired  at  1200  baud
              and is upset by normal initialization, so this is a
              -t bare decoder  with  no  initialization  at  all.
              This mouse decoder accepts standard serial options,
              although they should not be needed.

       ms3    A decoder for the new serial IntelliMouse  devices,
              the  ones  with three buttons and a protocol incom­
              patible with older ones.  The  wheel  is  currently

       imps2  ``IntelliMouse''  on  the  ps/2 port. This type can
              also be used for a generic 2-button ps/2 mouse too,
              since it will auto-detect the type.

              console,  but  doesn't  yet  support X keycodes. If
              used with -R, gpm will anyway repeat  mouse  events
              to  the  X  server. More information about twiddler
              support can be found in README.twiddler, in the gpm

       syn synaptics
              A  decoder  for the Synaptics TouchPad connected to
              the serial port.  This mouse decoder accepts  stan­
              dard  serial  options,  although they should not be

       synps2 synaptics_ps2
              Same as above, but for the devices attached to  the
              ps2 port.

       brw    A decoder for the Fellowes Browser, a device with 4
              buttons and a wheel.  This  mouse  decoder  accepts
              standard  serial  options, although they should not
              be needed.

       js Joystick
              This mouse type uses the joystick device to  gener­
              ate  mouse  events.  It  is  only  available if the
              header linux/joystick.h is found at  compile  time.
              The header (and the device as well) has been intro­
              duced only during 2.1 development, and is not  pre­
              sent in version 2.0 of the kernel.

       summa  This  is  a  decode for the Symmagraphics of Genius
              tablet, run in absolute mode. A repeater is associ­
              ated  to  this  decoder,  so it can -R summa can be
              used to generate X events even for other  absolute-
              pointing  devices,  like  touchscreens.  To use the
              repeated  data  from  X,  you   need   a   modified
              xf86Summa.o module.

       mtouch A  decoder  for the MicroTouch touch screen. Please
              refer to the file README.microtouch in  the  source
              tree  of  gpm  for further information. In the near
              future, anyways, I plan to fold back to this  docu­
              mentation the content of that file.

       gunze  A  decoder for the gunze touch screen. Please refer
              to the file README.gunze in the source tree of  gpm

       wp wizardpad
              Genius WizardPad tablet


       src/mice.c           The source file for pointer decoders


        gpm(8)      The General Purpose Mouse server

       The info file  about  `gpm',  which  gives  more  complete
       information and explains how to write a gpm client.

                            July 2000                GPM-TYPES(7)

An undefined database error occurred. SELECT distinct pages.pagepath,pages.pageid FROM pages, page2command WHERE pages.pageid = page2command.pageid AND commandid =

Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds