   mini-HOWTO    3 
  Geoff Short, geoff@kipper.york.ac.uk
  v1.33, 31  1998

        3     
   Linux.
  ______________________________________________________________________

  Table of Contents


  1.  

  2. 

  3.  

  4.   

  5.  

  6.      3-

  7.   

  8.  gpm    

  9.   

  10.   XF86Config  Xconfig

  11. Cables, extensions and adaptors

  12.    

  13.  

  14.  

  15.  



  ______________________________________________________________________

  [1m1.   [0m

            
    .      
          
        ,   
      .


  [1m2.  [0m

             
  http://kipper.york.ac.uk/mouse.html

      http://jf.gee.kyoto-u.ac.jp/JF/JF-
  ftp/euc/3-Button-Mouse.euc;    
  http://www.freenix.fr/linux/HOWTO/mini/3-Button-Mouse.html.  
       -    
  LDP mirrors.


    X        
        3 .   
          .
        3    
     Microsoft,     
        X windows.  (    
      3      
  $1.14!)


          
  :

     Microsoft 2-.

     MouseSystems 3-.

               
              
      ,       
          3-.


          , 
        .   ,  RedHat 
    mouseconfig      .  ,
     RH5.0  bug  mouseconfig,   
        patches.


  [1m3.   [0m

             
       .     
        -     /dev/ttyS0
  (COM1   DOS)  /dev/ttyS1 (COM2). ( ttyS0   
    9 ,  ttyS1    25 ,   
           .)
         /dev/cua, 
        ttyS,     
  .       link /dev/mouse
      .  ,  ttyS0:


       ln -s /dev/ttyS0 /dev/mouse



  [1m4.    [0m

   ,     ,     
   `2/3'.       `PC/MS'.  
      `2'    Microsoft 2 ,
    `3'   MouseSystems 3 .  `PC/MS' 
     .        `MS' 
   Microsoft,   `PC'   MouseSystems.    
   `PC'    ps/2 ,     
    MouseSystems .     ,  
      `3'  `PC',    MouseSystems
   XConfigs ( )      
    3 .





  [1m5.   [0m

     ,   ,   
  .           
       ,    
   Microsoft.   Xconfigs     
  Microsoft  (  ``Xconfig section'')   
  .


       ,    
  Microsoft,     .   
    configs,  man     config  
        .    
  `` '' .


            X,  
           .
       ,     
   (          
  )       .    
  ,    Xconfig     
  `` Xconfig'' .       
    3     ,   
     . ,      
   .



  [1m6.       3-[0m

            
  Mouse Systems,       .    
           Mouse Systems,  
      .


        ,     
       (        
       ).

      ,     
        Mouse Systems.  
  ,    .    
            
         .  
     ,       
       .    
          , 
     !


             
                ( 
             
     ,  RS232   ).

            echo "*n" >
     /dev/mouse,            
      .       
     Mouse Systems,   Microsoft.     
             X.

     Bob Nichols (rnichols@interaccess.com)    
      c      ,    
        echo "*n"   ( ).
              
     http://kipper.york.ac.uk/src/fix-mouse.c

         `ClearDTR'  Xconfig   
           Mouse Systems.

       ,    (   
        )     .  
     ,       ,  
          .   
        jumper    .  
       jumper         
     `MS/PC'    ``  '' .
             
          2 & 3 ,   
     .    :


                -----------
               | o | o | o |  SW1
                -----------
                 1   2   3




       1-2  2-3,    
     .    ,   
     ,       
     .

               
          MouseSystems,   Peter
     Benie (pjb1008@chiark.chu.cam.ac.uk).      
       ,      
        ,      
       .       
        .  ,   
           .  ChordMiddle 
     XF86Config       .

               
     Brian Craft (bcboy@pyramid.bio.brandeis.edu).  
          16  [1mZ8350[22m,   18
      [1mHM8350A[22m.       ,    
       ,  .


       Pin 3   Mode
       -----   ----
       Open    Default Microsoft. Mouse Systems if a button is held on power-up.
       GND     Always Mouse System.
       Vdd     Always Microsoft.




  (Pins are numbered as follows:)







            ____
  pin1    -| \/ |-
  pin2    -|    |-
  pin3    -|    |-
          -|    |-
          -|    |-
          -|    |-
          -|    |-
  pin8    -|____|-




  (      Hans-Christoph Wirth, 
  Juergen Exner,      de.comp.os.linux.hard-
  ware)          3  gnd,
         MouseSystems.



     Peter Fredriksson (peterf@lysator.liu.se)    
     SYSGRATION [1mSYS2005[22m,       3  Gnd
        MouseSystem.

     Uli Drescher (ud@digi.ruhr.de)     
      [1mHN8348A[22m;  Ben Ketcham (bketcham@anvilite.murkworks.net)
       [1mHM8348A [22m(  9   Gnd).

     Urban Widmark (ubbe@ts.umu.se)       
     [1mEC3567A1[22m,    8   .      
       .

     Timo T Metsala (metsala@cc.helsinki.fi)    
     [1mHT6510A [22m  3    ,   9  Gnd.
           [1mHT6513A[22m.   Holtek   
     [1mHT6513B [22m [1mHT6513F [22m-  ,   8  Gnd.

     Robert Romanowski (robin@cs.tu-berlin.de)     3 -
      8 (Gnd)     [1mEM83701BP[22m.

     Robert Kaiser (rkaiser@sysgo.de)     3 - Gnd
           [1mEC3576A1[22m.

     Sean Cross (secross@whidbey.com)     2 -  7
     (Gnd)    [1mHM8370GP[22m.

     Peter Fox (fox@roestock.demon.co.uk)   3 -
      8    [1mHM8348A[22m.

     Jon Klein (jbklein@mindspring.com)    3 - 9
         [1mUA5212S[22m.

          , 
               
     :      Mathias Katzer.











           -----
        ---  R  ---------O------ + Supply
       |   -----   |        |                     C = 100nF capacitor
       |           | E      |                     R = 100kOhm
       |       __ /         |                     T = BC557 transistor
       |      /  \          O
       |   B | #V | T         /
       |-----|-#  |          /    Left button switch of the mouse
       |     | #\ |         O
       |      \__/          |
      ---         \  C      |
      --- C        ------O----------> (to somewhere deep inside the mouse)
       |
      ###  Ground




        MUS2S  - 
           
  ;          
  +,  npn-   BC547    ;  R
    C     .

   ,     .   
   Microsoft  ,       
       X    .


  [1m7.    [0m

           
  ,    Microsoft Intellimouse   
   .        ,  
     .       
    http://www.inria.fr/koala/colas/mouse-wheel-scroll/
        X   
    .


  ,      X   
     ,    
      .   , 
  Intellimouse   XFree 3.3.1  .


  [1m8.   gpm    [0m

   gpm         
     .     
  linux,           
   /etc/rc.d/rc.local.       
       (1.13    )  
        sunsite.unc.edu.


          gpm :


       gpm -t ms
       gpm -t msc
       gpm -t help




   Microsoft  MouseSystems ,     
          .     gpm 
   MouseSystems,    -3 flag,   
  DTR ,   -o dtr flag:


       gpm -3 -o dtr -t msc


   gpm          
       Microsoft.    
  ( 1.0   (?))       
     .      ,  
    gpm   -R tag, :

       gpm -R -t ms


      gpm         
   ,   /dev/gpmdata,     
     .       [1m[0m
     MouseSystems.     
   Xconfig       /dev/mouse  
  ,        gpm 
      X.     
    -     
  X    ,      
    .



  [1m     gpm  X[0m
  (gustafso@math.utah.edu)



       gpm  
      X,    
          .   
    X       
       gpm,   X 


       xmodmap -e "pointer = 1 3 2"


             ,
    2-   3- .    
   gpm        X, 
    -B , ..:

       gpm -t msc -B 132




  [1m9.    [0m

    ,      
     ,    
       .   
         PS/2,
           .  
    gpm   X    /dev/ttyS0 ( ) 
  .

         ,  
   gpm -M      .
     man   gpm.  ,  XFree
  3.3.1      ,
     XInput.   - 
  XF86Config       .



  [1m10.    XF86Config  Xconfig[0m

          X   
       .    
  /etc/Xconfig, /etc/XF86Config  /usr/X11/lib/X11/XF86Config.  
         X -     
     .      
    XF86Config  Xconfig,     .


  [1m  Microsoft[0m


    XF86config:


       Section "Pointer"
           Protocol "microsoft"
           Device "/dev/mouse"
       EndSection




    Xconfig:


       #
       # Mouse definition and related parameters
       #
       Microsoft      "/dev/mouse"





  [1m  Microsoft    [0m


    XF86config:


       Section "Pointer"
           Protocol "microsoft"
           Device "/dev/mouse"
           Emulate3Buttons
       EndSection




    Xconfig:





  #
  # Mouse definition and related parameters
  #
  Microsoft      "/dev/mouse"
  Emulate3Buttons





  [1m  MouseSystems  [0m


    XF86config:


       Section "Pointer"
           Protocol "mousesystems"
           Device "/dev/mouse"
           ClearDTR            #  These two lines probably won't be needed,
           ClearRTS            #  try without first and then just the DTR
       EndSection




    Xconfig:


       #
       #     
       #
       MouseSystems    "/dev/mouse"
       ClearDTR                # These two lines probably won't be needed,
       ClearRTS                # try without first and then just the DTR





  [1m  Microsoft  gpm -R[0m


    XF86config:


       Section "Pointer"
           Protocol "MouseSystems"
           Device "/dev/gpmdata"
       EndSection




    Xconfig:


       #
       # Mouse definition and related parameters
       #
       MouseSystems      "/dev/gpmdata"





  [1m11.  Cables, extensions and adaptors[0m

            
  : TxD  RxD   , RTS / DTR  
  ,  .     , 
  : 9-      25-  TxD     3
  2 RxD     2                     3 RTS     7                     4 DTR
  4                     20 Gnd     5                     7

            
    9-  25- ,   .



  [1m12.     [0m


             X  ,
          getty   ,  
          modem .    
     IRQ.

             
         windows X.     
               X .

             
           . 
         setserial,    
      /etc/rc.d/rc.serial.   man   setserial
       -HOWTO   .   
        ,    setserial
     /dev/mouse uart 16550  16550a     
      .  ( ,     
     16c550AF).

     ClearDTR flag        ,
         RTS/CTS handshaking   :

       stty -crtscts < /dev/mouse


  (  UART 16450/Pentium   Vladimir Geogjaev geog-
  jaev@wave.sio.rssi.ru)

      Logitech      ChordMiddle 
             .  
        Emulate3Buttons    
     /dev/mouse   config.     ClearDTR
      ClearRTS   Xconfig .    Logitech
          ChordMiddle -   
               
         . (: chang@platform.com)

     :    xmodmap  
               
      . ..:   xmodmap -e "pointer = 3 2 1"   
            .    
      -     1 & 2.

    :    xset m    
       . ..  xset m 2    
       2.   man    .

     :          
              ,   
            .   
         S3,     
      xvidtune.  Invert_VCLK/InvertVCLK, 
     EarlySC.       Bill Lavender
     (lavender@MCS.COM)   Simon Hargrave.   XF86Config, 
        :



       Subsection "Display"
           Modes       "1024x768" "800x600" "640x480" "1280x1024"
           Invert_VCLK "*" 1
           ...




      `'    , .   
       ,     .    
         Logitech   Bob Nichols
     (rnichols@interaccess.com)     
               
     .

              
       (.. root) ,      
          -    
       X   Xconfig.     
       X   .

               
     ,     config.   
        linear,   nolinear    
     ,     PCI,   tgui_pci_write_off
      tgui_pci_read_off.  (     
     Trident Card.)

            ,  
         ,    "sw_cursor"
          config.

               
       ,       
          .       
        ,       .

      Microsoft    . 
      ``Microsoft Serial Mouse 2.1A''    
        ,     
         .   gpm  1.13   
          2.1A,  
       pnp.  (  ``gpm section''     
       .)   ``Microsoft Intellimouse''  
     ,          XFree
      3.3  .


  [1m13.   [0m

       ,    
               . 
               
     ,       .
             
  -          ,
          !  
       .


  [1m  Mouse Systems,  [0m
    (     !)  ClearDTR 
  ClearRTS  config.
  [1m WiN,     Office World   .[0m
   - Microsoft/MouseSystems.
  [1m Agiler 2900[0m
   - Microsoft/MouseSystems.  
  SYSGRATION SYS2005  .
  [1m Sicos,[0m
   ,  ClearDTR & Clear RTS  config.
  [1m Index    10 ,[0m
      3 ,     :-)
  [1m Artec[0m
    -,  `ClearDTR' 
    config,  `ClearRTS'
  [1m  3  DynaPoint.[0m
    -,  `ClearDTR' 
  `ClearRTS'  Xconfig.
  [1m 3  Genius Easymouse[0m
       Mouseman    
   ChordMiddle.    Roderick Johnstone
  (rmj@ast.cam.ac.uk)
  [1mTruemouse,   Taiwan[0m
   ,  `ClearDTR'  config. ( Tim
  MacEachern)
  [1m  Champ[0m
         PC,   
  MouseSystems  . ( tnugent@gucis.cit.gu.edu.au)
  [1m MicroSpeed[0m
    -.
  [1m Venus ($7)[0m
   jumper        2  3
  .  ( mhoward@mth.com )
  [1mSaturn[0m
    ,    MouseSystems  
  3-.  ( grant@oj.rsmas.miami.edu .)
  [1m Manhattan.[0m
     `MS AM' / `PC AT',  MS 
      gpm -R. ( komanec@umel.fee.vutbr.cz).
  [1m Inland.[0m
     `PC/MS',  . (
  http://ptsg.eecs.berkeley.edu/~venkates).
  [1mqMouse (3-), FCC ID E6qmouse X31.[0m
       $10.   `gpm -t msc -r 20'.
   jumper     MouseSystems 3-.
    X.     echo "*n" > /dev/mouse.
  [1m Mitsumi (2-), FCC ID EW4ECM-S3101.[0m
       $12.   X    gpm,
   -. (    gustafso@math.utah.edu)
  [1mPC  Accessories     CompUSA    $10.[0m
    PC/MS  .   . (
  steveb@communique.net)
  [1m First -    7.79   Tempo.[0m
   Microsoft/MouseSystems,     
   .   ,  .   
  ,  echo '*n'  .  `gpm -R'  . (
  peterk@henhouse.demon.co.uk)
  [1m 3- Trust.[0m
  -  ,    MouseSystems 
  `PC' .   gpm     Microsoft.
  [1mChic 410[0m
        ms    
  gpm -R .   Stephen M. Weiss (steve@esc.ie.lehigh.edu)
  [1m 3- KeyMouse.[0m
     ClearDTR  ClearRTS  Xconfig; `-o dtr'
    gpm. ( EZ4PHIL@aol.com)
  [1mQtronix keyboard `Scorpio 60'[0m
          MouseSystems.  (
  hwe@uebemc.siemens.de)
  [1mTecra 720 laptop[0m
   glidepoint   /dev/cua0;  stick   /dev/psaux.
  ( apollo@anl.gov)
  [1m Anubis[0m
   ,       
    X  .  ( Joel Crisp)
  [1m Yakumo No.1900[0m
     gpm -R -t ms   X.  ( Oliver Schwank)
  [1mGenius `Easy Trak' Trackball[0m
  [1m [22m Microsoft ,   Mouseman  Xconfig
     .  ( VTanger@aol.com.)
  [1mHighscreen Mouse Pro[0m
  ` '  alfonso@univaq.it.
  [1m Logitech CA[0m
    X   MMseries,  2400 Baud,
  150 SampleRate.  (      Logitech CC, CE,
  C7 & C9 mice).  ( vkochend@nyx.net.)
  [1m A4-Tech[0m
   ,    DTR    X   gpm.
  ( deane@gooroos.com)
  [1m Vertech[0m
    Microsoft/Mousesystems,    
   .  ( duncan@fs3.ph.man.ac.uk.)
  [1mBoeder M-7 ``Bit Star'' (     M    M13)[0m
     Mousesystems    
  .  ( mailto:sjt@tappin.force9.co.uk.)
  [1mMouse Systems  ``'' (   [0m
  [1m/)[0m
    2/3 -   3   
  MouseSystems  ,     & .
    ClearRTS/DTR.  ( parker1@airmail.net.)
  [1m  Radio Shack 3-[0m
   26-8432,   Tandy   20 . 
   Mousesystems  ClearDTR. ( Sherilyn@sidaway.demon.co.uk.)
  [1m  Dexxa[0m
      Microsoft  Xconfig, 
  ChordMiddle     .  (
  mailto:slevy@ncsa.uiuc.edu.)
  [1m Belkin 3 [0m
      Sears (\$10),  -o rts   gpm
  (  ClearRTS    X)     PC.
  ( mailto:mmicek@csz.com.)

  [1m14.   [0m


     Mouse Systems    http://www.mousesystems.com/.
        Windows   

     Linux HOWTO       sunsite
        .          
     ,   http://sunsite.unc.edu/mdw/linux.html

              
       http://www.4QD.co.uk/faq/meece.html.

        Xconfig  XF86Config
        man ,    
       X windows   Xfree86 HOWTO. , 
      XFree86 FAQ    http://www.XFree86.org/.
      gpm   man ,   
       Darin Ernst  http://www.castle.net/X-
     notebook/mouse.txt.

            
      
     http://www.hut.fi/Misc/Electronics/pc/interface.html#mouse


  [1m15.   [0m

             
   linux newsgroups.       
       ,     .


  ,   :


        Microsoft 3   
       .

         X     Mouse
     Systems.

            
          MouseSystems.

            
       X.

           .


































