LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-29-2004, 06:46 AM   #1
jklewis
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Rep: Reputation: 0
Mouse stops responding in Redhat 9


OK I've run into a rather odd bug. I have a Logitech MX Duo wireless keyboard and mouse. They are USB and have 1 USB connection comming from the RF reciever. I recently upgraded to Redhat 9, and on Redhat 8 I had absolutely NO problems with my mouse and keyboard. The mousewheel worked fine. Nothing has changed other than me upgrading. Once I upgraded, I noticed my scroll wheel wasn't working. So I tried selecting a few different mice in the mouse configuration to see if I could find one that would allow my mouse to work. Note that the scroll wheel and mouse worked fine in the Linux setup. At any rate, at some point in selecting mice the mouse stopped responding at all. I reselected 3 button USB mouse, and it still didn't work. I rebooted... it still didn't work. I tried pulling the USB connection out and reinserting it.

So, I booted off of the Redhat 9 install CD, figuring I could just have it re-upgrade. I did the keyboard and mouse setup there, and again, they worked fine(even the scrollwheel!). However, Redhat didn't find any packages to upgrade (duh) and it would seem it didn't attempt to change anything since when I booted back into linux again, it still had the same problems.

So, my question is, does anyone know what is going on? Is there a way of getting my mouse to work again? Can I get it to reprobe the mouse, as it seems to get it correct during the setup. If I can't get this to work, I suppose I'll just reinstall redhat 8, but I was hoping to use 9 since that is what my computer graphics class is using :/

One more thing, when explaining things please assume nothing. I don't have much experience with linux.

Last edited by jklewis; 01-29-2004 at 06:48 AM.
 
Old 01-29-2004, 07:25 AM   #2
doakster
LQ Newbie
 
Registered: Jan 2004
Location: The Mighty Miramichi River
Distribution: Red Hat 9.0
Posts: 12

Rep: Reputation: 0
Hi. I have noticed that with my laptop, when I have the mouse configured for the built in pointer, that the external mouse doesn't work porperly, but when I have it configured for the external mouse, everything works, provided the mouse is plugged in. The minute I remove it, it goes crazy again. Are you using a laptop by any chance? Just a thought. Also, if that isn't it, you could try plugging another corded mouse and see if that works. If it doesn't, then you know its a problem with the mouse configurations in general, and not just with that mouse. Anyway, sorry I couldn't be more help.

Matthew Doak
 
Old 01-29-2004, 08:04 AM   #3
jklewis
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
I'll try plugging in another mouse. And no, I am not using a laptop.
 
Old 01-29-2004, 09:59 PM   #4
jklewis
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
OK This is really wierd. I have an old logitech MX500. I put on the PS2 adapter and booted up into Linux. The mouse still did not respond. I went to the mouse settings and choose the generic 3 button PS/2 mouse (was 3 button USB). I then hit OK. At that point my keyboard stopped responding. DOH. So, I rebooted and took off the PS/2 adapter and plugged the mx500 into the usb port. The system came up and now BOTH mice are responding, AND the keyboard. Unfortunantly niether mousewheel is working on either mouse. I can unplug the MX500 and the MX700 remains working. Hopefully it will remain this way when I reboot. I tried going to the settings and changing it back to 3 button USB (generic) but that had no effect.

So, it looks like I can get my mouse is working again, BUT, I still don't have a mousewheel! Does anyone know how to get the mousewheel working? Here is my x86Config:


Code:
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option	    "XkbRules" "xfree86"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	#Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
	Identifier  "DevInputMice"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "CPD-E540"
	DisplaySize  400	300
	HorizSync    30.0 - 110.0
	VertRefresh  48.0 - 170.0
	ModeLine     "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
	ModeLine     "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
	ModeLine     "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
	ModeLine     "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "nv"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA GeForce 2 GTS (generic)"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     16
	SubSection "Display"
		Modes    "800x600"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

Last edited by jklewis; 01-29-2004 at 10:01 PM.
 
Old 01-29-2004, 11:07 PM   #5
jklewis
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
AHHHHHHHH. MAN this is pissing me off. I just logged out and as soon as the screen login screen appeared again my mouse stopped responding. Unplugging and plugging back in either mouse didn't work, and rebooting didn't help either. Does anyone know WTF is going on?
 
Old 01-30-2004, 03:46 AM   #6
jklewis
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
OK I've found a way to really get the mouse going, and perhaps someone can help me with the rest.

