LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Working Scroll Wheel on my Mouse (https://www.linuxquestions.org/questions/linux-hardware-18/working-scroll-wheel-on-my-mouse-386392/)

cfaust 11-25-2005 08:04 AM

Working Scroll Wheel on my Mouse
 
You can shoot me if you want; but I couldn't find a clear answer using search here at LinuxQuestions.org to make my scroll wheel work on my mouse, after some experimentation and reading elsewhere this is how I made my scroll wheel work on my mouse at least in KDE.

for the Protocol I used imps/2

Option "Protocol" "imps/2"

KDE for Slackware 10.2 didn't have a line for this, but using webferret on my winbloze box I found that there was another 'Option' I could use "ZAxisMapping" add this just below the '"Option" "Device" line if it's not in your xorg.conf

Option "ZAxisMapping" "4 5 9 10"

It worked for me, and I hope it works for someone else; you can also run 'xev' in a console and use the information that it reports for your ZAxisMapping.

Code:

Section "InputDevice"

# Identifier and driver

    Identifier        "Mouse1"
    Driver        "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping" "4 5 9 10"

:newbie:

reddazz 11-25-2005 09:06 AM

Not sure why you didn't get a clear answer since this is asked a lot and there are lots of accurate replies on this site. I usually add the following to my mouse options,
Code:

Protocol "IMPS/2"
Buttons "5"
ZAxisMapping "4 5"

The values above differ if the mouse has more than 2 buttons and the wheel.

cfaust 11-25-2005 12:34 PM

Quote:

Originally posted by reddazz
Not sure why you didn't get a clear answer since this is asked a lot and there are lots of accurate replies on this site. I usually add the following to my mouse options,
Code:

Protocol IMPS/2
Buttons 5
ZAxisMapping "4 5"

The values above differ if the mouse has more than 2 buttons and the wheel.

You know what's completely strange about it; is once I posted, went back in and read it down at the bottom were the "Similar Posts" listing and there were a ton of the same thing...

The only positive is this, I figured it out and then posted my solution instead of posting another question :)

reddazz 11-25-2005 02:41 PM

Yeah its always a good thing to post the solution because it may help others.

P.S I forgot to put all the quotes in my initial post.

cfaust 11-26-2005 07:28 AM

Quote:

Originally posted by reddazz
Yeah its always a good thing to post the solution because it may help others.

P.S I forgot to put all the quotes in my initial post.

Hopefully I'll be just as lucky figuring out the WiFi and Slackware 10.2 on my Compaq laptop :) Got the glide pad working at least scrolling up and down, gotta add the sideways scroll sometime.

I'm having lots of fun over here :)

m.parthiban 11-26-2005 09:31 PM

Mate,
I am also suffering due to same problem . I am new(infant) to Linux
and using Red hat 9.0 (shrike) . I am not able to understand how to do that coding. To be honest i doesn't understand anything (expect that it is a solution ).

Please tell me how do to in detail.

Thanks

cfaust 11-27-2005 07:14 AM

*lmao* You're asking for help from me? Oh my, but this is going to be more like the blind leading the blind, we may not get anywhere with this :)

reddazz 11-27-2005 08:04 AM

Quote:

Originally posted by m.parthiban
Mate,
I am also suffering due to same problem . I am new(infant) to Linux
and using Red hat 9.0 (shrike) . I am not able to understand how to do that coding. To be honest i doesn't understand anything (expect that it is a solution ).

Please tell me how do to in detail.

Thanks

You need to switch to root and edit /etc/x11/XF86Config (or /etc/x11/XF86Config-4) with a test editor of your choice e.g.[list=1][*]Start a terminal e.g. konsole or gnome-terminal[*]Switch to root by doing "su -" and enterting the root password. e.g.
Code:

$su - <ENTER>
[*]Edit the files with your favourite text editor e.g.
Code:

#emacs /etc/x11/XF86Config
If you are not used to tect based editor use a graphical one such as gedit or kwrite e.g.
Code:

#kwrite /etc/x11/XF86Config
[/list=1]


All times are GMT -5. The time now is 08:24 PM.