LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-10-2008, 09:01 AM   #1
Eupator
Member
 
Registered: May 2008
Distribution: Slackware/Slackintosh
Posts: 39

Rep: Reputation: 0
X11 on a G3 iBook (Slackintosh)


I finally got my hands on a PowerPC, and I installed Slackintosh on it. Unfortunately, X doesn't seem to want to load on it. I believe I have an iBook Dual USB, but I may not be able to distinguish it from a VRAM 16 or a late 2001 model.

In any case, I'd appreciate it if anyone could give me a push in the right direction as far as configuring X is concerned.

My xorg.conf:

Quote:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
Load "glx"
Load "GLcore"
Load "dri"
Load "dbe"
Load "xtrap"
Load "extmod"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 59-63
VertRefresh 43-95
Option "DPMS"
Modeline "1024x768" 80.50 1024 1060 1156 1348 768 781 784 820 +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 "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "ForcePCIMode" # [<bool>]
#Option "CCEPIOMode" # [<bool>]
#Option "CCENoSecurity" # [<bool>]
#Option "CCEusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnablePageFlip" # [<bool>]
#Option "Display" # <str>
#Option "PanelWidth" # <i>
#Option "PanelHeight" # <i>
#Option "ProgramFPRegs" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "VideoKey" # <i>
#Option "ShowCache" # [<bool>]
#Option "VGAAccess" # [<bool>]
Identifier "Card0"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "Rage Mobility M3 AGP 2x"
BusID "PCI:0:16:0"
Option "UseFBDev" "false"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
My lspci output:

Quote:
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc Rage Mobility M3 AGP 2x (rev 02)
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea PCI
0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Pangea Mac I/O
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo/Pangea USB
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Pangea USB
0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea Internal PCI
0002:20:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth/Pangea FireWire
0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth/Pangea GMAC (Sun GEM) (rev ff)
And the stderr from X:

Quote:
xauth: creating new authority file /root/.serverauth.2617


X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Slackware 12.0 Slackware Linux Project
Current Operating System: Linux snapple 2.6.21.5 #1 PREEMPT Fri Jun 15 07:12:06 CEST 2007 ppc
Build Date: 19 May 2007
Before reporting problems, check X.Org Wiki - Home
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri May 9 06:38:28 2008
(==) Using config file: "/etc/X11/xorg.conf"
(WW) ****INVALID IO ALLOCATION**** b: 0xf0000400 e: 0xf00004ff correcting
(EE) end of block range 0xefffffff < begin 0xf0000000
(EE) R128(0): Cannot read V_BIOS (5)
(II) Module already built-in
(II) Module already built-in

Fatal server error:
could not open default font 'fixed'
giving up.

xinit: Connection reset by peer (errno 104): unable to connect to X server

xinit: No such process (errno 3): Server error.
Thanks in advance.
 
Old 05-11-2008, 01:49 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Have you tried running 'xorgsetup' or 'xorgcfg' ? I know Slackintosh must have at least xorgcfg.
 
Old 05-11-2008, 05:18 PM   #3
Eupator
Member
 
Registered: May 2008
Distribution: Slackware/Slackintosh
Posts: 39

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by H_TeXMeX_H View Post
Have you tried running 'xorgsetup' or 'xorgcfg' ? I know Slackintosh must have at least xorgcfg.
Both. Unfortunately, I've had no luck with either. The above is a modified version of the xorgsetup output.
 
Old 05-12-2008, 10:38 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Hmm, I think this might be the problem:

Code:
Fatal server error:
could not open default font 'fixed'
giving up.
I wonder if that font is properly installed.
You can find it like it says here:
http://www.debianhelp.org/node/1218#comment-1175

This can also be caused if your disk is full:
http://www.linuxquestions.org/questi...t-fixed-11099/

Last edited by H_TeXMeX_H; 05-12-2008 at 10:40 AM.
 
Old 05-13-2008, 08:22 AM   #5
Eupator
Member
 
