Subject: X Help...Pismo, Del E770p Monitor
To: None <port-macppc@netbsd.org>
From: Greg Evans <greg.evans7@verizon.net>
List: port-macppc
Date: 10/08/2005 17:26:47
So, My backlight is out on the LCD but X is working on the LCD :), I  
have on one on order and am going to attempt surgery when it arrives  
Tue./Wed. (Wish me luck on that :) )...In the mean time I would like  
to run X on my Dell Monitor.

I went to the Dell website and grabbed these specs:

Horizontal Scan Range: 30-70 kHz (automatic)
Vertical Scan Range: 50-160 Hz (automatic)
Optimal Preset Resolution: 1024 x 768 @ 85 Hz
Highest Preset Resolution: 1024 x 768 @ 85 Hz
Highest addressable resolution: 1280 x 1024 @ 60 Hz

Preset Display Modes
Display Mode                HFreq        VFreq        Pixel  
Clock        Sync Polarity
IBM, VGA2, 720x400      31.5            70.1             
28.3                    -/+
IBM,VGA3,640x480        31.5            59.9             
25.2                    -/+
VESA,640x480                37.5            75.0             
31.5                    -/-
VESA,640x480                43.3            85.0             
36.0                    -/-
VESA,800x600                46.9            75.0             
49.5                    +/+
VESA,800x600                53.7            85.1             
56.3                    +/+
VESA,1024x768              60.0            75.0             
78.8                    +/+
VESA,1024x768              68.7            85.0             
94.5                    +/+

I ran X -configure and got the resulatant XF86config as:

Section "ServerLayout"
         Identifier     "XFree86 Configured"
         Screen      0  "Screen0" 0 0
         InputDevice    "Mouse0" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
         RgbPath      "/usr/X11R6/lib/X11/rgb"
         ModulePath   "/usr/X11R6/lib/modules"
         FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
         FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
         FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
         FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
         FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
         FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
         Load  "extmod"
         Load  "glx"
         Load  "dbe"
         Load  "record"
         Load  "xtrap"
         Load  "type1"
         Load  "speedo"
EndSection

Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "keyboard"
EndSection

Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
         Option      "Protocol" "wsmouse"
         Option      "Device" "/dev/wsmouse"
EndSection

Section "Monitor"
         Identifier   "Monitor0"
         VendorName   "Monitor Vendor"
         ModelName    "Monitor Model"
EndSection

Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "NoAccel"                   # [<bool>]
         #Option     "SWcursor"                  # [<bool>]
         #Option     "Dac6Bit"                   # [<bool>]
         #Option     "Dac8Bit"                   # [<bool>]
         #Option     "Display"                   # <str>
         #Option     "PanelWidth"                # <i>
         #Option     "PanelHeight"               # <i>
         #Option     "ProgramFPRegs"             # [<bool>]
         #Option     "UseFBDev"                  # [<bool>]
         #Option     "VideoKey"                  # <i>
         #Option     "ShowCache"                 # [<bool>]
         Identifier  "Card0"
         Driver      "ati"
         VendorName  "ATI Technologies Inc"
         BoardName   "Rage Mobility M3 AGP 2x"
         BusID       "PCI:0:16:0"
EndSection

Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor0"
         SubSection "Display"
                 Viewport   0 0
                 Depth     1
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     4
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     8
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     15
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     16
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     24
         EndSubSection
EndSection


I then ran 'startx' and I get a nice black display (green light) 3  
times and then I get the orange light on the monitor (presumably it  
is not sync'ing properly).

I tried adding 'Modes "1024x768" "800x600" "640x480"' to each  
'SubSection "Display"' as I saw in a normal XF86config, but that  
didn't work.

Anyone have any good ideas for me here?

Thanks,
Greg