LinuxQuestions.org
Review your favorite Linux distribution.
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, 04: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, 09:43 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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, 09:56 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
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, 01: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 06:06 AM
problem with ps2 mouse djsmarties Linux - Hardware 1 11-25-2004 11:07 AM
Keyboard locked when mouse is unplugged Doomhammer Linux - Software 0 10-06-2004 01:51 PM
Laptop pointer goes wild when PS/2 mouse unplugged TealToad Linux - Hardware 0 06-01-2004 12:37 AM
Can anyone help me redetect my mouse? atko Debian 1 02-02-2004 08:43 AM


All times are GMT -5. The time now is 06:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration