Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Mouse Trouble

Posted on 1997-12-31
11
200 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
ID: 1631136
use the gpm mouse program for console-mode.
0
 

Author Comment

by:chucken
ID: 1631137
That is just what I did.
It does not work!

0
 
LVL 2

Expert Comment

by:bjacobs
ID: 1631138
What type of mouse is it?(serial, bus, ps2)
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:chucken
ID: 1631139
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
ID: 1631140
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
 

Author Comment

by:chucken
ID: 1631141
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
ID: 1631142
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
ID: 1631143
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
ID: 1631144
Where did you find the mouse mini-howto?? I can't find it anywhere...
0
 
LVL 2

Expert Comment

by:bjacobs
ID: 1631145
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
ID: 1631146
You use svga-lib to configruate the mose in quake....
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
linux(debian) mouse poor performance 4 62
SonarQube on Linux vs Windows 3 52
ignore other .htaccess 2 58
RHEL 6.7 Gnome Desktop on VMware 6 VM 9 67
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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,…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

856 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