Solved

Mouse Trouble

Posted on 1997-12-31
11
201 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rate limit for DNS queries 7 93
Linux script delete files 3 58
Why  my code (program) build with old compiler? 11 110
expand ext4 on centos 6 5 54
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

749 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