IBook G4 12"
From ArchWiki
Hardware
Here are a few tips for setting up an iBook G4 12" (Powerbook 6,7) with Arch Linux PPC:
Go here for instructions how to install Arch Linux on a PowerPC.
└> cat /proc/cpuinfo processor : 0 cpu : 7447A, altivec supported clock : 1333.333000MHz revision : 0.5 (pvr 8003 0105) bogomips : 73.47 timebase : 18432000 platform : PowerMac machine : PowerBook6,7 motherboard : PowerBook6,7 MacRISC3 Power Macintosh detected as : 287 (iBook G4) pmac flags : 0000001b L2 cache : 512K unified pmac-generation : NewWorld
Hardware configuration: 1024 MB RAM, 40 GB HD, GPU: ATI Radeon 9550 (32 MB VRAM), Audio, Ethernet, Airport (Broadcom), Bluetooth, 2x USB, 1x Firewire, internal modem
Hardware:
- Display : ATI Radeon 9550 (32 MB VRAM), 3D Acceleration with r300 driver
- Mini-DVI out: works, xrandr is supported (xf86-video-ati)
- CPU frequency scaling : 2 steps (666 Mhz & 1333 Mhz)
- Audio: speakers, headphone out & internal microphone work with snd_aoa
- Ethernet : works with sungem
- Wifi : Airport Extreme (bcm43xx, b43)
- Bluetooth : works, make sure you set HID2HCI_ENABLE="true" in /etc/conf.d/bluetooth
- Suspend2RAM : out of the box with pbbuttonsd
- Thermal info & fan control : works with therm_adt746x
- Battery status : apm_emu
- Touchpad : works, you can also use the synaptics driver for additional functionality (scrolling etc.)
Not tested:
- Firewire : should work (driver is available)
- Modem : unknown
Modules
This is my rc.conf modules array:
MODULES=(bcm43xx snd-aoa apm-emu cpufreq-userspace therm_adt746x)
See bcm43xx on how to setup wireless. To set/get the fan speed and temperatures and limits go to
/sys/devices/temperatures/
The default temperature limit of 50°C is just fine, if you want to adjust it, echo a sensible value into limit_adjust. Note that the value is relative to the default 50°C, so use e.g. "-10" or "10" to set the limit to 40 or 60°C.
X11
Install the video and touchpad driver:
pacman -Sy xf86-video-ati synaptics
This xorg.conf enables two-finger scrolling like in OSX and allows you to do middle/right-clicks by two/three finger taps. You can also use beryl/compiz and attach an external monitor and an usb mouse.
Section "ServerLayout" Identifier "Default Layout" Screen 0 "InternalScreen" InputDevice "Synaptics" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "SendCoreEvents" EndSection Section "Extensions" Option "Composite" "Enable" EndSection Section "DRI" Mode 0666 EndSection Section "Files" RgbPath "/usr/share/X11/rgb" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/100dpi" FontPath "/usr/share/fonts/TTF" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/artwiz-fonts" EndSection Section "Module" Load "glx" Load "extmod" Load "xtrap" Load "record" Load "dbe" Load "dri" Load "ddc" Load "bitmap" Load "int10" Load "vbe" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "xfree86" Option "XkbLayout" "de" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Synaptics" Driver "synaptics" Option "Device" "/dev/input/mice" Option "Protocol" "auto-dev" Option "LeftEdge" "50" Option "RightEdge" "840" Option "TopEdge" "30" Option "BottomEdge" "320" Option "MinSpeed" "0.2" Option "MaxSpeed" "1.5" Option "AccelFactor" "0.1" Option "SHMConfig" "on" Option "RTCornerButton" "3" Option "LTCornerButton" "2" Option "FingerLow" "12" Option "FingerHigh" "20" Option "MaxTapTime" "120" Option "HorizScrollDelta" "15" Option "VertScrollDelta" "15" Option "VertEdgeScroll" "off" Option "HorizEdgeScroll" "off" Option "VertTwoFingerScroll" "on" Option "HorizTwoFingerScroll" "on" EndSection Section "Monitor" Identifier "TFT" Option "DPMS" EndSection Section "Device" Option "AGPMode" "4" Option "AGPFastWrite" "on" Option "GARTSize" "32" Option "RingSize" "8" Option "EnablePageFlip" "on" Option "AccelDFS" "on" Option "UseFBDev" "false" Option "RenderAccel" "true" Option "SubPixelOrder" "NONE" Option "DynamicClocks" "on" Option "AccelMethod" "EXA" Option "XAANoOffscreenPixmaps" "true" Option "BackingStore" "true" Option "ColorTiling" "on" Option "MacModel" "ibook" #important for dvi-out! Identifier "InternalDevice" Driver "ati" VendorName "ATI Technologies Inc" BoardName "M11 NV [FireGL Mobility T2e]" BusID "PCI:0:16:0" Screen 0 EndSection Section "Screen" Identifier "InternalScreen" Device "InternalDevice" Monitor "TFT" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1024x768" Virtual 2048 768 EndSubSection EndSection