SantaRosa

Revision 66 as of 2007-11-05 13:11:38

Clear message

Preface

With the release in June 2007 of the third revision to the MacBook Pro line, several hardware incompatibilities were introduced with Ubuntu.

The primary hardware changes from previous hardware revisions include:

  1. NVIDIA Graphics (GeForce 8600M GT)

  2. AirPort Extreme Wi-Fi 802.11a/b/g/n

  3. Sound

In order to document these incompatibilities and the workarounds a thread was created: http://ubuntuforums.org/showthread.php?t=474144

This wiki page is based of this thread and the contributions made by members in the forum.

Other instructions can be found on this wiki page: https://cbg.dyndns.org/wiki/ReadingCorner/LinuxOnMacbookPro

Hardware support in Ubuntu 7.10 (Gutsy)

Here is the state of the hardware support in Ubuntu 7.10 (Gutsy Gibbon):

  • NVIDIA graphics: fully working out-of-the-box with nv (2D) and nvidia-glx-new (3D) packages;
  • Ethernet networking: fully working out-of-the-box;
  • Wireless networking: fully working, with manipulations;
  • Sound: fully working out-of-the-box;
  • Backlight, keyboard light and hotkeys: working with the pommed package, just [apt://pommed click here to install] (link not working for now);

  • CD/DVD drive: fully working out-of-the-box, media can be ejected using the eject key if you have pommed installed;
  • TrackPad: fully working out-of-the-box, can be adjusted with manipulations;

  • Bluetooth: fully working, out-of-the-box;
  • Firewire: fully working, out-of-the-box;
  • Sensors: working with the applesmc package, just [apt://applesmc click here to install] (link not working for now);

  • Suspend: working out-of-the-box. If using compiz, see [https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/144732 bug 144732];

  • iSight: fully working, out-of-the-box with V4L2;

  • Battery: at least 2 and a half hours with Wi-Fi and Bluetooth on, or maybe more, someone must test it with Gutsy and edit this page.

Hardware support according to [https://cbg.dyndns.org/wiki/ReadingCorner/LinuxOnMacbookPro this page]. If someone can test it, please, edit this page and share your experience.

  • Apple InfraRed: working?

  • PCI Express: working?
  • Sensors still works (make sure that applesmc is installed and module is loaded), but ACPI does not see temperature in /proc/acpi/thermal_zone, which leads me to thinks that fan regulation is not optimal. Temporarily you can use MacBookPro/SantaRosaFanControl.

Installation

Before starting please note:

  • If you are new installing Ubuntu on your Intel Mac, you may like to familiarize yourself with the installation process by visiting the generic wiki page for the MacBookPro or MacBook help page.

  • If you are dual booting, this page presupposes that you will
  • Install the EFI boot menu GUI: rEFIt (http://refit.sf.net)

  • Create a new partition to house your Ubuntu installation on your internal Hard Drive

GUI Installation

All of the installer issues have been resolved with the release of 7.10.

  1. Download the Live Install CD
  2. Burn the install CD under OSX/Windows/Linux
  3. Download and install Boot Camp or rEFIt (http://refit.sf.net)

  4. Boot from the Ubuntu CD by holding the 'c' key during boot
  5. Boot into the Live environment and install Ubuntu from Ubiquity

Install Wireless

Finally [http://madwifi.org/ticket/1017 #1017]!!

  1. Prepare to build the drivers:

{{{sudo apt-get install build-essential }}}

  1. Create a temporary work directory:

{{{cd /tmp mkdir madwifi cd madwifi }}}

  1. Download the snapshot of madwifi drivers:

{{{wget http://snapshots.madwifi.org/madwifi-ng/madwifi-ng-r2756-20071018.tar.gz }}}

  1. Build and install the madwifi drivers:

{{{tar -xzf madwifi-ng-r2756-20071018.tar.gz cd madwifi-ng-r2756-20071018 make sudo make install sudo modprobe ath_pci sudo iwpriv ath0 bgscan 0 }}}

  1. Edit the rc.local

{{{sudo gedit /etc/rc.local }}} and put like this {{{iwpriv ath0 bgscan 0 }}} after the {{{exit 0 }}} and save.

X.org adjustments

Here is a sample X.org configuration file that provides two-finger right click and scrolling, and three-finger middle click for the TrackPad, as well as right Apple key behave like the Alt key under Mac OS X (equivalent of AltGr on PCs).

  1. Make a backup of the file:

{{{sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak }}} If there a problem with the new configuration, you can restore the old one easily: {{{sudo mv /etc/X11/xorg.conf.bak /etc/X11/xorg.conf }}}

  1. Open the file:

{{{gksudo gedit /etc/X11/xorg.conf }}}

  1. Copy the following configuration (updated on 2007-09-25):

{{{Section "ServerLayout"

EndSection

Section "Files"

  • # path to defoma fonts

    FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

EndSection

Section "Module"

  • Load "i2c" Load "bitmap" Load "ddc" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "vbe"

EndSection

Section "InputDevice"

EndSection

Section "InputDevice"

  • Identifier "Configured Mouse" Driver "mouse"

    Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true"

EndSection

Section "InputDevice"

  • Identifier "Synaptics Touchpad" Driver "synaptics"

    Option "AlwaysCore" Option "Device" "/dev/input/touchpad" Option "Protocol" "auto-dev"

# Option "LeftEdge" "100"

# Option "TopEdge" "50"

EndSection

Section "Monitor"

EndSection

Section "Device"

  • Identifier "nVidia Corporation NVIDIA Default Card" Driver "nvidia" Option "AddARGBGLXVisuals" "True"

EndSection

Section "Screen"

EndSection

Section "Extensions"

  • Option "Composite" "Enable"

EndSection }}}

Sound

The sound chip in this laptop is on the ICH8 (Santa Rosa) rather than the ICH7 on older MacBooks. Gutsy has support for this chip in both 32-bit and 64-bit versions, but on the 64-bit version it is not automatically detected. To fix this, explicitly specify the model in /etc/modprobe.d/options by adding a line:

options snd_hda_intel model=mbp3

then reboot or rmmod snd_hda_intel; modprobe snd_hda_intel. Remember that alsa mixer settings are muted by default, so you may have to adjust them before hearing sound!