LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-15-2005, 09:02 PM   #1
amushtaq
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Rep: Reputation: 0
Unhappy Mouse problem with Mandrake linux


Hi i am using Mandrake Linux 10.1and i have a PS/2, 2 button scroll mouse. It was working fine previoulsy but for a few days at boot-up the mouse doesn't work i have to run drakconf and select the mouse type again( i select Generic PS/2 Wheel mouse and that's what it was previously) after which it works perfect till the next boot. I don't have a clue what's going on can anybody help me about it.
Thanks

Regards
Asif Mushtaq
 
Old 09-16-2005, 05:18 PM   #2
flower.Hercules
Member
 
Registered: Aug 2005
Distribution: Gentoo
Posts: 228

Rep: Reputation: 31
You can try this little trick:

Type `ls -la /dev/mouse` in the terminal to find where you mouse is, the output I get is:

Code:
lrwxrwxrwx  1 root root 15 Sep 16 15:54 /dev/mouse -> /dev/input/mice
Which means that the mouse is at /dev/input/mice

Now, go into your xorg.conf and put this in your mouse section:

Code:
 Option "Device" "/dev/input/mice"
Replacing the location with your own. Make sure your mouse is working at the time, or else it might not report a location. The total mouse section might look like this:

Code:
Section "InputDevice"
        Identifier   "Mouse0"
        Driver       "mouse"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "ExplorerPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "Buttons" "9"
        Option      "ZAxisMapping" "6 7"
        Option      "Emulate3Buttons" "false"
Also, your Protocol might be incorrect. By the way, don't go changing your section to match mine, that could turn out bad. The identifier may be different (mouse1, for example).

HTH
 
Old 09-17-2005, 01:13 AM   #3
amushtaq
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you very much for your comment it worked out for me. Actually what i noticed was the mouse section had this line.

Option "Device" "/dev/mouse"

a listing on /dev/mouse showed this when mouse was working

lrwxrwxrwx 1 root root 5 Sep 17 09:10 /dev/mouse -> psaux

i did the listing again when mouse wasn't working but there was no /dev/mouse link so what i did was that i changed the /dev/mouse in Option line to /dev/psaux and it's working perfect now.
Again thank you very much for your help

Asif Mushtaq

Last edited by amushtaq; 09-17-2005 at 01:17 AM.
 
Old 09-20-2005, 07:37 PM   #4
andy-tux
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
on my mandrake 10.1, i made this one mod to xorg.conf:

Option "Device" "/dev/mouse"
changed to:
Option "Device" "/dev/mouse0"

it started working after that.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mouse detection problem in mandrake linux athreyavc Linux - Hardware 0 05-05-2004 01:06 AM
Mandrake Mouse Problem dave_starsky Linux - Newbie 2 10-10-2003 12:59 PM
Mandrake 9.1 Mouse Problem darksecant Linux - Hardware 2 05-22-2003 11:26 PM
Mandrake 8 mouse problem progzz Linux - Newbie 1 05-30-2001 01:51 PM
Mandrake 8 -- mouse problem progzz Linux - General 1 05-30-2001 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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