On Sunday 29 September 2002 01:33 pm, Lorne wrote:

> I notice that this is mentioned in the 64 page readme file that
> came with the driver.
>
> The problem I'm having now is that they make some assumptions about
> what my config file looks like and I'm having trouble reading
> between the lines. the first time I guessed at what I needed, it
> started to come up but died. I wonder if I might be wiser to use
> XF86configurator to make fresh one, but what tool do I use to
> configure XF86config-4? it seems the old tools just modify the old
> one. It has been quite awhile since I've fooled with the old manual
> way of doing things. :) Since they have gone to 4.x of Xfree I've
> not kept up.

Well, if you feel it's necessary, I would use XFdrake --noexpert 
--noauto  and choose the closest to gf4 (seems like that might even 
be in there now).    Yeah, the format has changed recently slightly, 
but I'm not so sure it's not a mandrake thing.  But I got to tell you 
that every distros XF86Config-4 looks different from the examples 
seen and from each other.  suse's is a big ole ugly mess with a 
warning not to edit it manually!  redhat's is called XF86Config and 
looks strange.   But one common thread is the basic items are there 
even if they look a little different.

[s@tuxmachine]:docs$ cat XF86Config-4
# File generated by XFdrake.

# 
**********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# 
**********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated 
together)
    # By default, Mandrake 6.0 and later now use a font server 
independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the 
mouse doesn't work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution 
switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer   <- this is the glx line that XFdrake adds,
                                        # but if not there, add yourself         
    EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "MouseManPlusPS/2"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Hitachi, Ltd."
    ModelName "Hitachi CM611"
    HorizSync 31.0-92.0
    VertRefresh 50.0-120.0

    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  
563 -hsync -vsync

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  
630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  
616
EndSection

Section "Device"
    Identifier "device1"
    BoardName "NVIDIA GeForce4 (generic)"
    Driver "nvidia"     # <- this is where you change "nv" to "nvidia"
    Option "DPMS"
    Option "NvAGP" "1"    # <-  here & following are all options 
    Option "NoLogo" "on"
    Option "CursorShadow" "on"
    Option "CursorShadowAlpha" "64"
    Option "CursorShadowXOffset" "2"
    Option "CursorShadowYOffset" "1"

EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16

    Subsection "Display"
        Depth 8
        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" 
"640x480"
    EndSubsection

    Subsection "Display"
        Depth 15
        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" 
"640x480"
    EndSubsection

    Subsection "Display"
        Depth 16
        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" 
"640x480"
    EndSubsection

    Subsection "Display"
        Depth 24
        Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" 
"640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to