I decided to try removing the mouse from my hardware config and then readding it. I read the man pages for kudzu and found out where it stores its hardware configuration information. (etc/sysconfig/hwconfig) I scrolled down and found this entry:

class: MOUSE
bus: PSAUX
detached: 0
device: psaux
driver: msintellips/2
desc: "Generic PS/2 Wheel Mouse"

I found this odd, since I don't even have anything plugged into my PS/2 ports. What's more, my mouse is a Logitech Mx700, not an MS intellimouse. So, I removed it and rebooted. Kudzoo redetected the mouse, and again detected it as an MS intellimouse. When I got back into linux, my mouse was working again! Even if I logged off and logged back on again, the mouse would work.

But the scroll wheel still doesn't work :/ I tried going into mouse settings, and if I change it to a generic 3 button USB mouse, it stops responding on logout just like it did the first time. And I have to remove it and have kudzoo reconfigure it all over again.

I think what I am "breaking" by selecting different mouse properties and what kudzoo is "fixing" is actually the X86Config. As you can see, it has changed it:

Code:
Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/psaux"
	#Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
	Identifier  "DevInputMice"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
EndSection
That is what my X86Config looks like now. I think because it detected the mouse wrong, it was routing the input to /dev/psaux instead of /dev/input/mice, and so the XServer wasn't seeing any input. I'm guessing that if I go into etc/sysconfig/hwconfig and change the PS/2 entry to a USB one, and then change my X86Config to take USB input, it should work.

So... what do you guys think? If you think I got it right, could someone post what their USB mouse settings are in etc/sysconfig/hwconfig?
 
Old 01-30-2004, 07:46 AM   #7
doakster
LQ Newbie
 
Registered: Jan 2004
Location: The Mighty Miramichi River
Distribution: Red Hat 9.0
Posts: 12

Rep: Reputation: 0
You could try putting the PS/2 adapter on the wireless mouse and see if that helps. My mouse is a corded MS optical mouse with a usb connector and a PS/2 adapter. It works fine as either PS/2 or USB, although I usually use it as a PS/2 since I need the USB port. My hwconf file is identical to your's for the mouse part. Also, my XF86Config file looks the same as yours. If I were you, I'd probably just get sick of the whole thing, and format the hard drive and reinstall linux in hopes of getting it to work that way. I hope you don't have to resort to that though.

Matthew
 
Old 01-30-2004, 09:27 AM   #8
jklewis
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Well, I don't think a reinstall would fix this. I did upgrade from redhat 8, but that installation was just about untouched. I think this is a bug in kudzu's mouse detection, and it seems to be one that has just now cropped in with Redhat 9 (as everything worked in Redhat 8). It detects it as PS/2, so if you try to make it work as a USB mouse it won't work. I really think all I need is the proper USB mouse settings in the hwconfig and I'll be good. Even if I were stuck like this, I can live without a mousewheel, it's just annoying. I could probably get my MX500 PS/2 mouse working now that I know what is going on, but I'd rather try getting my MX700 mouse working than go back to my nasty old MX500.
 
Old 01-31-2004, 07:02 PM   #9
jklewis
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
If someone could post that information for me I would really appriciate it.
 
Old 03-19-2004, 01:49 AM   #10
matthewbrett
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
Hi,

I had a lot of problems like the ones you describe (wireless mouse being identified as psaux, but not working). I then tried the 2.6.3 kernel (Mandrake 10.0) and the problem was magically solved. For the record, here is my /etc/sysconfig/mouse file:

MOUSETYPE=ps/2
XMOUSETYPE=ExplorerPS/2
FULLNAME="Universal|Any PS/2 & USB mice"
XEMU3=no
WHEEL=yes
device=input/mice

and the relevant portion of XF86Config-4

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection
...
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection

Both files were automatically generated by Mandrake, I didn't do anything clever here.

Matthew
 
  


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
ssh stops responding doralsoral Linux - Software 2 12-01-2005 08:58 AM
Laptop keyboard stops responding after usb mouse installed koloth Slackware 2 07-11-2005 07:50 AM
How often your Windows stops responding? chii-chan General 17 03-20-2004 07:26 PM
Stops responding during install Niagara3400 Linux - Software 3 02-16-2004 01:34 PM
mouse stops responding iamnotherbert Linux - General 1 10-27-2003 09:38 PM

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

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