LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-27-2005, 04:48 PM   #1
nappy501
Member
 
Registered: Mar 2004
Location: UK
Distribution: Redhat 9, then Fedora Core 2, Suse 10.0, 10.2 now 11.3
Posts: 136

Rep: Reputation: 15
changed mouse from serial to PS/2


Hi

I have a dual-boot machine running Redhat 9 and Windows 98. A couple of weeks ago my serial mouse stopped working. I tried another, which didn't work, so I swapped it with a ps2 mouse from another machine which works fine. (This is all in Windows). The serial is now working on the other machine. So my serial port must be faulty.

This week I booted into Redhat 9 and my machine boots into the graphical mode. The mouse wasn't working. I then realised the problem as I was now using a ps2 mouse instead of the original configured serial mouse.

The problem is I am unable to do anything after I have logged in with the keyboard as I have no mouse.

Can anyone tell me how to configure the ps2 mouse, if I am not able to use the mouse?

Do I need to boot into rescue mode? Can I get Redhat 9 to realise there is now a different mouse connected? Or once I have logged is there a keyboard way to reconfigure the mouse?

Thank you

Regards

Nappy
 
Old 01-27-2005, 06:37 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
There are several ways to do this, but the "grass roots" way (generally distro-independent) is as follows.

Switch to a console (CTRL-ALT-F3 etc.) or boot into rescue mode, and log in as root. Then edit your /etc/X11/Xorg.conf (or XF86Config-4), and change the mouse location from /dev/ttyS0 to /dev/mouse, and the protocol to "auto". I.e., you should now have an entry such as
Code:
Section "InputDevice"
        Identifier  "PS/2 Mouse"
        Driver      "mouse"
        Option      "Protocol" "auto"
#       Option      "ZAxisMapping"          "4 5"
        Option      "Device" "/dev/mouse"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents"  "true"
EndSection
You'll also need to uncomment out the ZAxisMapping line if you have a wheel mouse, if it hasn't already been done.

Good luck

mj

EDIT: You'll probably also want to leave the "Identifier" line as it already was - either that or change it also to PS/2 Mouse in the "Server Layout" section (usually either at the beginning or end of the config file).

Last edited by mjrich; 01-27-2005 at 06:44 PM.
 
Old 01-30-2005, 06:55 AM   #3
nappy501
Member
 
Registered: Mar 2004
Location: UK
Distribution: Redhat 9, then Fedora Core 2, Suse 10.0, 10.2 now 11.3
Posts: 136

Original Poster
Rep: Reputation: 15
Hi mj,

Unfortunately, because I didn't shutdown properly the last time. Redhat 9 won't boot up. It gets to INIT I type in 3 or 5 and it stops.

I am going to reinstall. I tried rescue mode, but I really don't know what I am doing, so it is best that I start again. Thanks again for your reply.

I presume when I reinstall it will pick up the mouse.

Regards

Nappy501
 
Old 01-30-2005, 12:52 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Oh, well, re-installation is also good practice I guess

Yes, it'll almost certainly pick up your mouse.

Cheers,

mj
 
  


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
Bus Mouse or Serial Mouse rsankar Linux - Hardware 2 10-30-2007 04:57 AM
I changed the config. of my mouse and now it won't work slimfadey Linux - Newbie 2 05-31-2005 03:55 PM
Mouse does not work after I changed kernel Altair0xFFFF Linux - Hardware 0 10-11-2003 02:42 PM
KDE Mouse Pointer Has Changed RickFriedman Linux - Software 1 05-31-2003 04:01 PM
I changed the mouse and the MDK9 didn't like it.. geraldomanaus Linux - Hardware 1 12-28-2002 03:55 AM

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

All times are GMT -5. The time now is 04:07 AM.

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