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 05-16-2004, 08:35 AM   #1
vador
LQ Newbie
 
Registered: Apr 2004
Posts: 28

Rep: Reputation: 15
Mouse with a wheel button can't get it to work!!


hy there!!

I have slackware 9.1 (the recent update 12 of May i guess that is in the ftp mirrors of slackware)
I am using gnome 2.6 everything is working well except my wheel mouse!!

I have microsoft wheel Mouse Optical USB. It works ok except the wheel button i can't scroll down in mozilla or in browser filesystem... Anyone knows how can i configure my wheel button to scroll down pages in mozilla, openoffice, etc... ?


Thnks a lot for everything
 
Old 05-16-2004, 08:54 AM   #2
mysterio
Member
 
Registered: Sep 2003
Location: Springfield Ma.
Distribution: Mandrake 9.2,Knoppix 3.7,Slackware 10.0, FreeBSD. 5.3, OpenBSD 3.6, NetBSD 2.0, Debian
Posts: 275

Rep: Reputation: 30
In your /etc/X11/XF86Config file under your mouse section try adding,
Option "ZAxisMapping" "4 5"
Notice the uppercase in some of the letters and the space between the 4 and 5.
 
Old 05-16-2004, 09:29 AM   #3
vador
LQ Newbie
 
Registered: Apr 2004
Posts: 28

Original Poster
Rep: Reputation: 15
I tried but still the same thing HERE it is my XF86CONFIG:



# Identifier and driver
# Option "Resolution" "256"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Option "Protocol" "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"

Section "InputDevice"

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"

EndSection


Last edited by vador; 05-16-2004 at 12:59 PM.
 
Old 05-16-2004, 10:42 AM   #4
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
something ive found while using forums - people are less likely to reply if you copy paste in a myriad of useless information, because they dont want to read it. change your mouse section to:

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse".
Option "ZAxisMapping" "4 5"
EndSection

and it might work better.

I think you get a good site on a google search for "linux mousewheel"
 
Old 05-16-2004, 12:23 PM   #5
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
well, if the above doesnt work, then u might try adding this line too in the mouse section:
Option "Buttons" "5"

which will make the mouse section as follows:

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse".
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
 
Old 05-16-2004, 12:55 PM   #6
vador
LQ Newbie
 
Registered: Apr 2004
Posts: 28

Original Poster
Rep: Reputation: 15
I tried both and still not working !!


Last edited by vador; 05-16-2004 at 01:00 PM.
 
Old 05-16-2004, 01:01 PM   #7
fasmaie
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 10.0, ArchLinux, FreeBSD 5.3
Posts: 14

Rep: Reputation: 0
Could you please post the mouse section of your XF86Config.
 
Old 05-16-2004, 01:12 PM   #8
vador
LQ Newbie
 
Registered: Apr 2004
Posts: 28

Original Poster
Rep: Reputation: 15
DONE IT!

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


=)
 
Old 05-16-2004, 01:13 PM   #9
vador
LQ Newbie
 
Registered: Apr 2004
Posts: 28

Original Poster
Rep: Reputation: 15
IS The third post fasmaie !
 
Old 05-16-2004, 01:38 PM   #10
fasmaie
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 10.0, ArchLinux, FreeBSD 5.3
Posts: 14

Rep: Reputation: 0
Whoops! I saw that, but for some reason your Mouse section did not show up. Wierd!
Anyway, if that didn't work (which it should have), all I can think of is - Did you run xf86config (as root) at first boot, or have you been using the default setup?

Sorry about the preivious post.
 
Old 05-16-2004, 01:39 PM   #11
fasmaie
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 10.0, ArchLinux, FreeBSD 5.3
Posts: 14

Rep: Reputation: 0
Now saw the last post -- great that it worked! Enjoy!
 
Old 05-16-2004, 01:41 PM   #12
fasmaie
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 10.0, ArchLinux, FreeBSD 5.3
Posts: 14

Rep: Reputation: 0
You shouldn't need the Options "Buttons" "5" line.
IMPS/2 was all that was needed along with the ZAxisMapping.
 
Old 05-17-2004, 08:36 PM   #13
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Great job figuring it out

Last edited by vectordrake; 05-17-2004 at 09:31 PM.
 
  


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
would I be abe to get a 5 button wheel mouse to work under linux? ricardo_ok Slackware 5 11-01-2005 12:39 PM
Dr.Hank 5-Button + Wheel Mouse Lucas Hartmann Linux - Hardware 1 10-28-2004 08:56 AM
Scroll Wheel [2 button mouse] OldBob Linux - Hardware 1 05-06-2003 07:50 PM
mouse wheel like right button??? Relja Linux - General 0 02-24-2003 03:38 PM
4 button, mouse wheel USB mouse DigiCrime Linux - Hardware 1 12-11-2002 04:15 PM

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

All times are GMT -5. The time now is 10:38 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