LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-22-2003, 01:45 PM   #1
sickboylives
Member
 
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Rep: Reputation: 15
nVidia, mouse, and XF86Config - Making Sure


Hello all. I'm pleased with the status thus far with the progress my Red Hat 8.0 box has made so far, but I want to make sure that I've got certain settings correct.

I've found many a text on this site about getting a two button wheel mouse working. While I've followed them, I still do not have a working wheel. If any of you could offer assistance, I would appreciate it.

I do have the nVidia drivers for my Riva TNT2 card properly loaded (the nVidia splash screen comes up when X loads), but I am not comfortably sure that it is loading all the capabilities of the card (3D acceleration, for instance). Could any of you take the time to examine my XF86Config file and make sure it is properly written to include 3D Acceleration? As I have said, the nvidia driver is loaded, so that's taken care of for you. I installed the drivers by the nvidia.run file provided by nVidia.

My XF86Config file is posted immediately after this post. Thank you for your time, Linux users and gurus.
 
Old 07-22-2003, 01:46 PM   #2
sickboylives
Member
 
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Original Poster
Rep: Reputation: 15
# File generated by anaconda.

Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us" #Option "XkbVariant" ""
EndSection

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

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Generic 8514 Compatible, 1024x768 @ 87 Hz interlaced (no 800x600)"
HorizSync 31.5 - 31.5
HorizSync 35.5 - 35.5
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection

Section "Device"
# no known options
#BusID
Identifier "RIVA TNT2"
Driver "nvidia"
VendorName "RIVA TNT2"
BoardName "RIVA TNT2"
VideoRam 32768
EndSection

Section "Screen"
Identifier "Screen0"
Device "RIVA TNT2"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection
 
Old 07-22-2003, 02:36 PM   #3
Mr Tickle
Member
 
Registered: Jul 2003
Location: England, Derbyshire
Distribution: Dual boot XP pro & MDK 10 official, KDE.
Posts: 69

Rep: Reputation: 15
Check this thread out. I hope it helps

http://www.linuxquestions.org/questi...threadid=71711
 
Old 07-22-2003, 02:41 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
all i can tell you is that if your in Xwindows using the nvidia driver then you have 3dcapabilites...

arf!! i just scrolled up just to re-examine what you have and i noticed that you have Load "dri" in your module section...get rid of that and you'll be flying high
 
Old 07-22-2003, 03:45 PM   #5
sickboylives
Member
 
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Original Poster
Rep: Reputation: 15
Thanks DrOzz.

Being a curious sort of fellow, I'm led to ask, what is the "dri" module and why should I get rid of it? Is it outdated our just bad for my card?

*Edit added

Or is this what could be causing my mouse wheel to not work?

Last edited by sickboylives; 07-22-2003 at 03:46 PM.
 
Old 07-23-2003, 03:56 AM   #6
/su
Member
 
Registered: Jun 2003
Location: Belgium
Distribution: Debian unstable (really?)
Posts: 43

Rep: Reputation: 15
I use a intellimouse and by adding a simple line to my config file I can use now my wheel..

you should try to add

Option "ZAxismapping" "4 5" (It works maybe for all mouse model, I don't know)

to your XF86Config-4 file in the "Pointer" Section.
 
Old 07-23-2003, 08:44 PM   #7
Niro
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
ok as for your 3d driver tnt2 card you need to remove the dri because that is talling your linux version to load the original driver if you get that meaning its as plain as i can explain it as to not get into to much detail as for your mouse here is how i get my 7 button microsoft intelli mouse to work and have full function including the side buttons work in games they come up as MOUSE4 and MOUSE5

here is my section of my XF86Config modified file

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Buttons" "7"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "Resolution" "1200"
Option "ZAxisMapping" "6 7"
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 "Buttons" "7"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "no"
EndSection

And then you type Xmodmap -e "pointer = 1 2 3 6 7 4 5" in the terminal then thats it all sweet

But as i am a Microsoft guru and only have been using linux for a few days now i will have to ask does any one know where i can put the line Xmodmap -e "pointer = 1 2 3 6 7 4 5" into say a script so as it runs as soon as any user logs onto the system
 
Old 07-29-2003, 12:02 AM   #8
sickboylives
Member
 
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Original Poster
Rep: Reputation: 15
Further searching on this topic has revealed some things to me that I do not quite know how to handle, and don't wish to muck with without having an understanding of what I am doing.

Upon reexamination of my XF86Config file, I noticed that I have two mouse sections. Is this normal? I have a feeling that I would enable my wheel by changing all protocols to IMPS/2, but I do not know for sure, as the devices assigned to the two mouse sections in my config file are different.

So, should I have two mouse sections in my config file? Or can I safely get rid of one? If so, which one, referencing the above post where I included my XF86Config file.
 
Old 07-29-2003, 10:42 AM   #9
sickboylives
Member
 
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Original Poster
Rep: Reputation: 15
Gomp

(Which is like a bump, but I just don't like being a cookie cutter created form of everyone else)
 
Old 07-29-2003, 11:00 AM   #10
sickboylives
Member
 
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Original Poster
Rep: Reputation: 15
Question answered!

I decided to go ahead and edit my XF86Config file (after making a backup) and now the wheel on the mouse is working fine. So, there's only one thing to do left with my Linux box : Finally kill my brothers at Unreal Tournament. Man, I have missed that wheel, it really threw off my style of playing...

Anyways. This thread is now useless, since all questions and problems addressed herein have been answered and solved. Thank you.
 
  


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
help editing xf86config for nvidia geforce mx440 after installing nvidia driver linguist Linux - Newbie 11 06-13-2006 06:31 AM
XF86Config - Trapped Mouse BenRichards Linux - Software 0 09-13-2004 09:07 AM
mouse and xf86config Scarpa VectorLinux 3 03-02-2004 08:12 AM
XF86Config for nvidia Geforce 4 AGP althepcman Linux - Software 5 11-04-2003 05:28 PM
NVIDIA XF86Config Update ?? qwijibow Linux - Newbie 1 06-18-2003 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 AM.

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