LinuxQuestions.org
Visit Jeremy's Blog.
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 11-25-2005, 08:04 AM   #1
cfaust
LQ Newbie
 
Registered: Nov 2005
Location: Shrveport, LA, USA
Distribution: Slackware 10.2
Posts: 12

Rep: Reputation: 0
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"

Last edited by cfaust; 11-25-2005 at 08:07 AM.
 
Old 11-25-2005, 09:06 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.

Last edited by reddazz; 11-27-2005 at 08:05 AM.
 
Old 11-25-2005, 12:34 PM   #3
cfaust
LQ Newbie
 
Registered: Nov 2005
Location: Shrveport, LA, USA
Distribution: Slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 11-25-2005, 02:41 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 11-26-2005, 07:28 AM   #5
cfaust
LQ Newbie
 
Registered: Nov 2005
Location: Shrveport, LA, USA
Distribution: Slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 11-26-2005, 09:31 PM   #6
m.parthiban
Member
 
Registered: Sep 2005
Posts: 42

Rep: Reputation: 15
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
 
Old 11-27-2005, 07:14 AM   #7
cfaust
LQ Newbie
 
Registered: Nov 2005
Location: Shrveport, LA, USA
Distribution: Slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
*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
 
Old 11-27-2005, 08:04 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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]
 
  


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
Slackware - how to get mouse scroll wheel working xanas3712 Slackware 17 10-21-2007 04:04 PM
logitech optical mouse. scroll wheel not working greenbox Linux - Hardware 15 12-28-2005 10:55 AM
Scroll Wheel on Mouse is NOT working adamb10 SUSE / openSUSE 1 10-16-2005 12:29 PM
MIcrosoft USB Optical Mouse Wheel Scroll Not Working... onelung02 Slackware 8 02-02-2005 06:11 AM
scroll wheel not working HP usb optical mouse anorman Linux - Hardware 1 07-22-2004 08:34 PM

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

All times are GMT -5. The time now is 05:48 PM.

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