Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wheel mouse
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Sat Sep 11, 2004 6:30 pm    Post subject: wheel mouse Reply with quote

I have a micosoft wheel mouse 'USB', it worked well but the wheel dosn't working, how can I enable it.

Thanks;
_________________
/aeh
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Sat Sep 11, 2004 6:37 pm    Post subject: Reply with quote

There is a good option on these forums named "Search" ;) You can get answer quicker if you find a thread with a solution.
Anyway:
Edit your /etc/X11/XF86Config-4 or /etc/X11/xorg.conf (depends on your x11 implementation). Find a section which corresponds to your mouse (Section CorePointer) and add
Option "ZAxisMapping" "4 5"
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Sat Sep 11, 2004 6:39 pm    Post subject: Reply with quote

Thank you.
_________________
/aeh
Back to top
View user's profile Send private message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Sun Sep 12, 2004 7:14 am    Post subject: Reply with quote

Sorry, I'm a biginer, where exactly shall I write this?!
_________________
/aeh
Back to top
View user's profile Send private message
Minox
Apprentice
Apprentice


Joined: 12 Apr 2004
Posts: 188
Location: Germany / Munich

PostPosted: Sun Sep 12, 2004 7:18 am    Post subject: Reply with quote

blaster999 wrote:
Edit your /etc/X11/XF86Config-4 or /etc/X11/xorg.conf (depends on your x11 implementation). Find a section which corresponds to your mouse (Section CorePointer) and add
Option "ZAxisMapping" "4 5"

Look there, in the Section CorePointer.
_________________
:!: proud to be 100% M$ free :!:
Back to top
View user's profile Send private message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Sun Sep 12, 2004 7:23 am    Post subject: Reply with quote

I didn't find this section in the ' /etc/X11/XF86Config'
_________________
/aeh
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Sun Sep 12, 2004 8:00 am    Post subject: Reply with quote

Oops! You need to locate InputDevice section for your mouse (there are at least two - for mouse and keyboard). Mine looks like this:

Code:

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

Your protocol may differ
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Sun Sep 12, 2004 11:35 am    Post subject: Reply with quote

well, but now what should I choose from the mouse menu in the XF86Config? which one I shall choose to my microsoft USB scroll mouse?
_________________
/aeh
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Sun Sep 12, 2004 2:57 pm    Post subject: Reply with quote

The same as you chose the first time (your mouse worked,as you mentioned in your first post). After the file is generated, edit it by hand and add "ZAxisMapping" "4 5" to the InputDevice section (xf86config won't allow you to chose wheel support).
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Mon Sep 13, 2004 10:14 am    Post subject: Reply with quote

When I'm choose the auto option, it worked well, but when I added the :

ZAxisMapping" "4 5"

That dosen't "I mean the scroll whell"

[/quote]
_________________
/aeh
Back to top
View user's profile Send private message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Tue Sep 14, 2004 9:25 am    Post subject: Reply with quote

Please any one to help me!
_________________
/aeh
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Sep 14, 2004 9:31 am    Post subject: Reply with quote

Change your xorg.conf

remove the "InputDevice" section for your mouse (not the one for the keyboard!)

add this:

Code:

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


My Microsoft wheelmouse works with this.

Also, is your user in the wheel group? (should it be?). Type "groups" in a terminal to figure out if you are.
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Tue Sep 14, 2004 9:37 am    Post subject: Reply with quote

But I have a USB mouse NOT PS/2!!
_________________
/aeh
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Sep 14, 2004 9:37 am    Post subject: Reply with quote

me too...

Why should that matter?

*edit: OK IMPS/2 is not only for ps/2 mice. Try it for your USB mouse. Mine works...
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
dtor
Guru
Guru


Joined: 19 Jan 2004
Posts: 461
Location: Indiana, USA

PostPosted: Thu Sep 16, 2004 6:06 am    Post subject: Reply with quote

Actually when reading from /dev/input/mouseX and /dev/input/mice in 2.6 the kernel gets input events from all kinds of input devices (touchscreens, PS/2, serial and USB mice, etc) and converts them into cooked PS/2 data. Actually application can request either bare PS/2, Intellimouse PS/2 or Explorer PS/2 flavor. Therefore anyone using /dev/input/mice in their XF86COnfig/Xorg.conf should set protocol to "ExplorerPS/2" when using 2.6.
_________________
Dmitry
Back to top
View user's profile Send private message
pointzero
n00b
n00b


Joined: 30 Sep 2003
Posts: 2
Location: Canada

PostPosted: Sun Sep 19, 2004 10:11 pm    Post subject: mouse wheel Reply with quote

frustrating :P

Ok... I tried the following to get the mouse wheel to work. I have a plain logitech usb wheel mouse. Mouse works fine except wheel

tried all combinations of ohci ehci and uhci as modules.

cat /proc/bus/input/devices shows Logitech USB Mouse

running linux-2.6.8.1-ck7 as my kernel

my XF86Config-4 (cuz i have radeon 9600 pro) has the following for mouse section

Code:
Section "inputDevice"

Identifier "Mouse1"
Driver "mouse"
Option "Protocol"  "ImPS/2"
Option "Device"   "/dev/input/mice"
Option "ZAxisMapping"   "4 5"

EndSection


Out of ideas... i can't find my answer in the forums.
Back to top
View user's profile Send private message
kavau
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2004
Posts: 87

PostPosted: Mon Sep 20, 2004 12:01 am    Post subject: Reply with quote

Rainmaker wrote:
Also, is your user in the wheel group? (should it be?). Type "groups" in a terminal to figure out if you are.

The "wheel" group has nothing to do with the mouse wheel. It's for the "su" command.
_________________
Brain surgeon general's warning: reading books and magazines may be hazardous to your ignorance.
Back to top
View user's profile Send private message
dtor
Guru
Guru


Joined: 19 Jan 2004
Posts: 461
Location: Indiana, USA

PostPosted: Mon Sep 20, 2004 12:03 am    Post subject: Reply with quote

Could you please try adding:

Option "Buttons" "5"

to your InputDevice section. Default is 3 and I am not sure if ZAxisMapping modifies button setting as well.
_________________
Dmitry
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum