SantaRosa

Differences between revisions 63 and 64
Revision 63 as of 2007-10-20 08:06:54
Size: 13464
Editor: 60-242-25-74
Comment: Reordering sections. Put Gutsy up front
Revision 64 as of 2007-10-20 08:28:52
Size: 8047
Editor: modemcable236
Comment: All of the Feisty-related informatin has been removed
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from MacBookProSantaRosa
## page was renamed from MacBook Pro SantaRosa
## page was renamed from MacBookPro SantaRosa
||<tablestyle="float:right; font-size: 0.9em; background:#F1F1ED;margin: 0 0 1em 1em;" style="padding:2.0em;">'''Contents'''[[BR]][[TableOfContents]]||
Line 12: Line 8:
Line 19: Line 16:
Here are the changes in the hardware support in Ubuntu Gutsy Gibbon compared to Ubuntu Feisty Fawn:
 * NVIDIA graphics: should be fully working out-of-the-box with nv (2D) and nvidia-glx-new (3D) packages;
 * Sound: fully working out-of-the-box (http://ubuntuforums.org/showpost.php?p=3352886&postcount=311);
 * Backlight: working with pommed in Universe (https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/125918);
 * 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.

=== Hardware support in Ubuntu 7.04 (Feisty) ===
Here is the state of the hardware support in Ubuntu Feisty Fawn:
 * NVIDIA graphics: fully working with latest updates;
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;
Line 31: Line 20:
 * Sound: fully working, with latest updates;
 * CD/DVD drive: 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;
Line 34: Line 24:
 * Backlight, keyboard light and hotkeys: working, with manipulations, but there's no auto adjustments using the sensors;
Line 37: Line 26:
 * Sensors: working, with the applesmc package;
 * Battery: at least 2 and a half hours with Wi-Fi and Bluetooth on.
 * 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.
Line 53: Line 44:

=== Ubuntu 7.10 (Gutsy) ===
To install Ubuntu 7.10 (Gutsy) on your MacBook Pro Santa Rosa:
Line 65: Line 53:
=== Ubuntu 7.04 (Feisty) ===
To install Ubuntu 7.04 (Feisty) on your MacBook Pro Santa Rosa:

==== Text Installation ====
 1. Download the Alternate Install CD (32bit or 64bit)
 2. Burn the install CD under OS X/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
 6. Follow the on screen instructions
 5. Install Ubuntu

==== GUI Installation ====
 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. Choose "Safe graphics mode" and press F6 to edit the boot parameters
 6. Remove "splash", "quiet" and "--" then add "all_generic_ide"
 7. Boot into the Live environment and install Ubuntu from Ubiquity

== Getting Graphics to Work ==
You will find after installation that you computer will not correctly boot. This is due primarily to the new unsupported graphics.
''The following steps are not required for Ubuntu 7.10 (Gutsy), graphics work out of the box. Skip to'' '''Install Wireless'''

=== Change Graphics Drivers ===
 1. Reboot you Mac and choose the Linux icon from the rEFIt menu
 2.#2 Press Esc when asked
A black screen will be present with text similar to:
{{{Ubuntu kernel 2.6.20-15-generic
Ubuntu kernel 2.6.20-15-generic (recovery mode)
Ubuntu memtest
}}}
etc...
 3.#3 Select the recovery mode option
 4.#4 Edit the /etc/X11/xorg.conf file
{{{nano /etc/X11/xorg.conf
}}}
 5.#5 Search for
{{{Driver "nvidia"
}}}
and replace with
{{{Driver "vesa"
}}}
 6.#6 Save and exit nano and start a normal system (get out of recovery more)
{{{telinit 2
}}}

=== Installing the NVIDIA Driver ===
If you want to have 3D hardware acceleration (e.g. for a composite desktop like Compiz-Fusion/Beryl, or for games), you will need to install the closed source NVIDIA driver. The drivers in the Ubuntu repositories (nvidia-glx-new or nvidia-new) have been updated to the latest version (100.14.19). Please update your system to get the latest driver.
Line 134: Line 72:

== Getting Sound ==
''The following steps are not required for Ubuntu 7.10 (Gutsy), sound works out of the box. Skip to'' '''Controlling backlight and Keyboard Light'''
 1. Install Alsa dependencies:
{{{sudo apt-get install automake autotools-dev autoconf
}}}
 2.#2 Create a temporary work directory:
{{{cd /tmp
mkdir alsa
cd alsa
}}}
 3.#3 Download the latest alsa source which includes a patch for the MacBook Pro Santa Rosa:
{{{rsync -avz --delete rsync://alsa.alsa-project.org/hg/alsa-driver alsa
rsync -avz --delete rsync://alsa.alsa-project.org/hg/alsa-kernel alsa
}}}
 4.#4 Build and install the driver:
{{{cd alsa/alsa-driver
./hgcompile --with-cards=hda-intel
make
sudo make install
sudo /etc/init.d/alsasound stop
}}}
 5.#5 Add to /etc/modprobe.d/options these lines for default:
{{{# Default mbp3 (Santa Rosa)
options snd-hda-intel model=mbp3
}}}
 6.#6 Then load the driver module:
{{{sudo modprobe snd-hda-intel
}}}

== Controlling backlight and Keyboard Light ==
The system used to control backlight on Mac laptops is a proprietary Apple implementation under Mac OS X and has been implemented under Linux by pommed.
To install latest version of pommed (1.9):

=== Ubuntu 7.10 (Gutsy) ===
{{{sudo apt-get install pommed
}}}

=== Ubuntu 7.04 (Feisty) ===
 1. Install the dependencies:
{{{sudo apt-get install dpkg-dev build-essential debhelper pciutils-dev zlib1g-dev libsmbios-dev libaudiofile-dev libglade2-dev libgtk2.0-dev libx11-dev libxext-dev libxpm-dev libconfuse-dev libdbus-1-dev libasound2-dev
}}}
 2.#2 Create a temporary directory:
{{{cd /tmp
mkdir pommed
cd pommed
}}}
 3.#3 Download the files:
{{{wget http://ftp.debian.org/debian/pool/main/p/pommed/pommed_1.9~dfsg.orig.tar.gz
wget http://ftp.debian.org/debian/pool/main/p/pommed/pommed_1.9~dfsg-1.diff.gz
wget http://ftp.debian.org/debian/pool/main/p/pommed/pommed_1.9~dfsg-1.dsc
}}}
 4.#4 Build the package:
{{{dpkg-source -x pommed_1.9~dfsg-1.dsc
cd pommed-1.9~dfsg
sudo dpkg-buildpackage -d
cd ..
}}}
 5.#5 Install the package:
{{{sudo dpkg -i *.deb
}}}

== Getting CD/DVD Drive ==

=== Ubuntu 7.10 (Gutsy) ===
Since the release of Ubuntu 7.10 CD/DVD drive is reported to work out of the box, however in early betas the following step was necessary:
{{{sudo modprobe ide_generic
}}}

=== Ubuntu 7.04 (Feisty) ===
The CD/DVD Drive doesn't work out-of-the-box, but some people reported that this simple manipulation can make it work:
{{{sudo modprobe piix
}}}
And then discs are automounted, and can be ejected using the eject key if you have pommed installed.

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

  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-r2497-20070622.tar.gz }}}

  1. Build and install the madwifi drivers:

{{{tar -xzf madwifi-ng-r2497-20070622.tar.gz cd madwifi-ng-r2497-20070622 make sudo make install sudo modprobe ath_pci }}}

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 }}}

MacBookPro/SantaRosa (last edited 2008-10-31 15:01:50 by 128)