*Odin::Slackware::XF86Config xorg.conf X11 XWindows ConfigurationX
#

XF86Config xorg.conf X11 XWindows Configuration

Confused? Frustrated? You are using weird hardware and an unsupported, rarely used Linux distribution or other OS with X Windows and can't get your mouse wheel or refresh rate to work properly.

Here's some examples I used to make it work. Good luck...


*Odin::Slackware::XF86Config xorg.conf X11 XWindows ConfigurationX
# Where is my config file?

After upgrading from Slackware 9.1 to Slackware 10.0 I discovered that somehow my good old working /etc/XF86Config file didn't work anymore and I got a black screen. Very frustrating, because I was trying everything to get at least a screen on 640x480 8Bit but nothing worked.

Fix:
Configuration used to be (by default) /etc/X11/XF86Config or /usr/X11R6/etc/X11/XF86Config with XFree86
With the new X11 server by Xorg use /etc/X11/xorg.conf or /usr/X11R6/etc/X11/xorg.conf
The files use a rather same kinda way to configure, so just back up the existing xorg.conf and copy your old XF86Config to xorg.conf for a quick fix.

$ cd /etc/X11
$ cp xorg.conf xorg.conf.backup
$ cp XF86Config xorg.conf
$ cp: overwrite `xorg.conf.nes'? [y]


*Odin::Slackware::XF86Config xorg.conf X11 XWindows ConfigurationX
# HP f2100a/f4815a USB Mouse
Make sure you have your USB modules loaded.
$ lspci
hid                    22180   0 (unused)
usbmouse                2296   0 (unused)
input                   3328   0 [keybdev mousedev hid usbmouse]
uhci                   25968   0 (unused)
usbcore                63232   1 [hid usbmouse uhci]
For more information, search on Google for linux usb modules or linux hotplug.

Add this to your xorf.conf:

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "IMPS/2"
    Option      "Device"      "/dev/input/mice"
    Option "Buttons" "7"
    Option "ZAxisMapping" "4 5"
    Option "ZAxisMapping" "6 7"
EndSection
The option Buttons 7 is very important because X sometimes just doesn't know how many.
The option ZAxisMapping 4 5 makes the scroll button work inside every window.
The option ZAxisMapping 6 7 makes the scroll button work only if your mouse is ON a scrollbar.
I use both and it works fine.


*Odin::Slackware::XF86Config xorg.conf X11 XWindows ConfigurationX
# Logitech PS/2 Trackman Marble
(BTW this works with many more PS/2 scroll wheel mice)

Add this to your xorf.conf:

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "Auto"
    Option	    "Buttons" "5"
    Option	    "ZAxisMapping" "4 5"
    Option	    "SampleRate" "1200"
    Option	    "Resolution" "500"
EndSection
I've been hacking and hitting my computer to get this work with the PS/2 and IMPS/2 protocols and setting without result. Until I changed to the Auto protocol. (DUH!)
The last two options change the speed with the Trackman Marble.

*Odin::Slackware::XF86Config xorg.conf X11 XWindows ConfigurationX
# nVidia GeForce
Use this command to see your computer's card information: (mine is like this)

$ lspci
...
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

Add this to your xorf.conf:

Section "Device"
    Identifier  "GeForce"
    Driver      "nv"
    #VideoRam    131072
    # Insert Clocks lines here if appropriate
EndSection


*Odin::Slackware::XF86Config xorg.conf X11 XWindows ConfigurationX
# Philips 107S Screen
Although you can get quite good resolutions the screen refresh rate will only be 60Hz. The max setting I got 75Hz was on 1152x864 with 24Bit color.
Here's a list:
ResolutionMax RefreshUsefull?
1280x102460Hzfor headaches and increasing eye corrections
1152x86475Hzfor you who need a bigger screen and are OK with 75HZ (I am)
1024x76885Hzif 75Hz is not good for you or 1152x864 makes your tools too small to read
800x60085Hzfor grandpa; in order to find the start button and read the text
640x48085Hzif your processor is slow and you want to see DVDs with XINE
Add this to your xorf.conf and uncomment the modes you want to use:
Section "Screen"
    Identifier  "Screen 1"
    Device      "GeForce"
    Monitor     "Philips 107S"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
#        Modes       "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        Modes       "1152x864" "1024x768" "800x600" "640x480"
#        Modes       "1024x768" "800x600" "640x480"
#        Modes       "800x600" "640x480"
#        Modes       "640x480"
        ViewPort    0 0
    EndSubsection
EndSection
In order to change the resolution press "<ctrl> <alt> +" or "<ctrl> <alt> -" or use the gnome Screen Resolution in Applications -> Desktop Preferences


*Odin::Slackware::XF86Config xorg.conf X11 XWindows ConfigurationX
# Monitor Setting
I have no clue how to set my xorg.conf up for my screen.
Fix:
Look at the back of your monitor, there should be a sticker there. It might say something like:
Horizontal Sync: 30 - 70
Vertical Refesh: 40 - 90 Hz
If it's not there, get the manual for the screen. Should be in the technical sprecs.
If you got this monitor from a friend of a friend and don't have the manual, add your monitors manufacturer and type to the form and search on google:
Google
Add this to your xorf.conf with the proper refresh information you found:
Section "Monitor"

    Identifier  "My Monitor"
    HorizSync   31.5 - 50.0
    VertRefresh 40 - 90

EndSection

www.nesware.net
Protected by the coolest license NPL Copyright © 2003 by Ernesto Broersma