Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-ppc-user
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Phil Cryer <phil@...>
From: Alvaro Zuniga <alvaro@...>
Subject: Re: Gentoo 1-4.rc7 LiveCD on a 350Mhz iMac - X trouble
Date: Tue, 03 Jun 2003 13:05:47 -0500
Hi Phil,

I am attaching a configuration file that I  saved while running 
Yellowdog. I was trying Debian and Mandrake and I could not get X going 
on neither of those. Yellowdog and Gentoo were the two I could use.

Notice that this XF86config is for a G4 with the Apple studio display. 
However, it has some modelines specific to the imac. Also, did you try 
the conmmand:

    XFree86 -configure

This is what the man pages say about it and it worked great on my computer.

       -configure
               When this option is specified, the X  server  loads  all  
video
               driver  modules,  probes for available hardware, and 
writes out
               an initial XF86Config(5x) file  based  on  what  was  
detected.
               This  option currently has some problems on some 
platforms, but
               in most cases it is a good way to bootstrap  the  
configuration
               process.   This option is only available when the server 
is run
               as root (i.e, with real-uid 0).

After you do this you might want to check for your mouse because as I 
recall the imac has a USB mouse. The input device under Gentoo is 
/dev/input/mice.

Good luck,

Alvaro Zuniga

Phil Cryer wrote:

>I downloaded and burned the live GentooPPC with Gnome.  Tried it out on my
>daughters 350Mhz (slot loading) iMac with 512Megs RAM.  Disk boots up fine and
>get's into Gentoo (so nice to see on her little iMac), but once I get done
>running Xeasyconf, I can't get X running.  No screens found regardless of how
>many times I try/retry to configure the video.  Does anyone have this running? 
>What settings were used?
>
>It's very exciting to have this option, should be fun to start mailing my
>Maconly friends some cdrs with this for them to try out.  I'm planning on trying
>it out here at work today on a dual 800 box too.
>
>Thanks
>P
>
>  
>

# XF86Config-4 (XFree86 server configuration file) generated by Yi, the
# Yellow Dog Linux installation tool.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

	RgbPath	    "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, YDL 2.0 and later now use a font server independent of
# the X server to render fonts.

	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
   FontPath "/opt/ttfonts"
	FontPath	"/usr/lib/X11/fonts/misc:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/default/TrueType"
	FontPath	"/usr/share/fonts/default/Type1"
#        FontPath "/usr/share/fonts/default/TrueType"
#        FontPath "/usr/share/fonts/default/Type1"
#        FontPath "/usr/share/fonts/ISO8859-2/misc:unscaled"
#        FontPath "/usr/share/fonts/ISO8859-2/100dpi:unscaled"
#        FontPath "/usr/share/fonts/ISO8859-2/75dpi:unscaled"
#        FontPath "/usr/share/fonts/ISO8859-2/misc"
#        FontPath "/usr/share/fonts/ISO8859-2/Type1"
#        FontPath "/usr/share/fonts/ISO8859-2/100dpi"
#        FontPath "/usr/share/fonts/ISO8859-2/75dpi"
#        FontPath "/usr/share/fonts/ISO8859-7/misc:unscaled"
#        FontPath "/usr/share/fonts/ISO8859-7/100dpi:unscaled"
#        FontPath "/usr/share/fonts/ISO8859-7/75dpi:unscaled"
#        FontPath "/usr/share/fonts/ISO8859-7/misc"
#        FontPath "/usr/share/fonts/ISO8859-7/Type1"
#        FontPath "/usr/share/fonts/ISO8859-7/100dpi"
#        FontPath "/usr/share/fonts/ISO8859-7/75dpi"
#        FontPath "/usr/share/fonts/ISO8859-9/misc:unscaled"
#        FontPath "/usr/share/fonts/ISO8859-9/100dpi:unscaled"
#        FontPath "/usr/share/fonts/ISO8859-9/75dpi:unscaled"
#        FontPath "/usr/share/fonts/ISO8859-9/misc"
#        FontPath "/usr/share/fonts/ISO8859-9/100dpi"
#        FontPath "/usr/share/fonts/ISO8859-9/75dpi"
#        FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
#        FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
#        FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
#        FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
EndSection

Section "Module"
	Load  "GLcore"
	Load  "dbe"
	#Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "ddc"
	Load  "bitmap"
	Load  "freetype"
	Load  "speedo"
	Load  "type1"
	Load  "vbe"
	Load  "int10"
EndSection

Section "InputDevice"
	Identifier	"Keyboard0"
	Driver		"keyboard"

	Option "Protocol"	"Standard"

	Option "AutoRepeat"	"250 30"

	Option "LeftAlt"	"Meta"
	Option "RightAlt"	"Meta"
	Option "ScrollLock"	"Compose"
	Option "RightCtl"	"Control"

        # XkbModel no longer used in XF 4.1.0
	#Option "XkbModel"	"macintosh"
	Option "XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Mouse0"
	Driver		"mouse"
	Option		"ZAxisMapping" "4 5"
	Option		"Protocol" "IMPS/2"
	Option		"Device" "/dev/input/mice"
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	VendorName	"Unknown"
	ModelName	"Unknown"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

	HorizSync	 30-85

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

	VertRefresh	 48-160


