LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-29-2003, 08:56 AM   #1
rsingh
Member
 
Registered: May 2003
Posts: 44

Rep: Reputation: 15
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.
 
Old 09-29-2003, 09:20 AM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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
 
Old 09-29-2003, 09:54 AM   #3
rsingh
Member
 
Registered: May 2003
Posts: 44

Original Poster
Rep: Reputation: 15
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?
 
Old 09-29-2003, 01:00 PM   #4
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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?
 
Old 09-30-2003, 05:11 AM   #5
rsingh
Member
 
Registered: May 2003
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
Old 09-30-2003, 08:36 AM   #6
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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.
 
Old 09-30-2003, 09:14 AM   #7
rsingh
Member
 
Registered: May 2003
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
Old 09-30-2003, 09:45 AM   #8
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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
 
Old 09-30-2003, 01:58 PM   #9
rsingh
Member
 
Registered: May 2003
Posts: 44

Original Poster
Rep: Reputation: 15
ya i made the changes that you said and ran kudzu but no improvements.Should i explicitly mention scrolling in the mouse section?
 
Old 09-30-2003, 02:20 PM   #10
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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).
 
Old 09-30-2003, 02:26 PM   #11
rsingh
Member
 
Registered: May 2003
Posts: 44

Original Poster
Rep: Reputation: 15
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?
 
Old 09-30-2003, 02:49 PM   #12
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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.
 
Old 10-01-2003, 07:48 AM   #13
rsingh
Member
 
Registered: May 2003
Posts: 44

Original Poster
Rep: Reputation: 15
i have a logitech optical mouse .
should i change the protocol to "imps/2"?
 
Old 10-01-2003, 09:52 AM   #14
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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).
 
Old 10-02-2003, 12:56 AM   #15
rsingh
Member
 
Registered: May 2003
Posts: 44

Original Poster
Rep: Reputation: 15
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 ?
 
  


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
Problem with touchpad scrolling darknails Linux - Laptop and Netbook 2 02-12-2006 09:12 AM
touchpad scrolling, odd problem the_clown Linux - Laptop and Netbook 2 04-12-2005 07:10 PM
KDE Mouse / Scrolling Problem PeterKlancic Linux - General 2 02-15-2005 01:11 PM
hard scrolling vs soft scrolling (console) haxcess Linux - General 2 08-30-2004 12:17 AM
Mouse Scrolling problem (I have searched the threads too) ShibbyLinux Linux - General 6 04-12-2002 09:52 AM


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