Subject: re: anyone with a working XF86Config for an iBook?
To: port-macppc@NetBSD.org, Matthieu Herrb <matthieu.herrb@laas.fr>
From: M L Riechers <mlr@rse.com>
List: port-macppc
Date: 04/21/2004 11:51:36
On Tue, 20 Apr 2004 22:10:31 +0200, Matthieu Herrb
<matthieu.herrb@laas.fr> wrote:
> Try the attached patch, from Rock Linux.
>
> --
> Matthieu
Yessss!!! You rock, dude! It worketh muchly.
Also, nice to know we guessed correctly: it was the PLL
values. Apropos of these things, any advice on how to properly
determine PLL values? Or steer us in the right direction?
Now, I have the XFree config file we used on our iBook. Note
Option "MonitorLayout" "LVDS"
# Option "MonitorLayout" "TMDS"
which seem to be important, but XFree seems to sense that this is
a flat panel anyway:
============ cut ====================================================
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
Load "glx"
Load "dbe"
Load "record"
Load "xtrap"
Load "speedo"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
# Option "XkbRules" "xfree86"
# Option "XkbModel" "omnikey101"
# Option "XkbLayout" "us,dvorak"
# Option "XKbOptions" "grp:ctrls_toggle"
Option "Protocol" "wskbd"
Option "Device" "/dev/wskbd0"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "wsmouse"
Option "Device" "/dev/wsmouse"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
# 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 31.5-79.0
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 49.25
# HorizSync 15-29, 30-55 # multiple ranges of sync frequencies
# HorizSync 15-29, 20-44 # multiple ranges of sync frequencies
# 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 50-100
# VertRefresh 43-72
# Modeline "1280x1024" 135.00 1280 1312 1456 1708 1024 1027 1030 1064
# ModeLine 1400x1050 122.00 1400 1448 1600 1928 1050 1052 1064 1078 +hsync +vsync
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "Linear" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "HWclocks" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "STN" # [<bool>]
#Option "UseModeline" # [<bool>]
#Option "NoStretch" # [<bool>]
#Option "LcdCenter" # [<bool>]
#Option "MMIO" # [<bool>]
#####Option "FullMMIO" # [<bool>]
#Option "SuspendHack" # [<bool>]
#Option "FixPanelSize" # [<bool>]
#Option "18BitBus" # [<bool>]
#####Option "ShowCache" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "SetMclk" # <freq>
#Option "FPClock8" # <freq>
#Option "FPClock16" # <freq>
#Option "FPClock24" # <freq>
#Option "FPMode" # [<bool>]
#Option "XaaNoScreenToScreenCopy"
#Option "XaaNoSolidFillRect"
#Option "XaaNoSolidHorVertLine"
#Option "XaaNoMono8x8PatternFillRect"
#Option "XaaNoColor8x8PatternFillRect"
#Option "XaaNoCPUToScreenColorExpandFill"
#Option "XaaNoScreenToScreenColorExpandFill"
#Option "XaaNoImageWriteRect"
#Option "XaaNoImageReadRect"
###Option "XaaNoWritePixmap"
#Option "XaaNoPixmapCache"
#Option "XaaNoOffscreenPixmaps"
Identifier "Card0"
Driver "ati"
# Option "PanelWidth" "1024"
# Option "PanelHeight" "768"
Option "MonitorLayout" "LVDS"
# Option "MonitorLayout" "TMDS"
# Option "PanelSize" "1024x768"
# Option "PanelSize" "1152x768"
# Option "device" "/dev/ttyE0"
# VendorName "ATI"
# Option "UseBIOS" "False"
# BoardName "69000"
# BusID "PCI:0:4:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 8
# SubSection "Display"
# Depth 1
# EndSubSection
# SubSection "Display"
# Depth 4
# EndSubSection
SubSection "Display"
Depth 8
# Modes "1280x1024"
# Modes "1024x896"
# Modes "2048x1536"
EndSubSection
# SubSection "Display"
# Depth 15
# EndSubSection
# SubSection "Display"
# Depth 16
# EndSubSection
# SubSection "Display"
# Depth 24
# EndSubSection
EndSection
============ \cut ====================================================
re: old business, On Sun, 18 Apr 2004 08:41:33 +0200, Rudi Ludwig
<rudihl@gmx.de>:
> I have attached two version that I've around they both should work
> on an ibook @ 500Mhz with 8 MB ATI R128...
Unfortunately, different chip. Ours is ATI Technologies Inc Radeon
Mobility M7 LW [Radeon Mobility 7 500] rev 0.
Worse, different XFree86 driver -- r128_driver (yours)
vs. radeon_driver (ours).
> ... so maybe you need
> to do minor changes different PCI than Uni-North?, ..
No, our iBook finds the PCI bus just fine without needing to note that
in the XFree config file. But, a little far fetched, but not much,
XFree could be making some assumptions about PCI bus type.
> But should give you a starter. X-Server is a 4.2.1
> If you need to continue with your version, try lowering the vertical
> frequency range, there is no need for a TFT to run faster than 50 Hz
> or even slower there. Contrary to a CRT there will be no flicker with
> these low frequencies.
Interesting.
>
>
> Rudi
I like your mac specific entries. We'll try those and see if we can
get the keyboard etc, etc to behave better.
Thanks,
-Mike
Michael L. Riechers,
Owner, M L Riechers Systems Engineering
513/844-2220 (voice) 530 Main Street
513/889-0488 (fax) Hamilton, Ohio 45013
mlr@rse.com (internet)