# Modes can be specified in two formats.  A compact one-line format, or
# a multi-line format.

# These two are equivalent

#    ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace

#    Mode "1024x768i"
#        DotClock       45
#        HTimings       1024 1048 1208 1264
#        VTimings       768 776 784 817
#        Flags          "Interlace"
#    EndMode

# This is a set of standard mode timings. Modes that are out of monitor spec
# are automatically deleted by the server (provided the HorizSync and
# VertRefresh lines are correct), so there's no immediate need to
# delete mode timings (unless particular mode timings don't work on your
# monitor). With these modes, the best standard mode that your monitor
# and video card can support for a given resolution is automatically
# used.


# 1024x768 @ 87 Hz interlaced, 35.5 kHz hsync
Modeline "1024x768"    44.9  1024 1048 1208 1264   768  776  784  817 Interlace

# 1024x768 @ 60 Hz, 48.4 kHz hsync
Modeline "1024x768"    65    1024 1032 1176 1344   768  771  777  806 -hsync -vsync

Modeline "1024x768"    75    1024 1048 1184 1328   768  771  777  806 -hsync -vsync
# 1280x1024 @ 87 Hz interlaced, 51 kHz hsync
Modeline "1280x1024"   80    1280 1296 1512 1568  1024 1025 1037 1165 Interlace

# 1280x1024 @ 61 Hz, 64.2 kHz hsync
Modeline "1280x1024"  110    1280 1328 1512 1712  1024 1025 1028 1054

# 1024x768 @ 85 Hz, 70.24 kHz hsync
Modeline "1024x768"   98.9  1024 1056 1216 1408   768 782 788 822 -HSync -VSync

# 1280x1024 @ 70 Hz, 74.59 kHz hsync
Modeline "1280x1024"  126.5 1280 1312 1472 1696  1024 1032 1040 1068 -HSync -VSync

# 1280x1024 @ 74 Hz, 78.85 kHz hsync
Modeline "1280x1024"  135    1280 1312 1456 1712  1024 1027 1030 1064

# 1280x1024 @ 76 Hz, 81.13 kHz hsync
Modeline "1280x1024"  135    1280 1312 1416 1664  1024 1027 1030 1064

# 1280x1024 @ 85 Hz, 91.15 kHz hsync
Modeline "1280x1024"  157.5  1280 1344 1504 1728  1024 1025 1028 1072 +HSync +VSync
# 1280x1024 @ 100 Hz, 107.16 kHz hsync
Modeline "1280x1024"  181.75 1280 1312 1440 1696  1024 1031 1046 1072 -HSync -VSync

# Apple iMac modes
Modeline "800x600"    95  800  821  901 1040   600  601  604  632 +hsync +vsync
Modeline "640x480"    117 640  661  725  832   480  481  484  514 +hsync +vsync
Modeline "1024x768"   78  1024 1046 1142 1304  768  769  772  800 +hsync +vsync

# Apple PowerBook G3
Modeline "800x600"    100     800  816  824  840   600  616  624  640 -hsync -vsync

EndSection

Section "Device"
	Identifier "Card0"
	Driver "fbdev"
#  BusID		"PCI:0:16:0"
EndSection

Section "Screen"

	Identifier "Screen0"
	Device	   "Card0"
	Monitor	   "Monitor0"
	DefaultDepth 15
	SubSection "Display"
		Depth	1
	EndSubSection
	SubSection "Display"
		Depth	4
	EndSubSection
	SubSection "Display"
		Depth	8
		Modes "1280x1024" "1024x768"
		ViewPort 0 0
		Virtual	1280 1024
	EndSubSection
	SubSection "Display"
		Depth	15
		Modes "1280x1024" "1024x768"
		ViewPort 0 0
		Virtual	1280 1024
	EndSubSection
	SubSection "Display"
		Depth	16
		Modes "1280x1024" "1024x768"
		ViewPort 0 0
		Virtual	1280 1024
	EndSubSection
	SubSection "Display"
		Depth	24
		Modes "1280x1024" "1024x768"
		ViewPort 0 0
		Virtual	1280 1024
	EndSubSection
	SubSection "Display"
		Depth	32
		Modes "1280x1024" "1024x768"
		ViewPort 0 0
		Virtual	1280 1024
	EndSubSection
EndSection


--
gentoo-ppc-user@g.o mailing list
References:
Gentoo 1-4.rc7 LiveCD on a 350Mhz iMac - X trouble
-- Phil Cryer
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Gentoo 1-4.rc7 LiveCD on a 350Mhz iMac - X trouble
Next by thread:
configuring X on a PM 7500
Previous by date:
Re: Gentoo 1-4.rc7 LiveCD on a 350Mhz iMac - X trouble
Next by date:
configuring X on a PM 7500


Updated Oct 31, 2011

Summary: Archive of the gentoo-ppc-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.