Registered: May 2008
Distribution: Slackware/Slackintosh
Posts: 39

Original Poster
Rep: Reputation: 0
Smile Solved!

I ended up fixing it by another route.

Slackintosh hasn't yet caught up with Slack 12.1, so I downloaded the Slack 12.1 X11 source, changed the compile tag to "-powerpc," and built the upgrade. I'm happy to report that I'm using xfce right now. All that remain are a few minor things, like right-click support.
 
Old 05-16-2008, 04:42 AM   #6
sid77
LQ Newbie
 
Registered: Mar 2008
Distribution: Slackintosh 12.1/current Slackware 13.0 Slackware64 13.0
Posts: 19

Rep: Reputation: 0
The upgrade shouldn't have been necessary, however if it worked out it's ok
mouse buttons emulation tips here: http://wiki.workaround.ch/kakiwaki/wk.jsp?P='Keyboard'
 
Old 05-18-2008, 06:47 PM   #7
Eupator
Member
 
Registered: May 2008
Distribution: Slackware/Slackintosh
Posts: 39

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sid77 View Post
The upgrade shouldn't have been necessary, however if it worked out it's ok
mouse buttons emulation tips here: http://wiki.workaround.ch/kakiwaki/wk.jsp?P='Keyboard'
Hmm. Unfortunately, neither sysctl nor xmodmap seem to be solving my right click issues. Both register my commands, but neither seem to have any effect.
 
Old 05-19-2008, 01:35 AM   #8
sid77
LQ Newbie
 
Registered: Mar 2008
Distribution: Slackintosh 12.1/current Slackware 13.0 Slackware64 13.0
Posts: 19

Rep: Reputation: 0
no, it works: double check your configuration
personally, I don't use the xmodmap solution proposed there and I just bind F11 and F12 to central and right mouse buttons, maybe you could try using just sysctl alone too.
 
Old 05-19-2008, 11:47 AM   #9
Eupator
Member
 
Registered: May 2008
Distribution: Slackware/Slackintosh
Posts: 39

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sid77 View Post
no, it works: double check your configuration
personally, I don't use the xmodmap solution proposed there and I just bind F11 and F12 to central and right mouse buttons, maybe you could try using just sysctl alone too.
Quote:
Originally Posted by /etc/sysctl.conf
dev.mac_hid.mouse_button_emulation = 1
dev.mac_hid_mouse_button2_keycode = 95
dev.mac_hid_mouse_button3_keycode = 96
sysctl -p


syctl outputs the contents of /etc/sysctl.conf upon execution. I've checked the keycodes with xev, and still no dice.
 
Old 05-20-2008, 05:07 AM   #10
sid77
LQ Newbie
 
Registered: Mar 2008
Distribution: Slackintosh 12.1/current Slackware 13.0 Slackware64 13.0
Posts: 19

Rep: Reputation: 0
Quote:
Originally Posted by Eupator View Post
I've checked the keycodes with xev
xev (X EVents) is for X11 enviroments, it will not report you correct sysctl keycodes for both console and X11.
F11 and F12 are mapped to 87 and 88, try using the showkey command if avalaible (I don't recall the exact name, sorry).
 
Old 05-20-2008, 11:14 AM   #11
Eupator
Member
 
Registered: May 2008
Distribution: Slackware/Slackintosh
Posts: 39

Original Poster
Rep: Reputation: 0
Ha. That fixed it :P. Thanks.
 
  


Reply

Tags
g3, ibook, slackintosh, x11, xorg



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bindings for mouse buttons in first generation ibook , using slackintosh help slack*****user Linux - Newbie 1 02-17-2008 06:03 PM
Slackintosh on iMac n00bified Linux - Distributions 1 09-21-2007 02:10 AM
x problem after install of slackintosh on ibook uniphil Slackware 3 07-29-2007 08:35 AM
Slackintosh, yes you read right... Cynagen Linux - Laptop and Netbook 12 12-05-2005 01:51 PM
slackintosh carboncopy Slackware 1 01-26-2004 08:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration