Suspend on Ubuntu Ibex (Ubuntu 8.10) with a MacBookPro 1,2

I noted before that I'd upgraded my MacBookPro to Ubuntu 8.10. In Hardy, I had everything working: suspend, sound, you name it. Ibex broke most of it. You can find out what MacBookPro you have by typing "sudo dmidecode -s system-product-name" and reading this.

To make sound work after searching through a lot of stuff and the lying wiki, I found this post which gave me:

killall pulseaudio
sudo apt-get remove pulseaudio
sudo apt-get install esound esound-clients libao2
sudo rm /etc/X11/Xsession.d/70pulseaudio

To make the wifi and appletouch (trackpad aka touchpad) work properly after suspend:

  1. sudo vi /etc/pm/config.d/10suspend_modules
  2. it should read: SUSPEND_MODULES="ath_pci appletouch"
  3. sudo vi /etc/default/acpi-support
  4. find the line that reads MODULES="" and make it read MODULES="appletouch ath_pci"

This will switch to esound instead of pulseaudio which for whatever reason works and pulseaudio doesn't seem to. The other changes will cause appletouch and ath_pci (the touchpad and wifi respectively) to unload on suspend and reload on resume.

Now everything is working except I hear one of my fans dying (unrelated). Happy suspending!