ACPI now works for me on my macbook 5.2!!!
-i see battery charge, ac adapter, etc..
-i see 2 cores for my cpu
-i can change cpu freq and governor
-sound & microphone works (only 2 speakers..
-i can shutdown my macbook
-i cannot reboot
-i can enter sleep mode... but i can't wakeup
but i can't use nvidia drivers so no 3d effects and accelerated graphics.
here how to make things work:
0.1 you have to use REFIT, or you have to bless grub.efi in [3] - but it's safer refit - download and install it from osx.
0.2 boot into ubuntu in some way and install all the needed packages to compile theese things
1a. checkout the last svn version of grub2 and compile it for the x86_64 efi platform - i followed
http://grub.enbug.org/TestingOnMacbook and
http://grub.enbug.org/TestingOnEFI..... or download the attached file. the config file is for kernel version 2.6.27-11-generic, but you can change it for your kernel versions
1b. change, if you set it, in xorg.conf from nvidia to fbdev
Code:
Section "Device"
Identifier "Device0"
Driver "fbdev" #"nvidia"
# VendorName "NVIDIA Corporation"
EndSection
1c. add the folling line in /etc/modprobe.d/blacklist
2. copy the compiled-or downloaded grub2_efi to an usbpen and reboot into osx
3. paste grub2_efi into /efi/
4. reboot
5. now you should see another entry in refit: grub2_efi. boot
1. here there is some code:
Code:
mkdir grub2_efi
svn co svn://svn.savannah.gnu.org/grub/trunk/grub2 grub2
cd grub2
./configure --with-platform=efi --target=i386
make
./grub-mkimage -d . -o grub.efi gpt hfsplus fat ext2 normal chain boot configfile
sudo cp grub.efi *.mod fs.lst command.lst ../grub2_efi
create your own grub.cfg file, or take the mine, and put it into grub2_efi:
Code:
menuentry "linux-2.6.27-11-generic" {
# Set the root device for Linux.
root=(hd0,3)
# Load the loader. - other options: video=vesafb noefi
linux /boot/vmlinuz-2.6.27-11-generic root=/dev/sda3 video=efifb agp=off acpi=force
initrd /boot/initrd.img-2.6.27-11-generic
}
menuentry "MacOSX" {
# Search the root device for Mac OS X's loader.
search --set /usr/standalone/i386/boot.efi
# Load the loader.
chainloader /usr/standalone/i386/boot.efi
}
menuentry "Boot from MBR" {
appleloader HD
}
menuentry "Boot from CD" {
appleloader CD
}
# this does not work for me
menuentry "Boot from USB" {
appleloader USB
}
#keymapping: remeber these keys when you boot, they can be helpful!!!
#F1 = ctrl-x
#F2 = ctrl-a
#F3 = ctrl-e
Bookmarks