?
Solved

Mouse Trouble

Posted on 1997-12-31
11
Medium Priority
?
207 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
[X]
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
  • 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
WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

 

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 1400 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

Tutorial: Introduction to Managing a Linux Server

In this tutorial on systemd, we will explore:
-OS/Distro Adoption
-chkconfig and Other Legacy Commands
-Summary and Key Commands

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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…
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.
Suggested Courses
Course of the Month8 days, 2 hours left to enroll

765 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