Re: imac dv se display


Subject: Re: imac dv se display
From: Maurice van Steensel (mvanstee@baserv.uci.kun.nl)
Date: Sun Apr 16 2000 - 17:50:36 MDT


Ryan Simmons wrote:

> Hey i'm having a problem with getting my display to do anything above 8 bit.
> I installed ydl 1.2 from the cd and it seems to be working fine. I ran
> Xconfigurator and select the imac display. I can get it to work fine in any
> res. up to 1024X768 in 8bit. But if I try anything in 16 or 24bit it starts
> to load up but then kicks me out. Any suggestions? I would like to run it
> in 1024X768 16bit.

This is from the LinuxPPC mailing list:

On 4/9/00 7:14 AM, MAM VAN STEENSEL wrote:

>
> Hi, it's me again
>
> Got verything working like a charm on the iBook and the sawtooth. Now for
> the DV SE. LinuxPPC installed w/out problems and I can boot with yaboot
> 0.5. So far so good. However, I get only 8 bits color in X. I read the
> thread concerning iMac DV SE clour but the remedies suggested there do not
> work for me. Using BenH's kernel passing it novideo option and the
> Xpmac.special server I get all these funny colors. Using startx -- -mode
> 17 -depth 16 doesn't make any difference. Tried loads of different
> kernel/Xpmac confiurations but to no avail. It has me baffled so to speak.
> How can I solve this?
>
> Thanks for any help.

I have a Sawtooth. That said, this is off another mailing list:
----------------------------------------------------------------------------
Hi,

I was able to get my iMacDV working with perfect video. Here is a short
description on how to
do it:

1. Download the all the XFree86 4.0 rpms from
<http://entropy.crashing.org/~howarth/XFree86_v4.0/>
2. Go into runlevel 3 and uninstall all previos XFree* rpm's
(rpm -e --nodeps `rpm -qa | grep XFree`)
3. Install all of the XFree86 4.0 rpms (rpm -ivh --force XFree*)
4. Install Ben's latest kernel <http://ppclinux.apple.com/~benh/>
5. reboot into runlevel 3 with the new kernel and these options (my
yaboot.conf file:)

image=hd:8,vmlinux
        label=linux
        root=/dev/hda9
        append="video=aty128fb:vmode:17,cmode:24 hdb=cdrom hdb=noautotune"

6. untar the attached xkb.tgz into /usr/X11R6/lib/X11
7. Copy the attached XF86Config into /etc/X11/
8. boot into runlevel 5

Voila! You might have to adjust your monitor positioning. The xkb
modification
enable the user of a one
button mouse to press Shit-clear and use 0 and . for middle and right
buttons.

Now for sound...
 1
Boris
----------------------------------------------------------------------------

The xkb file was over 200k, so I didn't reattach it, but the XF68Config was
only 10k, and more important, so I attached it. Good luck.

--
____________________________________________________________________________
Adam Knight                                             <ahknight@pobox.com>
AIM: AdamKnight                                                    ICQ:
3848971
____________________________________________________________________________

SLEEP: that fleeting moment just before the alarm goes off.

This should get you up and running. Good luck ;) Let me know if you solved the brightness problem.

Maurice

# File generated by xf86config.

# # Copyright (c) 1999 by The XFree86 Project, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # # Except as contained in this notice, the name of the XFree86 Project shall # not be used in advertising or otherwise to promote the sale, use or other # dealings in this Software without prior written authorization from the # XFree86 Project. #

# ********************************************************************** # Refer to the XF86Config(4/5) man page for details about the format of # this file. # **********************************************************************

# ********************************************************************** # Module section -- this section is used to specify # which dynamically loadable modules to load. # ********************************************************************** # Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection

# This loads the Type1 and FreeType font modules Load "type1" Load "freetype"

# This loads the GLX module # Load "glx"

EndSection

# ********************************************************************** # Files section. This allows default font and rgb paths to be set # **********************************************************************

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 (which are concatenated together), # as well as specifying multiple comma-separated entries in one FontPath # command (or a combination of both methods) # # If you don't have a floating point coprocessor and emacs, Mosaic or other # programs take long to start up, try moving the Type1 and Speedo directory # to the end of this list (or comment them out). #

# FontPath "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" # FontPath "/usr/X11R6/lib/X11/fonts/Type1/" # FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path. The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

# ********************************************************************** # Server flags section. # **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is # received. This may leave the console in an unusable state, but may # provide a better stack trace in the core dump to aid in debugging

# Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence # This allows clients to receive this key event.

# Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching # sequences. This allows clients to receive these key events.

# Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With # it the client can still run and fetch card and monitor attributes, # but it will not be allowed to change them. If it tries it will # receive a protocol error.

# Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

# Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device # (mouse and keyboard) settings.

# Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to # change the keyboard or mouse settings (currently only xset).

# Option "AllowNonLocalModInDev"

EndSection

# ********************************************************************** # Input devices # **********************************************************************

# ********************************************************************** # Core keyboard's InputDevice section # ********************************************************************** Section "Keyboard" Protocol "Standard" AutoRepeat 500 5 # XkbDisable

# Option "XkbRules" "xfree86" # Option "XkbModel" "pc101" # Option "XkbLayout" "us"

XkbKeycodes "macintosh" XkbTypes "default" XkbCompat "default" XkbSymbols "macintosh/us" XkbGeometry "macintosh" XkbRules "xfree86" XkbModel "macintosh" EndSection

# ********************************************************************** # Core Pointer's InputDevice section # **********************************************************************

Section "Pointer" Protocol "IMPS/2" Device "/dev/usbmouse" EndSection

# ********************************************************************** # Other input device sections # this is optional and is required only if you # are using extended input devices. This is for example only. Refer # to the XF86Config man page for a description of the options. # ********************************************************************** # # Section "InputDevice" # Identifier "Mouse2" # Driver "mouse" # Option "Protocol" "MouseMan" # Option "Device" "/dev/mouse2" # EndSection # # Section "InputDevice" # Identifier "spaceball" # Driver "magellan" # Option "Device" "/dev/cua0" # EndSection # # Section "InputDevice" # Identifier "spaceball2" # Driver "spaceorb" # Option "Device" "/dev/cua0" # EndSection # # Section "InputDevice" # Identifier "touchscreen0" # Driver "microtouch" # Option "Device" "/dev/ttyS0" # Option "MinX" "1412" # Option "MaxX" "15184" # Option "MinY" "15372" # Option "MaxY" "1230" # Option "ScreenNumber" "0" # Option "ReportingMode" "Scaled" # Option "ButtonNumber" "1" # Option "SendCoreEvents" # EndSection # # Section "InputDevice" # Identifier "touchscreen1" # Driver "elo2300" # Option "Device" "/dev/ttyS0" # Option "MinX" "231" # Option "MaxX" "3868" # Option "MinY" "3858" # Option "MaxY" "272" # Option "ScreenNumber" "0" # Option "ReportingMode" "Scaled" # Option "ButtonThreshold" "17" # Option "ButtonNumber" "1" # Option "SendCoreEvents" # EndSection

# ********************************************************************** # Monitor section # **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "iMac"

# 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 48-160

Mode "1152x870" # D: 100.000 MHz, H: 68.681 kHz, V: 75.062 Hz DotClock 100.001 HTimings 1152 1205 1333 1456 VTimings 870 873 876 915 Flags "+HSync" "+VSync" EndMode

Mode "1024x768" # D: 78.746 MHz, H: 60.020 kHz, V: 75.025 Hz DotClock 78.747 HTimings 1024 1056 1152 1312 VTimings 768 769 772 800 Flags "+HSync" "+VSync" EndMode

Mode "832x624" # D: 57.590 MHz, H: 49.992 kHz, V: 74.950 Hz DotClock 57.591 HTimings 832 885 949 1152 VTimings 624 625 628 667 Flags "-HSync" "-VSync" EndMode

Mode "1280x1024" # D: 134.989 MHz, H: 79.970 kHz, V: 75.019 Hz DotClock 134.990 HTimings 1280 1349 1461 1688 VTimings 1024 1025 1028 1066 Flags "+HSync" "+VSync" EndMode

EndSection

# ********************************************************************** # Graphics device section # **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device" Identifier "r128" Driver "r128" BusID "PCI:0:16:0" # VideoRam 16384 Option "UseFBDev" Option "HWcursor" # Option "SWcursor" # Option "noaccel" EndSection

# ********************************************************************** # Screen sections # **********************************************************************

# Any number of screen sections may be present. Each describes # the configuration of a single screen. A single specific screen section # may be specified from the X server command line with the "-screen" # option. Section "Screen" Identifier "Screen 1" Device "r128" Monitor "iMac" DefaultDepth 24 Option "BackingStore" Subsection "Display" Depth 8 Modes "1024x768" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1024x768" ViewPort 0 0 EndSubsection EndSection



This archive was generated by hypermail 2a24 : Sun Apr 23 2000 - 22:14:39 MDT