PDA

View Full Version : No scroll wheel with kernel 2.6.6



eon
11-25-2004, 03:46 AM
I'm running knoppix 3.4 installed from the linuxtag 3.5 dvd. It is the best!!!!
Mostly I run the 2.4.26 kernel. I notice that if I boot with the 2.6.6 kernel that my scroll wheel (microsoft ps2 mouse) doesn't work-yet it's fine with 2.4. ?? I did a search and in the knoppix FAQ's there was a mention of having modules psmouse and mousedev. I tried to apt-get psmouse but apt-get said "E: Couldn't find package psmouse" Also modprobing returned
FATAL: Module psmouse not found.
john@ixan:~$ modprobe mousedev
FATAL: Module mousedev not found.
It's not that big a deal just wondering if anyone knows what's up on this-Thanks.

Markus
11-25-2004, 09:33 AM
I'm not in linux right now, but IIRC using the mouse with 2.6.x kernel you should change in /etc/X11/XF86Config-4 in the psmouse section
dev/psaux to /dev/input/mice

CrashedAgain
11-26-2004, 05:59 PM
Edit /etc/X11/XF86Config-4. Change the protocol for the mouse from 'auto' to 'IMPS/2'.

eon
12-05-2004, 04:03 PM
Thanks I will try the 2nd solution posted. The 1st one did not work and I also was then unable to use the 2.4.26 kernel until I un-edited the /etc/X11/XF86Config-4 file. Just a FYI

Markus
12-05-2004, 04:41 PM
Well, seems like my memory could be better. This is what I have now for a Logitech Cordless Click Plus:

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

You should be able to find the protocol with:
markus@fujibox:~$ dmesg|grep PS/2
mice: PS/2 mouse device common for all mice
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1

CrashedAgain
12-06-2004, 05:40 AM
Well, seems like my memory could be better. This is what I have now for a Logitech Cordless Click Plus:

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

You should be able to find the protocol with:
markus@fujibox:~$ dmesg|grep PS/2
mice: PS/2 mouse device common for all mice
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1

Cordless is different. For a standard PS/2 scrollwheel mouse use:
Option "Protocol" "IMPS/2"

(default is "Protocol" "auto" which won't recognize scrollwheel.)

Markus
12-06-2004, 11:41 AM
Now what did I tell you about my memory ;)

Dug up an old one from the time I still had a tail to my mouse:
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2" # PS/2
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Whatever happened to /dev/input/mice? I could swear I had to use that when using the early 2.6 kernels.

eon
12-07-2004, 07:34 AM
Thank you both for all the info/help.

I did change the XF86Config-4 to IMPS/2 but nothing happened.

There are two (2) XF86Config-4 files in /etc/X11. I changed the one that had Protocol "auto"

The other XF86Config-4 file had Protocol "PS/2" and I left that alone.

I guess I need to go back and edit that one too.

Why are there two XF86Config-4 files anyway?

Thanks

Markus
12-07-2004, 12:34 PM
You can't have 2 files by the same name. If the other has an ~ at the end it's an automatic backup made by your editor. Some scripts for editing the file also make different extensions for the backup file.

Change the one that hasn't got any extra extension at the end.

rrfish72
12-07-2004, 05:01 PM
I had to configure my mousewheel and this is what I had to do:
First I commented out the other two mouse choices then changed the other to fit mine. Saved and rebooted and them scrollwheel worked.

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

/dev/input/mice
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
Option "Buttons" "5"
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"
#EndSectionEndSection

eon
12-07-2004, 09:52 PM
file:/etc/X11/XF86Config-4
file:/etc/X11/XF86Config-4.in

Right I can't have two files with the same name. I also have automatically generated back up files for each of these

The files seem to be a copy of one another, and that is what I meant.

Markus
12-07-2004, 10:29 PM
/etc/X11/XF86Config-4 Is the one you want to change.


/etc/X11/XF86Config-4.in Is for setting multilingual keyboards and such. Haven't played with it though since I run english with a western keüböärd.
Could be needed for something else as well. But for just setting mouse and display doesn't seem to be needed.