PDA

View Full Version : Powerbook 17" (5,7) setup issues


arnaudsj
28th May 2006, 04:16 PM
Hi,

I am new to Fedora Core and I have run successfully Gentoo & Ubuntu Dapper on my powerbook in the past year, but I have decided to try to run FC5 because all the development that I do ends up running on RHEL 4/CentOS 4 servers, so I figured it would be much easier to work on the same core distro (plus I really like yum :)

Anyway, after running the FC5 install from the DVD in text mode (because the standard graphic one would display a black screen), I managed to login, run all the updates, but I can't fire X using startX (black screen again), nor can I run system-config-display (black screen again). So I wondered if there is any ressource that I missed that showed how to get X on FC5 running on a Powerbook 17' (Alu).

Here is the 2 Xorg.conf I tried so far (the first one is generated by FC5, the second by YDL Xauth which I grabbed from 4.1 YDL repos and installed with no problems):


# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.

FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "yes"
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "ati"
VendorName "Videocard vendor"
BoardName "ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]"
Option "UseFBDev" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection




Now the one YDL Xauth generated:

# File generated by Xautoconfig.
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# RgbPath is 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.

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

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "freetype"
Load "type1"
#Load "dri"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.
Option "XkbRules" "xfree86"
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"
ModelName "Monitor Model"
Option "DPMS"
HorizSync 30-130
VertRefresh 50-160

EndSection

Section "Device"
Identifier "Card0"
### Available Driver options are:-
#Option "SWcursor"
Option "HWcursor"
#Option "PciRetry"
#Option "NoAccel"
#Option "ShadowFB" "true"
Option "fbdev" "/dev/fb0"
Driver "radeon"
BusID "PCI:0:16:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 8
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection


Thank you in advance for any tips/clues!

Cheers!

Sébastien

P.S. I have also an PCMCIA Atheros based wireless card which worked great under Gentoo & Ubuntu, and I wondered as well if anybody had any sucess setting that up (if anybody got Airport Extreme to work, that would be even nicer;)

AliasN
28th May 2006, 10:51 PM
I'd suggest first backing up both configs, then replacing the FC5's Monitor and Card sections with YDL's. If not that, then try these (try using these suggestions seperately and together):
1. switching the line that says "ati" (in the Device Card0 section) to "radeon".
2. Commenting out the line that says UseFBDev
3. Adding the line BusID "PCI:0:16:0" at the bottom of the Device Card0 section (this should definately be there, either way, on a PPC system)
4. Replacing the Monitor's HorizSync and VertRefresh with YDL's values

arnaudsj
29th May 2006, 03:26 PM
Thanks AliasN, I had tried already most of those tricks without any success.

What did work was to take the YDL config and replace the driver from ati to fbdev. Now X is running, I am not sure yet why ati or radeon don't work in FC5 though, if anybody has any idea that might still be useful.

In the meanwhile, I also got madwifi running so wireless now works as well!

Now I am off to have fun to get some of the rest of the stuff running (pbbuttons, right click shortcut, etc...)

Cheers!

Sebastien