Solved

Mouse Trouble

Posted on 1997-12-31
11
196 Views
Last Modified: 2013-12-15
I recieved a new Mouse as a christmas gift.

It works fine under X when I use the MouseSystems protocol and ClearDTR but I can't get iit to work in console-mode or under qwcl (quake world client)  (using svga-lib with MouseSystem and ClearDTR in /etc/libvga.conf)

Can someone help me get the mouse to work???
0
Comment
Question by:chucken
  • 7
  • 4
11 Comments
 
LVL 2

Expert Comment

by:bjacobs
Comment Utility
use the gpm mouse program for console-mode.
0
 

Author Comment

by:chucken
Comment Utility
That is just what I did.
It does not work!

0
 
LVL 2

Expert Comment

by:bjacobs
Comment Utility
What type of mouse is it?(serial, bus, ps2)
0
 

Author Comment

by:chucken
Comment Utility
I'ts a serial Mouse. It works with MouseSystems under X when i enable ClearDTR. Under DOS I can run it in MouseSystems mode or as a Microsoft Mouse. But I can't get it to work in MouseSystem mode under Linux (console mode and svgalib, Under X it works)
I like to use the third buttom, (It's bad to play squake (svga quake) withoute the third button.
0
 
LVL 2

Accepted Solution

by:
bjacobs earned 350 total points
Comment Utility
Here is some info from the mouse mini-howto:

 6. Using gpm to Switch Mouse Modes
 
   gpm is the program that lets you use the mouse in console mode. It is
   usually included in linux distributions, and can be started from the
   command line or in the startup script /etc/rc.d/rc.local. gpm is the
   cause of much problem to people using bus mice, since it locks the
   mouse and stops X from using it - those of us using serial mice don't
   have this problem.
   
   The two main modes for serial mice under gpm are:

     * gpm -t ms for Microsoft mode;
     * gpm -t msc for MouseSystems mode.
       
   To run gpm in MouseSystems mode, you may need a -3 flag, and possibly
   a DTR option, using the -o dtr flag:
   
     * gpm -3 -o dtr -t msc
       
   You may also be able to use gpm to probe the mouse for you and tell
   you what protocol the mouse is currently using:

     * gpm -t help
       
   However, gpm is often able to recognise all three buttons of the mouse
   even in Microsoft mode. And newer versions (Version 1.0 and later (?))
   can then make this information available to other programs. For this
   to work, you need to run gpm with the -R tag, like this:

     * gpm -R -t ms
       
   This will make gpm re-export the mouse data to a new device, called
   /dev/gpmdata, which looks like a mouse to any other program. Note that
   this device _always_ uses the MouseSystems protocol. You can then set
   your Xconfig to use this instead of /dev/mouse as shown below, but of
   course you must ensure gpm is always running when you use X. Some
   people have reported that some middle-button events are not correctly
   interpreted by X using this technique, this may be down to an
   individual mouse setup.
   
   Changing button mapping for gpm and X (gustafso@math.utah.edu)
   
   You may find that gpm uses different default button mappings to X, so
   using both systems on the same machine can be confusing. To make X use
   the same buttons for select and paste operations as gpm, use the X
   command

     * xmodmap -e "pointer = 1 3 2"
       
   which causes the left button to select and the right button to paste,
   for either 2-button or 3-button mice. To force gpm to use the X
   standard button mapping, start it with a -B command, eg:

     * gpm -t msc -B 132
   ------------------------------------------------------------
Let me know if you still have problems.
Bob Jacobs
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:chucken
Comment Utility
Thanks. I missed the -o dtr flag. It seems to work under svga-lin also after changing this (I thought it would be enough to set MouseSyste3ms and clear dtr in libvga.conf.
The strange thing is that al my buttons started to work under console when i chosed Microsoft (But not in svga lib). But now everything works. Thanks!
0
 

Author Comment

by:chucken
Comment Utility
Thanks. I missed the -o dtr flag. It seems to work under svga-lin also after changing this (I thought it would be enough to set MouseSyste3ms and clear dtr in libvga.conf.
The strange thing is that al my buttons started to work under console when i chosed Microsoft (But not in svga lib). But now everything works. Thanks!
0
 

Author Comment

by:chucken
Comment Utility
No I was wrong! It worked when I tried to start quake one time, but now it does not work anymore. (in quake) It works in console mode....
0
 

Author Comment

by:chucken
Comment Utility
Where did you find the mouse mini-howto?? I can't find it anywhere...
0
 
LVL 2

Expert Comment

by:bjacobs
Comment Utility
You can get it at:
 
  http://kipper.york.ac.uk/mouse.html

I don't have Quake so don't know about that.

Bob
0
 

Author Comment

by:chucken
Comment Utility
You use svga-lib to configruate the mose in quake....
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now