Re: X on an older PPC-based Mac Mini?

[email protected] 27 May 2009 18:20:06 -0000
Newsgroups gmane.linux.gentoo.ppc
Message-ID <[email protected]>
--Multipart_Wed_May_27_14:20:06_2009-1
Content-Type: text/plain; charset=US-ASCII


I have gentoo running on two PowerMac G5s,
and have xorg-server-1.5 now mostly working.
I have two monitors on each machine --- if you have only one,
your xorg.conf could be much simpler (perhaps even removed?).
After figuring things out, I must admit that the dual-monitor set-up
using xrandr got much easier --- I never had time to get the
second monitor here connected (it is different from home),
and with the new scheme, I just transferred the essentials of the setup
from home and it worked.

I attach file for the machine I am at right now;
I believe the two remaining ``InputDevice'' lines in ``ServerLayout''
should really be removed, too.

The ``Virtual'' is only needed for xrandr (i.e., multiple monotors, or if
you want to rotate your single monitor).


Wolfram


--Multipart_Wed_May_27_14:20:06_2009-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="xorg.conf"
Content-Transfer-Encoding: quoted-printable

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	# Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
  # from XorgAutoConf:
	Load	"dbe"
	Load	"record"
	Load	"type1"
EndSection

Section "Extensions"
# 	Option "Composite"	"Disable"	# Experimental
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
 	Option 		"XkbOptions" 	"ctrl:nocaps,compose:rwin"
### Uncomment this if your layout uses nodeadkeys
	#Option		"XkbVariant"	"nodeadkeys"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"ATI Technologies Inc RV350 AR [Radeon 9600]"
	Driver		"ati"
	BusID		"PCI:240:16:0"
        Option      "Monitor-DVI-0" "VP201mb"
        Option      "Monitor-DVI-1" "SyncMaster205BW"
	# Option		"AGPMode"		"1"
	# Option		"UseFBDev"		"true"
        # Option       	"RenderAccel" 		"false"
        Option     "ReverseDDC" "True"         	# [<bool>]
EndSection

Section "Monitor"
	Identifier	"SyncMaster205BW"
	Option		"DPMS"
        Option          "LeftOf" "VP201mb"

#	HorizSync	30-82
#	VertRefresh	50-85
EndSection

Section "Monitor"
        Identifier      "VP201mb"
        Option          "DPMS"

#       HorizSync       30-82  # From ViewSonic
#       VertRefresh     50-75  # From ViewSonic
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies Inc RV350 AR [Radeon 9600]"
	Monitor		"VP201mb"
	DefaultDepth	24
##	SubSection "Display"
##		Depth		1
##		Modes		"1600x1200"
##	EndSubSection
##	SubSection "Display"
##		Depth		4
##		Modes		"1600x1200"
##	EndSubSection
##	SubSection "Display"
##		Depth		8
##		Modes		"1600x1200"
##	EndSubSection
##	SubSection "Display"
##		Depth		15
##		Modes		"1600x1200"
##	EndSubSection
##	SubSection "Display"
##		Depth		16
##		Modes		"1600x1200"
##	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1600x1200"
                Virtual         3280 1200
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
#	InputDevice     "stylus"	"SendCoreEvents"
#	InputDevice     "cursor"	"SendCoreEvents"
#	InputDevice     "eraser"	"SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection


--Multipart_Wed_May_27_14:20:06_2009-1
Content-Type: text/plain; charset=US-ASCII




--Multipart_Wed_May_27_14:20:06_2009-1--