IMac xorg.conf

From SifWiki

Jump to: navigation, search

I've just spent ages trying to get an iMac running Gentoo Linux 2004.3 setup to run Xorg and GNOME - There seems to be a complete dearth of information on the net on the specifications for this particular machine, I couldn't find monitor vertical or horizontal refresh rates, sync settings etc or anything. The machine is as follows:

flowerpower root # uname -a
Linux flowerpower 2.6.9-gentoo-r1-g4 #3 Fri Dec 10 19:07:02 GMT 2004 ppc 750CXe PowerMac4,1 GNU/Linux
flowerpower root # cat /proc/cpuinfo 
processor       : 0
cpu             : 750CXe
temperature     : 23-25 C (uncalibrated)
clock           : 500MHz
revision        : 34.20 (pvr 0008 2214)
bogomips        : 995.32
machine         : PowerMac4,1
motherboard     : PowerMac4,1 MacRISC2 MacRISC Power Macintosh
detected as     : 256 (iMac "Flower Power")
pmac flags      : 00000001
L2 cache        : 256K unified
memory          : 576MB
pmac-generation : NewWorld

flowerpower root # lspci
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea AGP
0000:00:10.0 Display controller: ATI Technologies Inc Rage 128 Pro Ultra TR
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea PCI
0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Pangea Mac I/O
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo/Pangea USB
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Pangea USB
0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea Internal PCI
0002:20:0e.0 Class ffff: Apple Computer Inc. UniNorth/Pangea FireWire (rev ff)
0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth/Pangea GMAC (Sun GEM)

Hopefully that'll allow someone else to identify the machine, it seems to be basically the same hardware as an iMac DV and I think they were sold as "Flower Power", "Snow" and something else along those lines... Either way, here's the /etc/X11/xorg.conf I'm now using, hopefully it'll be of use to others...

# File originally generated by xorgconfig and then tweaked to 
# work by John Baxendale / http://www.siftah.co.uk
# Kernel commandline is: video=aty128fb

Section "Module"
    Load        "dbe"
	    SubSection  "extmod"
    	  Option    "omit xfree86-dga"
    	EndSubSection
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
EndSection

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

Section "ServerFlags"
# Nothing here.
EndSection

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc105"
    Option "XkbLayout"	"gb"
EndSection

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/input/mice"
    Option "Emulate3Buttons"
EndSection

Section "Monitor"
    Identifier  "iMacDV"
	HorizSync 60-60
	VertRefresh 60-75
	Modeline "1024x768" 78.740 1024 1056 1152 1312 768 769 772 800  HSync  VSync
EndSection

Section "Device"
    Identifier  "Rage128 TR Ultra AGP"
    Driver      "r128"
    VideoRam    16384
    Option "UseFBDev"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Rage128 TR Ultra AGP"
    Monitor     "iMacDV"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
    Mode 0666
EndSection

I hope that helps others, it's not great but at least it gets you up and running.

Personal tools