← Back to team overview

mactel-support team mailing list archive

[Bug 822054] Re: suspend / sleep / resume fails on macbook in oneiric 11.10

 

A lot of people edit /boot/grub/grub.cfg directly, you have to add it right before the "set root". In my case I followed the instructions of the Gentoo MBP wiki (http://en.gentoo-wiki.com/wiki/Apple_Macbook_Pro)
WARNING: if you follow this method, you won't be able to resume after suspend. I have a MBP 8,1 as well and I can suspend fine (have to unload "b43" module first). I finally was able to use AHCI mode after suspend by booting from grub-efi (You might want to check this bug: https://bugs.launchpad.net/mactel-support/+bug/817017)

Short instructions:

- lspci -vnn|grep SATA

- Take down the number of your IDE/SATA controller (something like
8086:3b28)

- Create "01_mbp_ahci" in "/etc/grub.d/" (The mbp_ahci part can be
changed, but 01 is important)

- Paste this in the file:
#!/bin/sh -e
echo "setpci -d XXXX:XXXX 90.b=60"
(where XXXX:XXXX is the number you took down previously)

- Make it executable (the wiki does not mention it, but I'm pretty sure it's necessary)
sudo chmod u+x /etc/grub.d/01_mbp_ahci

- Run update-grub

-- 
You received this bug notification because you are a member of Mactel
Support, which is the registrant for Mactel Support.
https://bugs.launchpad.net/bugs/822054

Title:
  suspend / sleep / resume fails on macbook in oneiric 11.10

Status in Mactel Support:
  Confirmed
Status in Ubuntu:
  Confirmed

Bug description:
  My macbook goes to sleep, but does not resume. This is a bug in
  oneiric. Using latest updates for the amd64 + mac release of oneiric.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mactel-support/+bug/822054/+subscriptions