Subject: 17" widescreen G4 X config
To: None <port-macppc@netbsd.org>
From: Andreas Moschos <a_moschos@yahoo.com>
List: port-macppc
Date: 07/12/2007 09:58:58
I am posting this as a feature reference for people
with simillar models on how to configure a proper
XF86config file.

scanpci tells me i am using:
pci bus 0x0000 cardnum 0x10 function 0x00: vendor
0x1002 device 0x4e50
 ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]

at the moment my userland is 3.1 and the kernel
4.99.22

it is obvious by the subject that i am using a G4
laptop (1.33 Ghz) with 17" widescreen LCD.
(powerbook 5,3 in of)

my /etc/X11/XF86Config looks like this:

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      "kbd"
        Option      "Protocol" "wskbd"
        Option      "Device" "/dev/wskbd"
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"
        #Option     "NoAccel"                  
        #Option     "SWcursor"                 
        #Option     "Dac6Bit"                   
        #Option     "Dac8Bit"                   
        #Option     "PanelOff"                  
        #Option     "DDCMode"                   
        #Option     "MonitorLayout"            
        #Option     "IgnoreEDID"                
        #Option     "OverlayOnCRTC2"            
        #Option     "CloneMode"                 
        #Option     "CloneHSync"                
        #Option     "CloneVRefresh"             
        #Option     "UseFBDev"                  
        #Option     "VideoKey"                  
        #Option     "DisplayPriority"           
        #Option     "PanelSize"                 
        #Option     "ForceMinDotClock"          
        Option     "iBookHacks" "on"            
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV350 [Mobility Radeon 9600 M10]"
        BusID       "PCI:0:16:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Modes "1440x900"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

in the case you are using wscons and have
wsmoused=YES
in your rc.conf file disable it.I could not get X work
while wsmoused was running.

this config works with or without wscons.

the only problem i am having at the moment is some
kind of lines and "snow" when i move X windows around
at the top of the screen.


       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting