LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-21-2002, 06:32 PM   #1
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Problem with GPM, MsIntellimouse 1.2a, and Slackware 8.1


I have been ahving trouble with my mouse at the cli. I have Slackware 8.1 installed and my mouse is a Microsoft IntelliMouse 1.2a. My mouse works perfectly in X.

The problem that I have is that when I boot up, my mouse acts erratically. If I log in as root, kill gpm with 'gpm -k' , and re-start gpm with 'gpm -m /dev/mouse -t imps2' it works perfectly. my /etc/rc.d/rc.gpm is as follows

#!/bin/sh
# Start/stop the GPM mouse server:

if [ "$1" = "stop" ]; then
echo "Stopping gpm..."
gpm -k
else # assume $1 = start:
echo "Starting gpm..."
gpm -m /dev/mouse -t imps2
fi

This is the last script read, as far as I can see, during startup. I checked my /var/log/syslog and found the following:

Nov 21 14:37:14 local gpm[85]: imps2: PS/2 mouse failed to read id, assuming standard PS/2
Nov 21 14:37:14 local gpm[85]: imps2: PS/2 mouse failed setup, continuing...

Any ideas?

TIA

Shilo
 
Old 11-21-2002, 11:48 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if it's a usb mouse put this in rc.gpm

gpm -m /dev/input/mice -t imps2


if it's ps2 use this

gpm -m /dev/psaux -t imps2
 
Old 11-25-2002, 12:15 AM   #3
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Original Poster
Rep: Reputation: 50
Thank you for the help.

I have a ps2 mouse, not a USB. On my system, /dev/mouse is a symbolic link to /dev/psaux . I tried changing it per your suggestion anyway, but it didn't change anything.

Any other ideas?

Thanks again,

Shilo
 
Old 11-25-2002, 05:07 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try another mouse if you have one, some of them can act a little squirrelly
 
Old 11-26-2002, 06:58 AM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
MS mouse protocol aren't so good so sometime the stupid mouse react eractically when it's running in X and in text mode at the same time.

You have to play with your protocol (just gues and try). First, verify if gpm is working with PS2 instead of imps2. Ps2 protocol will slow doen your mouse but should give you less conflict. If it doesn't work, try any protocol you might judge "good" for that mouse. I suppose you want to keep your mouse fast in your X, so keep the imPS2 protocol for X, just play with GPM (btw be sure the X protocol is imPS2, sometime, using 2 different protocol can give you the same strange problem). There is no easy or absolute answer, just guess and try. This is a very common problem I saw about M$ mouse, but habitually it's easy to solve.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gpm problem? ingerul Fedora 0 11-01-2004 10:44 AM
GPM compile problem. dcole Linux - Software 1 09-18-2004 12:23 AM
Boot without GPM erickFis Slackware 2 02-12-2004 09:16 AM
Is GPM necessary? erickFis Slackware 10 01-30-2004 05:05 AM
boot up/gpm problem, slackware 3.5 KnightAbel Slackware 4 12-23-2002 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration