"Thomas Peri" <[EMAIL PROTECTED]> writes:

> I'm installing debian on a 400-Mhz Pismo, and I'm at the point at
> which it asks for the monitor's best video mode.  Since I remember
> hearing a few years ago that laptop LCDs can get damaged if the wrong
> settings are used, I thought I'd ask here before picking one thing or
> another.  Which settings are appropriate for the Pismo's screen?

I'm attaching a copy of the XF86Config that I use with my pismo 500.

Cheers,
jas.
--
Section "DRI"
#       Mode 0666
EndSection


Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"

    FontPath    "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath    "/usr/share/fonts/truetype"
    FontPath    "/usr/X11R6/lib/X11/fonts/misc"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi"

#    ModulePath "/usr/XF86-DRI/lib/modules"
EndSection


Section "Module"
    Load        "dbe"
    Load        "type1"
    Load        "freetype"
    Load        "extmod"
#    Load       "glx"
#    Load       "dri"

# You can load other modules as well of course
EndSection


Section "ServerFlags"
    Option      "blank time"    "5"
    Option      "standby time"  "7"
    Option      "suspend time"  "10"
    Option      "off time"      "15"
EndSection


Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "keyboard"
    Option      "AutoRepeat"    "500 5"
    Option      "XkbDisable"
    Option      "XkbOptions"    "ctrl:nocaps"
    Option      "XkbRules"      "xfree86"
    Option      "XkbModel"      "macintosh"
#    Option     "XkbLayout"     "us"
#    Option     "XkbVariant"    ""
#    Option     "XkbOptions"    ""
EndSection


Section "InputDevice"
    Identifier  "Keyboard2"
    Driver      "keyboard"
    Option      "AutoRepeat"    "500 5"
    Option      "XkbDisable"
    Option      "XkbOptions"    "ctrl:nocaps"
    Option      "XkbRules"      "xfree86"
    Option      "XkbModel"      "pc"
#    Option     "XkbLayout"     "us"
#    Option     "XkbVariant"    ""
#    Option     "XkbOptions"    ""
EndSection


# ADB mouse
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol"      "BusMouse"
    Option      "Device"        "/dev/mouse"
EndSection

# USB mouse
Section "InputDevice"
    Identifier  "Mouse2"
    Driver      "mouse"
    Option      "Protocol"      "IMPS/2"
    Option      "Device"        "/dev/mouse"
    Option      "Buttons"       "5"
    Option      "ZAxisMapping"  "4 5"
EndSection

#TrackBall
# Section "InputDevice"
#     Identifier        "Mouse3"
#     Driver    "mouse"
# #    Option   "Protocol"      "ThinkingMousePS/2"
#     Option    "Protocol"      "IMPS/2"
#     Option    "Device"        "/dev/mouse"
#     Option      "Buttons"       "3"
# EndSection


Section "Monitor"
    Identifier  "PowerBook Display"
    HorizSync   30-64         # multisync
    VertRefresh 50-100        # multisync
    Option      "dpms" "on"

    Mode "1024x768"
        # D: 78.740 MHz, H: 60.015 kHz, V: 75.019 Hz
        DotClock 78.741
        HTimings 1024 1058 1154 1312
        VTimings 768 769 772 800
        Flags    "+HSync" "+VSync"
    EndMode
EndSection


Section "Monitor"
   Identifier      "Viewsonic21"
   VendorName      "Viewsonic"
   ModelName       "Unknown"
   HorizSync       30-82
   VertRefresh     50-150
#    Mode "1024x768"
#       DotClock 85.00
#       HTimings  1024 1076 1196 1356 
#       VTimings 768 780 783 823
#       Flags    "+HSync" "+VSync"
#   EndMode
#   Mode  "1280x1024" 
#       DotClock 110.00
#       HTimings 1280 1368 1552 1720 
#       VTimings 1024 1025 1028 1078
#       Flags    "+HSync" "+VSync"
#   EndMode
#    Modeline  "1200x900"  100.00 1200 1259 1418 1554 900 901 911 940
#    Modeline  "1152x864"   92.00 1152 1208 1368 1506 864 865 875 911
#    Modeline  "800x600"    60.75 800 852 916 1060 600 604 609 637 -hsync -vsync
#    Modeline  "640x480"    36.00 640 680 736 860 480 481 484 513 -hsync -vsync
EndSection

Section "Device"
    Identifier  "Rage128 LCD"
    Driver      "r128"
    BusID       "PCI:0:16:0"
    Option      "UseFBDev"

# Remove this option if there is AGP GART support
    Option      "ForcePCIMode"

# Enable flat panel (especially for Pismos)
#     Option      "ProgramFPRegs" "No"
#     Option    "EnableFP"
#     Option    "PanelX" "1024"
#     Option    "PanelY" "768"

    Option      "XAANoDashedBresenhamLine"
EndSection

Section "Device"
    Identifier  "Rage128 External"
    Driver      "r128"
    BusID       "PCI:0:16:0"
    Option      "UseFBDev"

# Remove this option if there is AGP GART support
    Option      "ForcePCIMode"

    Option      "XAANoDashedBresenhamLine"
EndSection


Section "Screen"
    Identifier  "LCD Screen"
    Device      "Rage128 LCD"
    Monitor     "PowerBook Display"
    DefaultDepth 24

# Only depth 16 and 24 (fbbpp 32) are supported for DRI
    SubSection "Display"
        Depth           16
        Modes            "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth           24
        Fbbpp           32
        Modes           "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier  "Viewsonic21"
    Device      "Rage128 External"
    Monitor     "Viewsonic21"
    DefaultDepth 24

    SubSection "Display"
          Depth         8
          Modes         "1024x768" "1280x1024" "800x600" "640x480"
    EndSubSection

# Only depth 16 and 24 (fbbpp 32) are supported for DRI
#     SubSection "Display"
#         Depth         16
#         Modes         "1280x1024" "1024x768" "800x600" "640x480"
#     EndSubSection
    SubSection "Display"
          Depth         24
          Fbbpp         32
          Modes         "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection


Section "ServerLayout"
    Identifier  "Laptop Only"
    Screen      "LCD Screen"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier  "External"
    Screen      "Viewsonic21"
    InputDevice "Mouse1" "SendCoreEvents"
    InputDevice "Mouse2" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Reply via email to