LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-04-2005, 02:36 PM   #1
AlexMax
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10.0, Fedora Core 2
Posts: 14

Rep: Reputation: 0
Mouse Problems under Sarge


OK, so I recently decided to take yet another plunge into Linux, now that I have a little free time on my hands. I decided to dual boot XP and Debian Sarge. I installed the barebones CD, then installed X and XFCE through aptitude, then gpm.

However, I notice a small problem. When I first start my computer (init 6) I get a mouse curser in X, but it doesn't respond. When I go to a console, I also get no mouse response. However, then I do a init 3 to cut off X and then a dpkg-reconfigure gpm and when gpm restarts I have a mouse in console. However, when i restart X it gets a frozen mouse again and then I have no mouse in console. I've tried doing both autops2 and imps2 (since I have a cheap 2 button + scroll wheel mouse) from dpkg-reconfigure xserver-xfree86 or whatever it's called, and neither of them work.

The weird part is, however, if I restart under linux and boot into XP, my mouse is frozen in XP. I have to restart AGAIN and boot XP a second time to get a responsive mouse curser.

Any suggestions?
 
Old 09-05-2005, 09:08 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Some details please. What type of mouse connection is it? PS/2 or USB ? What typs of machine is it installed on? Laptop ( with another pointing device ) or a desktop with no other pointing device?

Here are the lines from my desktop PS/2 connected 2 button wheel mouse.(Micro$oft ell-cheapO) You may have to edit /etc/X11/XF86Config file to get it working. If you are USB it will be different.

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection

The ZAxisMapping gets the wheel going. The protocol depends on the type of mouse, PS/2 or USB.

BTW, I have a 2 button wheel working on a Compaq laptop and Mandriva 9.2 . The laptop has a touchpad. The left button died, and now I'm using the external USB. Once in a while it will hang. I just unplug the USB and replug. It takes off and works. If you are USB try that.
 
Old 09-05-2005, 02:51 PM   #3
AlexMax
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10.0, Fedora Core 2
Posts: 14

Original Poster
Rep: Reputation: 0
I'm typing this post in elinks on my debian install, so it might seem a little odd at times.

Anyway, I did some testing...

If I start with an init 3, with GPM functioning, the mouse works in the console.

If I start X with the device set to /dev/psaux, I get a mouse curser, but it's frozen in place, and I can't get a mouse curser back elsewhere unless I restart GPM twice (it hangs the first time, but when I start it the second time I get my mouse back. (in console, I have to quit X for this to happen)

If I try substituting /dev/psaux in my X config with either /dev/mouse or /dev/gpmdata, I get a very jumpy mouse curser that is all over the place (but seems to only move when i move my mouse).

It seems that my mouse does work, but trying to start X with the 'correct settings' causes it to screw up. I know these same settings don't break gpm or anything else.

Again, it's an el cheapo PS2 mouse with three buttons and a scroll wheel.

Any ideas?

EDIT: I have since then tested other protocools in my X configuration, such as plain old PS/2. Doesn't work either.

Last edited by AlexMax; 09-05-2005 at 02:55 PM.
 
Old 09-06-2005, 09:36 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
I can not help unless you answer the questions.

Some details please. What type of mouse connection is it? PS/2 or USB ? What typs of machine is it installed on? Laptop ( with another pointing device ) or a desktop with no other pointing device?

Does the mouse work on another machine ?
 
Old 09-06-2005, 07:12 PM   #5
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Try disabling the 'Legacy USB' option in your BIOS if there is any option like that. This should do the trick. I am assuming that you are you kernel 2.6 and you are having problem with your ps/2 mouse.

http://www.informatik.uni-freiburg.d...lee/fun/psaux/

Also try giving the following as kenel boot parameters:
psmouse.proto=imps
i8042.nomux


Hope this solves your problem atleast if not mine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sarge to Etch upgrade - no mouse IBall Debian 3 11-25-2005 06:34 PM
Setting ps/2 mouse in Debian sarge bruno buys Linux - Hardware 3 06-08-2005 04:05 AM
No mouse after upgrade (Sarge) goozlq Debian 3 01-16-2005 07:45 AM
Sarge and XFree86: mouse not detected gmkrishn Linux - Hardware 2 08-24-2004 10:44 AM
problems with Sarge: mouse, nv, kde, and gnome r3dhatter Debian 1 02-08-2004 02:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:53 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