LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-07-2004, 04:51 AM   #1
123 Paul
Member
 
Registered: May 2003
Location: Kent, England
Distribution: Slackware, Ubuntu and Knoppix
Posts: 101

Rep: Reputation: 15
Wheel Scrolling


Ok, this is really bugging me, and it must be really simple to sort out!

I have a M$ IntelliMouse ps2, it all works fine, apart from the I cant use the wheel for scrolling.

Please can some one tell me how - I am using Mandrake! Simple steps please, as I am still learning
 
Old 02-07-2004, 05:11 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I think this one is easy just open your /etc/X11/XF86Config (or, if that's not your XF's config, then the one that is - but this is usually the one) and locate your mouse's config at Section "Input Device", it should look somehow like this:

Identifier "mouse1"
Driver "mouse"
Option "Protocol" "imps/2"
Option "Device" "psaux"

or whatever - these depend on _your_ own mouse config. Now add there the following line:

Option "ZAxisMapping" "4 5"

and that's it. If it doesn't work yet, then you might want to see if adding these lines help (to make sure the wheel is accepted as a wheel, not as a button - these are usually not needed):

Option "Emulate3Buttons" "off"
Option "Buttons" "3"

I guess you just need the ZAxisMapping -line. Save & restart your X, and enjoy!

EDIT:

to make this simple, read these too if you don't understand something (even tough I'm pretty sure you do )

- I'm pretty sure you can edit XF's config while in X; just restart after editing.
- Use any text editor you wish to edit /etc/X11/XF86Config , like nano, Bluefish, vim, emacs, somekind of "notepad", whatever - that's not important. Just get the file open somehow
- I think you must be root to do this, so if you're logged in as normal user, start the editor you use from terminal and before starting, su to root. Or then just log in as root it's easier
- After saving, if you're in X, and nothing seems to happen, make sure you get your X truly restarted - either do a CTRL+ALT+BACKSPACE or then open terminal and do a "killall X" and start it again. Logout/login should do, though.

Last edited by b0uncer; 02-07-2004 at 05:17 AM.
 
Old 02-07-2004, 05:45 AM   #3
grayswander
Member
 
Registered: Apr 2003
Location: Israel
Distribution: Gentoo
Posts: 61

Rep: Reputation: 15
Look at your XF86Config.

The mouse configuration should be:

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

The lines
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
say that you have a wheel and third button. Here you can see, that wheel is registerea as buttons 4 an five.
 
Old 02-07-2004, 09:38 AM   #4
123 Paul
Member
 
Registered: May 2003
Location: Kent, England
Distribution: Slackware, Ubuntu and Knoppix
Posts: 101

Original Poster
Rep: Reputation: 15
thats odd, I was playing around with the mouse options in the mandrake control centre, but nothing happened, but after a reboot the scrollong seems to be working now

thanks for you help anyway
 
Old 02-07-2004, 03:49 PM   #5
grayswander
Member
 
Registered: Apr 2003
Location: Israel
Distribution: Gentoo
Posts: 61

Rep: Reputation: 15
Possibly, your control center has updated the XF86Config file, X is to be restarted in order to these changes to activate.
 
Old 02-09-2004, 01:38 PM   #6
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
yes, indeed..that's because XFree86Config is (as far as I know) read through only when X is started, so the changes that are made in it, are (re)loaded only when X starts again. you can see this in /var/log/Xfree-something logfile, in a line that tells which config file is being used.

it's a good habit, if not automatically made (I think it is), to make a backup copy of XFree86Config when making big changes. this prevents accidents
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Scrolling Wheel not working deus_machinarum Linux - Newbie 10 09-23-2005 06:09 PM
mouse wheel for scrolling, but not for pasting anneser Linux - Newbie 1 12-11-2004 07:04 AM
4d wheel mouse - scroll wheel no worky CamelofCamelot Linux - Hardware 1 10-28-2004 08:33 PM
hard scrolling vs soft scrolling (console) haxcess Linux - General 2 08-30-2004 12:17 AM
Mouse wheel scrolling too much. Hammett Linux - Hardware 0 08-18-2004 08:41 AM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration