Subject: 2 Questions...
To: None <port-macppc@netbsd.org>
From: Greg Evans <greg.evans7@verizon.net>
List: port-macppc
Date: 10/05/2005 02:44:18
HI again, thanks to everyone here to start with, you guys are always  
a huge help :) I will drop a little note to whomever would be  
appropriate about some recent experiences I have had :)  On with the  
questions.

I have just upgraded my entire system to NetBSD 2.1RC5 and compiled a  
kernel with 'options OFB_FAKE_VGA_FB' as suggested by Michael  
Lorenz. :) Interestingly enough the 'dead' powerbook screen doesn't  
seem quite 'dead' but I am not sure what I need to fix it so that it  
is working properly again. Maybe someone here knows?  What happens is  
that it turns 'pink' when I turn the computer on and then the pink  
goes away and I get a nice console. I can start X or gdm from here  
but after a while (I have not timed it) the screen goes to black as  
if the backlights just stopped working. I am not sure if it is the  
LCD itself or the inverter board, or something else entirely. Anyone  
here have this experience before and repair it?

Second part of my question is that since the screen is seemingly  
'flakey' at best, I need to connect this machine to an external  
monitor. At present time, I am unable to get this working. X (or gdm)  
starts and my screen goes black. :(  I currently have 2 screens that  
I am working with.

Monitor 1:
Model: Compaq MV540
Max Resolution: 1024x768
Sync Type: Seperate
H Freq: 31.5-54
V Freq 50-120

'gtf 1024 768 60' for the Compaq is:
Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772  
795  -HSync +Vsync

Monitor 2:
Model: Dell E770p
Max Resolution: 1280x1024 @ 60Hz
Highest Preset Resolution: 1024x768 @ 85Hz
Optimal Preset Resolution: 1024x768 @ 85Hz

'gtf 1024 768 85' for the Dell is:
Modeline "1024x768_85.00"  94.39  1024 1088 1200 1376  768 769 772  
807  -HSync +Vsync

My "Device" "Monitor" and "Screen" sections in the XF86config file (/ 
etc/X11/XF86config) are:

Section "Monitor"
         Identifier   "Monitor"
         VendorName   "Generic"
         ModelName    "DELL"
# Adjust those to your monitor or it will be destroyed !!
#        HorizSync    15-99
#       HorizSync       31.5-54 #Compaq
         HorizSync       30-70 #DELL
#        VertRefresh  30-190
#       VertRefresh     50-120 #Compaq
         VertRefresh     50-160 #DELL
#       Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768  
769 772 795  -HSync +Vsync #Compaq
         Modeline "1024x768_85.00"  94.39  1024 1088 1200 1376  768  
769 772 807  -HSync +Vsync #DELL
#       This mode line can be used on the Ti PBG4
#       Modeline "1152x768" 64.995 1152 1213 1349 1472  768 771 777  
806 -HSync -VSync
#       This mode line can be used on the ibook
#        ModeLine "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806
EndSection


Section "Device"
         Identifier  "Card0"
         Driver      "r128"
         VendorName  "ATI"
         BoardName   "Rage 128 Pro PF"
         BusID       "PCI:0:16:0"
         Option      "PanelWidth"  "1024"
         Option      "PanelHeight" "768"
EndSection

Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor"
         DefaultDepth 24
         SubSection "Display"
                 Depth     8
                 Modes "1024x768"
                 Modes "800x600"
         EndSubSection
         SubSection "Display"
                 Depth     16
                 Modes     "1024x768"
                 Modes     "800x600"
         EndSubSection
         SubSection "Display"
                 Depth     24
                 Modes     "1024x768"
                 Modes     "800x600"
         EndSubSection

Am not quite sure what I am doing incorrectly here, but I figure  
somebody here might know based on the information given. I am happy  
to give more if needed :)

Thanks in advance

Greg