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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-22-2003, 01:45 PM
|
#1
|
Member
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98
Rep:
|
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.
|
|
|
07-22-2003, 01:46 PM
|
#2
|
Member
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98
Original Poster
Rep:
|
# 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
|
|
|
07-22-2003, 02:36 PM
|
#3
|
Member
Registered: Jul 2003
Location: England, Derbyshire
Distribution: Dual boot XP pro & MDK 10 official, KDE.
Posts: 69
Rep:
|
|
|
|
07-22-2003, 02:41 PM
|
#4
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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 
|
|
|
07-22-2003, 03:45 PM
|
#5
|
Member
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98
Original Poster
Rep:
|
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.
|
|
|
07-23-2003, 03:56 AM
|
#6
|
Member
Registered: Jun 2003
Location: Belgium
Distribution: Debian unstable (really?)
Posts: 43
Rep:
|
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.
|
|
|
07-23-2003, 08:44 PM
|
#7
|
LQ Newbie
Registered: Jul 2003
Posts: 4
Rep:
|
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
|
|
|
07-29-2003, 12:02 AM
|
#8
|
Member
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98
Original Poster
Rep:
|
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.
|
|
|
07-29-2003, 10:42 AM
|
#9
|
Member
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98
Original Poster
Rep:
|
Gomp
(Which is like a bump, but I just don't like being a cookie cutter created form of everyone else)
|
|
|
07-29-2003, 11:00 AM
|
#10
|
Member
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|