LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   wheel mouse in slack 8.1 (https://www.linuxquestions.org/questions/slackware-14/wheel-mouse-in-slack-8-1-a-31324/)

bass 09-27-2002 11:25 AM

wheel mouse in slack 8.1
 
i tried to enable the wheel of my mouse. i found a
description going like this:
changing

Section "InputDevice"
Identifer "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
EndSection

to

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "5"
Option "ZAxisMapping" "4" "5"
EndSection

i didn't change Mouse1 to Mouse0 because
i thought Mouse1 was the right value for
slackware. after a reboot kdm couldn`t start.
i read the kdm.log file and it said that value
5 in the ZAxisMapping line was a wrong value.
how can i get my wheelmouse working?
i have not installed gpm and imwheel. i heard
that gpm can cause problems and i want to install
imwheel afterwards.

bass

moses 09-27-2002 02:22 PM

Here is the relevant portion from my /etc/X11/XF86Config file:


Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection

Note that there is only a space between the 4 and 5.
Leave your Identifier to whatever it was previously (with a working X), or
change it in the ServerLayout section as well. . .

Probably the important part to change is "ZAxisMapping" "4 5".

Cheers,
Moses

bass 09-27-2002 03:50 PM

i will give it a try! thanks!

R0N1N 11-21-2002 03:22 PM

Did that fix your problem with the mouse wheel?

The reason I ask is because Slackware is by far my favorite distro, but I have never been able to get the mouse wheel on my Intellimouse Optical USB to work with slackware 8.1.

I have had no trouble getting it to work with EVERY other distro I've used.

If you did get it to work, did you have to do anything other than modifying your XF86config file? I've done that and also tried every other protocol.

Excalibur 11-21-2002 10:20 PM

R0N1N, I use a Logitech USB wheel mouse under slack 8.1 on my notebook, and the wheel works perfectly. It is currently configured as the second mouse because the touchpad is the first pointing device. That way both will work, or just the touchpad if USB mouse not present. My config follows.

# For Touchpad
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "Resolution" "300"
EndSection

# For USB Wheel mouse
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mouse0"
Option "Resolution" "300"
Option "ZAxisMapping" "4 5"
EndSection

I would think you only need to modify the Identifer to "Mouse1". If anybody else is interested for a second pointer device I also had to add the following line to the ServerLayout section after the first pointer is declared near the bottom of the config file.

InputDevice "Mouse2" "SendCoreEvents"

Now I will state also that I had to really play with the modules for it work right. So perhaps that might be an area you could investigate as well. The only load order that I could get to work was the following from my rc.local file. I would think that "insmod" would work instead of "modprobe" just as well.

#USB mouse modules (device - /dev/input/mouse0)
/sbin/modprobe input
/sbin/modprobe usbmouse
/sbin/modprobe hid
/sbin/modprobe mousedev

You can use "lsmod" to view the current modules loaded and the order. Top of the list is loaded last and the bottom is loaded first.

Cheers.

bass 11-22-2002 05:17 AM

yes it works!
 
itīs quite a long time ago! my whell mouse works with nearly all apps (in spite of ghostview). it even works with mozilla without any problems. i can`t tell about optical mice and stuff like that. i`m using the standard logitech wheelmouse. but as you can see, my problems were caused by a typingerror in a linux mag. so never trust the experts ;-)(only kidding!)

good luck

bass

R0N1N 11-22-2002 03:24 PM

Quote:

I would think you only need to modify the Identifer to "Mouse1". If anybody else is interested for a second pointer device I also had to add the following line to the ServerLayout section after the first pointer is declared near the bottom of the config file.
Thanks, I'll check that out tonight for sure. Maybe I'm not loading a certain module or in a different order. I didn't think that would be a problem, since the mouse was working great otherwise.

I also don't think I have this line :

(InputDevice "Mouse1" "SendCoreEvents")

Excalibur 11-22-2002 07:44 PM

Your FIRST pointer device should use CorePointer as in:

InputDevice "Mouse1" "CorePointer"

It is only the SECOND pointer device (Mouse2) that uses SendCoreEvents. From my config example, use the Mouse2 section (that is USB) but modify the identifier to Mouse1.


All times are GMT -5. The time now is 06:29 AM.