LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2007, 03:32 PM   #1
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Rep: Reputation: 17
How to redetect PS2 mouse that got unplugged?


My PS/2 mouse sometimes gets unplugged accidentally, when this happens and I plug it back in, the linux desktop server cannot detect it again unlike a USB mouse. When this happens, I have to logout of the x server and restart it in order to get the mouse detected again. What keyboards commands could I use to bring up a terminal window and restart some service to get the mouse to work again without losing my desktop? Thanks!
 
Old 10-22-2007, 08:43 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
PS/2 does not support hotplugging like USB does, you are actually lucky that the system detects the mouse again at all. On most machines I have used, once the mouse was removed, nothing but a reboot would get it working again. I have also worked on a few machines who's motherboards shorted out when the mouse was removed while powered on.

I would suggest you get a wireless mouse, or a USB one, personally.
 
Old 10-22-2007, 08:56 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
In my SuSE installation, with Kde, I press Alt+F1 to pop up the Kde menu. Then use arrow keys to navigate through the menu. System - Terminal - Konsole starts a console to enter keyboard commands.

If you use other than Kde, go into your keyboard shortcuts utility to see what pops up the main menu, or to define a key sequence to do it.
 
Old 10-23-2007, 12:40 PM   #4
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Original Poster
Rep: Reputation: 17
I'm using gnome so I hit control-alt-backspace which exits me out my current session and bring me back to the login screen where I can use the mouse again.

Thanks for the tip about Alt-F1, that works on CentOS as well. I figure there has to be some service that got restarted which restored the mouse for me without losing my desktop?
 
  


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
ps2 mouse not working boxerboy Fedora 28 12-04-2006 05:06 AM
problem with ps2 mouse djsmarties Linux - Hardware 1 11-25-2004 10:07 AM
Keyboard locked when mouse is unplugged Doomhammer Linux - Software 0 10-06-2004 12:51 PM
Laptop pointer goes wild when PS/2 mouse unplugged TealToad Linux - Hardware 0 05-31-2004 11:37 PM
Can anyone help me redetect my mouse? atko Debian 1 02-02-2004 07:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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