LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   scrolling problem (https://www.linuxquestions.org/questions/linux-newbie-8/scrolling-problem-98195/)

rsingh 09-29-2003 08:56 AM

scrolling problem
 
i am unable to use the scrolling facility of my mouse in RH9 .i changed the mouse setup and tried a lot of combinations but no use.

jpbarto 09-29-2003 09:20 AM

In /etc/X11/XF86Config in the 'Mouse' section is the protocol listed as 'IMPS/2'? It's probably listed as 'Auto' which means it could be getting ill-detected. Specify IMPS/2 and add these two lines if they do not already exist

Option Buttons "5"
Option ZAxisMapping "4 5"

hope that helps,
jpbarto

rsingh 09-29-2003 09:54 AM

i looked up the file you were talking about .
IMPS/2 was already written
and Option ZAxisMapping "4 5" also exists
ya but Options Buttons "5" was missing
Do you think i should include it as well?

jpbarto 09-29-2003 01:00 PM

it couldn't hurt but it's probably not the cause of your problem. Does your config file have 1 or 2 Mouse definitions? Which one (down in the 'Screen' section) is your config using?

rsingh 09-30-2003 05:11 AM

this is the part of my file that contains the mouse definitions.
is it alright?


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

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

jpbarto 09-30-2003 08:36 AM

The second mouse definition is the one you'll want to use. Look futher down in the file to the 'ServerLayout' section.

In that section should be two 'InputDevice' directives ... one will specify a keyboard and the other will specify one of these two mouse definitions. Make sure that it specifys the 'DevInputMice' ... so the InputDevice directive should look like this:

InputDevice "DevInputMice"
instead of this
InputDevice "Mouse0"

Now personally I think your mouse definition section should look like this:

Section "InputDevice"
Identifier "scroll-mouse"
Driver "Mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection

however just try changing the directive in the serverlayout first. if that doesn't work then modify the first mouse definition to utilize IMPS/2.

rsingh 09-30-2003 09:14 AM

this is what the server layout section has.
should i delete the "Mouse0" entry so that only "DevInputMice" remains?


Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

jpbarto 09-30-2003 09:45 AM

remove 'InputDevice "DevInputMice" "AlwaysCore"'
this will remove the reference to the second mouse definition above. I would then modify the first mouse definition above to use the IMPS/2 protocol. Also in the first mouse definition delete the 'Emulate3Buttons' option from that definition.

that's what I would do.

I would also create a backup on my config file before I made these changes.

let me know if it works,
jpbarto

rsingh 09-30-2003 01:58 PM

ya i made the changes that you said and ran kudzu but no improvements.Should i explicitly mention scrolling in the mouse section?

jpbarto 09-30-2003 02:20 PM

alright, listen I must apologize. I've been doing this stuff for so long that I learned to do everything from the command prompt in vi so I have a horrible habit of giving advice that same route (edit this config file, etc).

you're on redhat lets do it the redhat way.
revert back to your old XF86Config and then start Gnome. From the start menu select 'System Settings' and then 'Mouse'. Select under the 'Generic' category 'Wheel Mouse (PS/2)'. After doing this logout and log back in. That should give you your wheel mouse.

let me know how it turns out.
(this method at least works on Redhat 8 as I just tried it on one of our systems here at work).

rsingh 09-30-2003 02:26 PM

thanx for being helpful but i have tried all those things already and any of them didn't work i got to the forum.
the problem just doesn't get solved and i am perplexed why ??
do you have any other suggestions?

jpbarto 09-30-2003 02:49 PM

is the mouse an oddball kind of mouse?

going back to your XF86Config (doin this by hand again) the only diff between yours and mine is this:

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2" <--!!! Yours has just ol PS/2
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

put your config back the way it was (before we started tweakin it) (I've posted your original settings (as you told them to me) in this post) ... these settings are how they are set in the redhat box here using a microsoft wheel mouse.

rsingh 10-01-2003 07:48 AM

i have a logitech optical mouse .
should i change the protocol to "imps/2"?

jpbarto 10-01-2003 09:52 AM

yes change the protocol to imps/2 and I'll see what I can find out about the optical mouse (I use a logitech trackball myself).

rsingh 10-02-2003 12:56 AM

thanx a lot
changing the protocol worked
you have been very helpful.
i had one more problem . do you know how to install TOMCAT server on redhat 9?
also do you know how to mount an NTFS parttion . i have heard you need to recompile the kernel for that ?


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