[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SMP G4 and 22" Apple Cinema Display



How I got XFree 4.0.2 working on this machine:

* got the apple cinema display patch from 
<http://penguinppc.org/~olaf/linux-2.4.1/y_ppc_2.4.0ac6_apple_cinema.dif>

* applied the patch to the bitkeeper 2.4 kernel from
bitkeeper.fsmlabs.com

* compiled the new kernel

* rebooted, with the kernel option "video=aty128fb:vmode:22"

* installed the debian X4.0.2 packages from testing

* used the following /etc/X11/XF86Config-4:

--- snip ---

# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
#	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
#	FontPath	"/usr/lib/X11/fonts/Type1"
#	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	RGBPath		"/usr/lib/X11/rgb"
EndSection

Section "ServerFlags"
EndSection

Section "Module"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
	Load	"GLcore"
	Load	"dbe"
	Load	"glx"
	Load	"pex5"
	Load	"record"
	Load	"xie"
	Load	"bitmap"
	Load 	"type1"
	Load	"speedo"
	Load	"freetype"
	Load	"dri"
	Load	"extmod"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"XkbKeycodes"	"macintosh"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
#	Option		"XkbModel"	"pc104"
#	Option		"XkbLayout"	"us"
	Option		"XkbGeometry"	"macintosh"
	Option		"XkbSymbols"	"macintosh/us"

EndSection

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
#	Option		"CorePointer"
	Option		"Device"		"/dev/mouse"
	Option		"Protocol"		"IMPS/2"
#	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"r128"
#	Option 		"NoAccel"
	Option		"UseFBDev"
	Option		"ShadowFB"
	BusID		"PCI:0:16:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	30-120
	VertRefresh	48-160
#	Option		"DPMS"
Mode "1600x1024"
    # D: 112.259 MHz, H: 62.090 kHz, V: 59.932 Hz
    DotClock 112.260
    HTimings 1600 1722 1738 1808
    VTimings 1024 1034 1035 1036
    Flags    "+HSync" "+VSync"    # Warning: XFree86 doesn't support accel


EndMode
	
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	15
	SubSection "Display"
		Depth 15
		Modes "1600x1024"
	EndSubSection
	SubSection "Display"
		Depth 16	
		Modes "1600x1024"
	EndSubSection
	SubSection "Display"
		Depth 24
		Modes "1600x1024" "800x600"
	EndSubSection
	SubSection "Display"
		Depth 32
		Modes "800x600"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Generic Mouse" "CorePointer"
EndSection

Section "DRI"
#	Mode	0666
EndSection

# end of XF86Config

--- snip ---

Hope this information helps someone.

tew
-- 
               'Dry no plastic or rubberized articles'
                     Ted Whalen - tew@debian.org
                        <http://introvert.net>



Reply to: