Differences between revisions 27 and 28
Revision 27 as of 2015-07-13 03:54:13
Size: 9485
Editor: ?DanDeVoto
Comment:
Revision 28 as of 2015-07-18 07:59:32
Size: 12080
Editor: ?DanDeVoto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 67: Line 67:
=== My G5's fans are at full blast. How do I fix this? ===

You can add ''i2c-powermac'' to /etc/modules. This should restore your fans to normal speeds upon reboot.
Line 69: Line 73:
Yes. ''Pbbuttonsd'', a daemon that governs hotkeys on laptops, is installed by default. Depending on your model, your hotkeys will either work alone or in conjunction with the ''fn'' key. ''Pbbuttonsd'' also governs many other laptop functions, including energy saving. You may edit /etc/pbbuttonsd.conf to change the default settings. Yes. ''Pbbuttonsd'', a daemon that governs laptop hotkeys, is pre-installed on PowerPC laptops. Depending on your model, your hotkeys will either work alone or in conjunction with the ''fn'' key. ''Pbbuttonsd'' also governs many other laptop functions, including energy saving. You may edit /etc/pbbuttonsd.conf to change the default settings.
Line 71: Line 75:
As with mouseemu, you can find your keyboard's keycodes with the ''showkey'' command in a console. As with ''mouseemu'', you can find your keyboard's keycodes with the ''showkey'' command in a console.
Line 85: Line 89:
cat /proc/pmu/battery_0 ''cat /proc/pmu/battery_0''
Line 90: Line 94:

=== Will sleep work? ===

Probably not. Suspend-to-RAM (sleep) on PowerPC is extremely buggy and likely always will be. KMS (Kernel Mode Setting) seems to be the major culprit.

As an alternative, you can use suspend-to-disk (hibernate) as long as your swap partition is at least as large as your physical RAM.

=== What about CPU frequency scaling? ===

To see if you can enable this power-saving feature, first enter the following in a terminal:

''cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies''

If you see more than one frequency, congratulations! You may use this power-saving (and fan-quieting) feature. To do so, download [[http://ftp.debian.org/debian/pool/main/p/powernowd/powernowd_1.00-1.1+b1_powerpc.deb|powernowd_1.00-1.1+b1_powerpc.deb]], and in its current directory, install with ''sudo dpkg -i powernowd_1.00-1.1+b1_powerpc.deb''. Now your CPU will dynamically throttle according to system demand.

Caveat: Powernowd is no longer supported and considered obsolete, but it still works for PowerPC users on the current kernel. An alternative is ''cpufreqd'' using the userspace governor, but it's more complicated to set up.
Line 117: Line 137:
=== How do I get a more "Mac" like interface? ===

Your best bet would be with XFCE. It comes with a dock and a top panel that can be turned into a global menubar with the add-on [[https://git.javispedro.com/cgit/topmenu-gtk.git/about/|TopMenu]] (this add-on also works with MATE).

There are many OS X GTK themes available for download at [[http://gnome-look.org/|gnome-look.org]].
Line 125: Line 151:
If you're dual-booting Mac OS 9, you may notice it can no longer boot after installing Debian. This is due to a bug in ''debian-installer'', which can be fixed with Drive Setup on your OS 9 install CD. If you're dual-booting Mac OS 9, you may notice it can no longer boot after installing Debian. This is due to the installer's partitioner somehow messing up OS 9's driver partitions, but this can be fixed with Drive Setup on your OS 9 install CD.
Line 135: Line 161:
=== Are there any Webkit browsers like Safari? ===

QupZilla and Midori are two web browsers that run on the Webkit engine. Users of these browsers must be aware, though, that they are not updated regularly with security updates. For PowerPC users, only Iceweasel receives regular security updates (Chromium does as well, but it's not available for PowerPC).
Line 147: Line 169:
=== Are there any Webkit browsers like Safari? ===

QupZilla and Midori are two web browsers that run on the Webkit engine. Users of these browsers must be aware, though, that they are not updated regularly with security updates. For PowerPC users, only Iceweasel receives regular security updates (Chromium does as well, but it's not available for PowerPC).
Line 152: Line 178:

=== I dual boot. Can I mount my Linux partition in OS X? ===

Yes. Installing [[http://code.google.com/p/macfuse/|MacFUSE]] and [[http://sourceforge.net/projects/fuse-ext2/|fuse-ext2-0.0.7]] in OS X will allow you to mount ext2/3/4 partitions in Tiger and Leopard. Using Terminal.app, you must also create a mount point in OS X's /Volumes directory and find your Linux partition number with:

''diskutil list''

Then mount the partition like this (using "disk0s5" as an example):

''sudo fuse-ext2 /dev/disk0s5 /Volumes/your-mountpoint-name''

This will give you read access, though for read/write you will need to add ''-o force''. The "force" option is a universal indicator that this feature is somewhat iffy.

To unmount:

''sudo umount /Volumes/your-mountpoint-name''

This is the FAQ for the PowerPC port.

How do I right and middle click?

As Macs have one-button mice and trackpads, Debian PowerPC addresses this by installing mouseemu, a daemon that emulates middle and right clicking to the keyboard. By default, mouseemu maps middle and right click to F10 and F11, respectively (or sometimes F11 and F12). These defaults can be changed by editing /etc/defaults/mouseemu.

Note: you can find your Mac's keycodes with the showkey command, but it must be run in a console (ctrl + alt + F1).

Also note: mouseemu will disable your Powerbook's caps lock light.

Wireless is not working

Airport Extreme:

Apple G4 iBooks and ?PowerBooks come with Broadcom chips. You will need to determine the model before you install the proper driver. Run the command lscpi |grep Wireless to find out.

You will also need the contrib and non-free repositories in your sources.list file. If you have the BCM4318 chip, for example, you would install the following package,

apt-get install firmware-b43-installer

For more help, see bcm43xx

Airport:

First generation Airport cards, such as those found in G3 laptops, G4 Titanium Powerbooks, and pre-FW 800 Power Macs, also require firmware from the non-free repository. To install, add non-free to your apt sources in /etc/apt/sources.list, then install the package firmware-linux-nonfree.

Unfortunately, first generation Airport cards do not support WPA2 encryption, only WPA. When you set your router to WPA, also set "WPA Algorithms" to TKIP, as AES also does not work with early Airport cards.

How do I get Graphics working?

ATI/Radeon:

Since Jessie KMS is on by default, now these parameters are needed at boot to get accelerated graphics working,

Linux radeon.modeset=1 video=offb:off video=radeonfb:off radeon.agpmode=-1

Once you login add these to the yaboot.conf file and update using the command ybin -v as root. See example

image=/boot/vmlinux

  • label=Linux
    read-only
    initrd=/boot/initrd.img
    append="quiet splash radeon.modeset=1 video=radeonfb:off video=offb:off video=1024x768-32 radeon.agpmode=-1"

Radeon 9000 graphics cards, however, freezes with accelerated graphics enabled. This requires turning off acceleration when KMS is enabled. This is done by enable this option in xorg.conf

Option "?NoAccel" "True"

For more help on Radeon graphics see Dan DeVoto's blog

Rage 128:

Rage 128 cards may render text garbled. As a workaround, generate a xorg.conf file, and under the Device section, set the option "?RenderAccel" to false.

Why doesn't sound work?

If sound isn't working, it may be muted by default. Open a volume utility like alsamixer and unmute the Master Volume as well as any speakers or headphones. Then turn up the Master Volume, and also the PCM level (to be kept at or below 75% to avoid distortion).

If you still don't have sound, you may need to add snd-aoa-i2sbus to /etc/modules.

A handful of Mac models (seems to be mostly G3 & G4 iBooks) have sound broken due to a bug in the 3.16 kernel. A patch that fixes this has been submitted to the kernel development team and will likely show up in a 4.xx kernel. As a temporary workaround, users experiencing this bug can downgrade to the 3.2.0-4 kernel found in oldstable.

My G5's fans are at full blast. How do I fix this?

You can add i2c-powermac to /etc/modules. This should restore your fans to normal speeds upon reboot.

Will my hotkeys work?

Yes. Pbbuttonsd, a daemon that governs laptop hotkeys, is pre-installed on PowerPC laptops. Depending on your model, your hotkeys will either work alone or in conjunction with the fn key. Pbbuttonsd also governs many other laptop functions, including energy saving. You may edit /etc/pbbuttonsd.conf to change the default settings.

As with mouseemu, you can find your keyboard's keycodes with the showkey command in a console.

How about two-finger scrolling?

Sure, provided you have compatible hardware (only late Powerbooks and iBooks). See the SynapticsTouchpad page for a start. Succinctly, create the directory /etc/X11/xorg.conf.d and add to it a synaptics.conf file with all your preferred options.

How can I monitor my battery?

If your battery isn't displaying its current charge in your battery monitor applet, try adding pmu_battery to /etc/modules.

Another way to monitor your battery is with Conky, a popular system monitor that has a special variable for PowerPC machine batteries, pb_battery. Conky's full list of variables is here.

If all else fails, you can monitor your battery in a terminal with:

cat /proc/pmu/battery_0

How do I enable my keyboard backlight?

You can enable your keyboard backlight by using a text editor to add i2c-dev to /etc/modules and reboot. At least one user reports, though, that this causes their Powerbook to start up with the screen brightness turned all the way down.

Will sleep work?

Probably not. Suspend-to-RAM (sleep) on PowerPC is extremely buggy and likely always will be. KMS (Kernel Mode Setting) seems to be the major culprit.

As an alternative, you can use suspend-to-disk (hibernate) as long as your swap partition is at least as large as your physical RAM.

What about CPU frequency scaling?

To see if you can enable this power-saving feature, first enter the following in a terminal:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

If you see more than one frequency, congratulations! You may use this power-saving (and fan-quieting) feature. To do so, download powernowd_1.00-1.1+b1_powerpc.deb, and in its current directory, install with sudo dpkg -i powernowd_1.00-1.1+b1_powerpc.deb. Now your CPU will dynamically throttle according to system demand.

Caveat: Powernowd is no longer supported and considered obsolete, but it still works for PowerPC users on the current kernel. An alternative is cpufreqd using the userspace governor, but it's more complicated to set up.

Can I "reverse" my Command and control keys to be like a Mac?

Yes. Create a hidden file in your home folder called ".Xmodmap" and save the following text inside it:

remove Mod4 = Super_L Super_R
remove Control = Control_L Control_R
keysym Control_L = Super_L
keysym Control_R = Super_R
keysym Super_L = Control_L
keysym Super_R = Control_R
add Mod4 = Super_L Super_R
add Control = Control_L Control_R

Then run the command: xmodmap ~/.Xmodmap

If this doesn't work, you may have an iBook where both Command keys are mapped as a single (Super_L) key. In that case, use the following instead:

remove Mod4 = Super_L
remove Control = Control_L
keysym Control_L = Super_L
keysym Super_L = Control_L
add Mod4 = Super_L
add Control = Control_L

Once everything is to your liking, arrange for xmodmap ~/.Xmodmap to autostart on login.

How do I get a more "Mac" like interface?

Your best bet would be with XFCE. It comes with a dock and a top panel that can be turned into a global menubar with the add-on TopMenu (this add-on also works with MATE).

There are many OS X GTK themes available for download at gnome-look.org.

What's this Yaboot thing?

Yaboot is a PowerPC bootloader which determines the system you boot into. If you dual or tri-boot, the settings in /etc/yaboot.conf determine which system is the default, which keys let you choose which system, etc.

Some circumstances, such as setting the startup disk while in OS X or Mac OS 9, can cause Yaboot to "disappear." Resetting the PRAM (starting your Mac while pressing Command + Option + p + r until a second chime sounds) usually restores it. If not, starting up while pressing the Option key will take you to a graphical chooser where you can click on the penguin and boot into Linux. From there, run sudo ybin -v to reinitialize Yaboot.

Why is my Mac OS 9 partition unbootable?

If you're dual-booting Mac OS 9, you may notice it can no longer boot after installing Debian. This is due to the installer's partitioner somehow messing up OS 9's driver partitions, but this can be fixed with Drive Setup on your OS 9 install CD.

Specifically, boot from your OS 9 CD, run Drive Setup, highlight your hard drive in the main window, and finally choose "Update Driver" from the Functions menu. Your OS 9 partition will now be bootable.

Are there special disk tools for PowerPC Macs?

Yes. Most Linux users are familiar with fdisk, a command line utility for managing disk partitions. The Mac equivalent is mac-fdisk.

If you plan on mounting hfsplus disk partitions or external drives, you may also install hfsprogs and hfsutils, which include several command line utilities for managing and repairing hfsplus partitions.

What are the software limitations?

Almost no closed-source software is compiled for PowerPC. One exception was Bittorrent Sync which supported PowerPC through version 1.4.111. However, many other closed-source titles have never supported PowerPC, including Adobe Flash, Chrome, Dropbox, Skype, and Spotify.

Also, closed-source graphics drivers released by Nvidia and AMD are not available, so you will have to use the open source drivers.

Additionally, some open source software in Debian's repositories may be broken on PowerPC. It's thankfully rare, but titles that may be affected are jackd2 and Clementine (jackd1 can be used instead of jackd2 if you need a JACK audio server).

Are there any Webkit browsers like Safari?

?QupZilla and Midori are two web browsers that run on the Webkit engine. Users of these browsers must be aware, though, that they are not updated regularly with security updates. For PowerPC users, only Iceweasel receives regular security updates (Chromium does as well, but it's not available for PowerPC).

Are there any Mac OS emulators on Linux?

Mini vMac emulates early compact Macs and has a PowerPC binary available for download. Basilisk II emulates 68k Macs such as Quadras and the II series, and is in the Debian contrib repository as basilisk2. Sheepshaver emulates PowerPC Macs, but the Linux PowerPC version suffers memory access problems and appears unuseable.

Mac-on-Linux was a long-dormant project that seems to have revived.

I dual boot. Can I mount my Linux partition in OS X?

Yes. Installing MacFUSE and fuse-ext2-0.0.7 in OS X will allow you to mount ext2/3/4 partitions in Tiger and Leopard. Using Terminal.app, you must also create a mount point in OS X's /Volumes directory and find your Linux partition number with:

diskutil list

Then mount the partition like this (using "disk0s5" as an example):

sudo fuse-ext2 /dev/disk0s5 /Volumes/your-mountpoint-name

This will give you read access, though for read/write you will need to add -o force. The "force" option is a universal indicator that this feature is somewhat iffy.

To unmount:

sudo umount /Volumes/your-mountpoint-name