LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   The ms mouse wheel (https://www.linuxquestions.org/questions/linux-hardware-18/the-ms-mouse-wheel-149213/)

AndreL 02-22-2004 02:00 PM

The ms mouse wheel
 
my mouse workd but the wheel on it doesn't work some geek hehehe sent me to this post and I didn't know to get there while reading it
http://www.linuxquestions.org/quest...threadid=147077 So please tell me step by step kinda thing to get my mouse wheel to work.

Thanks

Oh yea just a little while a ago by keyborad didn't work or my panel didn't show up so I had to reboot my pc and every thing came back.
please tell me what happen and how to not get back there


and every time I go to the commad prompt it says "root@host3-null root" whats up with the null root and every time I restart when my computer boots up it says an error and my linux will not act right.

So please help me... Thanks in Adv ...

Booster 02-22-2004 03:11 PM

Hey, this should be an easy one. ;) (Famous last words.....)

Open up your XF86Config file (don't know what distro you're running, but it's likely /etc/X11/XF86Config or possibly /etc/X11/XF86Config-4 )

Add the line:
Option "ZAxisMapping" "4 5"
to your Input Device section for your mouse - that whole section for one of mice is below:#
# Pointer section
#
Section "InputDevice"

Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"

EndSection

Cheers!

AndreL 02-22-2004 04:05 PM

I'm using redhat 7.3

what is XF86Config

Booster 02-22-2004 05:52 PM

XF86Config is the file that contains your basic settings for X-Windows, ie: Display settings, mouse, keyboard, etc

Look for it under /etc/X11 if you really can't find it, go to a shell and type:

find / -name XF86Config

After a few minutes of grinding away, it should tell you where it is. Once you've found it, open it up in your favourite text editor, and make the changes mentioned above. (might be a good idea to make a backup copy first ;))

joseph_k 02-26-2004 10:54 PM

My mouse wheel doesn't work either, but the above solution isn't working for me. Here is the mouse section of my XF86Config-4 file:

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "ZAxisMapping" "4 5"
EndSection

What changes should I make to get the mouse wheel to work? In addition, what's the difference between the XF86Config and XF86Config-4 files... which should I be editing, if I have both?

maroonbaboon 02-26-2004 11:09 PM

Use the XF86Config-4 file.

When XFree86 moved from v3 to v4 the format of the configuration file was changed. So the name was changed too to avoid confusion. Any recent distro is v4.

I think what you put in there depends on the exact sort of MS wheelie you have. For an intellimouse explorer (5 buttons + wheel) I have:

Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "6 7"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
Option "Buttons" "7"
EndSection

If you google (or search here) for your exact mouse type + xf86config-4 you will prob find what you need.


All times are GMT -5. The time now is 02:20 AM.