PDA

View Full Version : mouse lost in X from 3.2 to 3.3



twinkel
11-24-2003, 08:24 PM
Hi all,

I found out why I lost my mouse since using knoppix 3.3 on my compaq armada M300 laptop. This problem did not occur on knoppix 3.2.

It turns out that in XF86Config-4 the mouse protocol definition changed between these versions. Putting it back from "auto" to "PS/2" made it work, after restarting the X-server (init 2 followed by init 5).

Was this change necessary? Is there a work-around? The boot parameter pci=irqmask=0x0e98 did not help.

other than that, I am very :P with the way things are working.

jpv
11-28-2003, 06:50 AM
I had the same Problem.

PS-2 Mouse didn't work after hd-install (Compaq Armada 7380)

change from "auto" to PS/2 did work!

Is there a way to get rid of the trackpoint (my trackpoint makes noise, mouse moves without using the trackpoint).

Scotty
12-07-2003, 12:45 AM
I seem to have the same problem (Compaq Armada M700). Could someone please explain how to change "auto to PS/2", because I don't quite understand how to do that.

Stephen
12-07-2003, 03:07 AM
I seem to have the same problem (Compaq Armada M700). Could someone please explain how to change "auto to PS/2", because I don't quite understand how to do that.

When you have booted the cd open a console window by using the ALT + F1 keys to bring up the Kmenu then use the arrow down key to go to System then right arrow key to open the sub-menu then down key to the Konsole menu item and enter. Once it opens the console window type in sudo init 2 and then enter which will take you to the console itself without the X window system running in other words you will see nothing but a root# prompt no graphics. Now you would type in vi /etc/X11/XF86Config-4 and then enter to open the X server configuration file for editing use the arrow keys to navigate down to the section that looks similar to this:


Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "True"
Option "ZAxisMapping" "4 5"
EndSection


You want to change the line with the Option "Protocol" "auto" that will be there move over with the right arrow key to the start of the a in auto and hit the INSERT key to go into the insert editing mode and type in the PS/2 you want in the file then use the DELETE key to delete the auto and to save the file hit the ESC key to take you out of the editing mode then the SHIFT + ; which will result in a : prompt down in the lower left corner of the screen where you will type wq and hit the ENTER key to write then quit the file now being back at the root# prompt all you have to do is type in init 5 and hit enter to go back to KDE and see if it works.

Scotty
12-07-2003, 04:30 PM
Thanks. I'm one step further, but there's still a problem. When moving the mouse not only the cursor is moving, but there are also windows, menu's etc. opening.

Stephen
12-07-2003, 05:22 PM
Thanks. I'm one step further, but there's still a problem. When moving the mouse not only the cursor is moving, but there are also windows, menu's etc. opening.

Sounds like there is something wrong with the way it is getting the input from the mouse can you post the edited /etc/X11/XF86Config-4 you ended up using so we can see it. A mouse trick (http://www.knoppix.net/forum/viewtopic.php?p=29841#29841) I just posted in the tips and tricks section that will allow you to use the keyboard as your mouse may help your navigation around the desktop.


BTW is this a real mouse or the pointer that you are having problems with?

Scotty
12-07-2003, 09:13 PM
I've posted the part where the mouse settings are below. I changed the option "Protocol" to "PS/2".
The mouse itself is an optical mouse with two normal buttons and one scroll wheel.


Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "PS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

Stephen
12-07-2003, 11:28 PM
I've posted the part where the mouse settings are below. I changed the option "Protocol" to "PS/2".
The mouse itself is an optical mouse with two normal buttons and one scroll wheel.



In that case you should use the ImPS/2 protocol to enable the wheel and see if that helps. Also what kind of optical mouse I believe that some of them use a different protocol and it may be helpful if I can see the section similar to this in the XF86Config-4 as well.



Section "ServerLayout"
# Identifier "XFree86 Configured"
Identifier "DualHead"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
# Option "Xinerama" "on"
EndSection

Scotty
12-08-2003, 08:21 PM
Here's the part you requested:

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection
I've tried another similar mouse (also with a scroll wheel) and it has the same problem. I've tried the ImPS/2 protocol with both of them and that didn't help. But, I've also tried a three button mouse with the PS/2 protocol and that one works fine.