Penryn

Differences between revisions 15 and 16
Revision 15 as of 2008-07-23 13:19:53
Size: 5967
Editor: 128
Comment: Adding the debian lenny repo is a bit dangerous. Just download the deb.
Revision 16 as of 2008-08-06 16:34:45
Size: 5981
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
||<tablestyle="float:right; font-size: 0.9em; width:40%; margin: 0 0 1em 1em;" style="padding:0.5em; background:#F1F1ED;">'''Contents'''[[BR]][[TableOfContents(2)]]|| ||<tablestyle="float:right; font-size: 0.9em; width:40%; margin: 0 0 1em 1em;" style="padding:0.5em; background:#F1F1ED;">'''Contents'''<<BR>><<TableOfContents(2)>>||
Line 6: Line 6:
'''If you are searching for installation instructions or information on Mac``Book``Pro1,1 or Mac``Book``Pro2,1, check the [http://wiki.ubuntu.com/MacBookPro main MacBookPro wiki article].''' '''If you are searching for installation instructions or information on Mac``Book``Pro1,1 or Mac``Book``Pro2,1, check the [[http://wiki.ubuntu.com/MacBookPro|main MacBookPro wiki article]].'''
Line 8: Line 8:
For other hardware items not mentioned here, or if you have a Mac``Book``Pro3,1, check the [http://wiki.ubuntu.com/MacBookPro/SantaRosa Santa Rosa MacBookPro wiki article]. For other hardware items not mentioned here, or if you have a Mac``Book``Pro3,1, check the [[http://wiki.ubuntu.com/MacBookPro/SantaRosa|Santa Rosa MacBookPro wiki article]].
Line 18: Line 18:
 *The Laptop has an updated version of the Broadcom Wireless Card. To get it working, a Windows XP driver is required from the MacbookPro installation disk, as well as ndiswrapper to get the driver working under Linux. The original HowTo detailing the installation process was written by amonsul and is available in [http://ubuntuforums.org/showthread.php?t=735846 this Ubuntu Forum thread].
 *The Trackpad on the newer laptops now offers multi-touch support. The driver to use is called bcm5974 and is not yet included in the Linux kernel, however, it can be downloaded from this [http://ubuntuforums.org/showthread.php?t=840040 thread]. (Older info: there is a project called touchd, to implement multi-touch functionality. More information is available from the [http://touchd.sourceforge.net/ touchd Sourceforge page]).
 *Finally, the Fn key does not work upon installation of Hardy. This has yet to be fixed in the Ubuntu kernel but a solid workaround has been developed by _alex_, as outlined in [http://ubuntuforums.org/showpost.php?p=4984452&postcount=18 this Ubuntu Forums thread].
 *The Laptop has an updated version of the Broadcom Wireless Card. To get it working, a Windows XP driver is required from the MacbookPro installation disk, as well as ndiswrapper to get the driver working under Linux. The original HowTo detailing the installation process was written by amonsul and is available in [[http://ubuntuforums.org/showthread.php?t=735846|this Ubuntu Forum thread]].
 *The Trackpad on the newer laptops now offers multi-touch support. The driver to use is called bcm5974 and is not yet included in the Linux kernel, however, it can be downloaded from this [[http://ubuntuforums.org/showthread.php?t=840040|thread]]. (Older info: there is a project called touchd, to implement multi-touch functionality. More information is available from the [[http://touchd.sourceforge.net/|touchd Sourceforge page]]).
 *Finally, the Fn key does not work upon installation of Hardy. This has yet to be fixed in the Ubuntu kernel but a solid workaround has been developed by _alex_, as outlined in [[http://ubuntuforums.org/showpost.php?p=4984452&postcount=18|this Ubuntu Forums thread]].
Line 91: Line 91:
Follow [http://ubuntuforums.org/showthread.php?t=840040] for downloads. Via the synaptics driver, the bcm5974 supports double/triple-finger clicks/taps, two-finger mouse scroll and swiping. Follow [[http://ubuntuforums.org/showthread.php?t=840040]] for downloads. Via the synaptics driver, the bcm5974 supports double/triple-finger clicks/taps, two-finger mouse scroll and swiping.
Line 104: Line 104:
~-1. Open Synaptic Package Manager.-~[[BR]]
~-2. Go to "Settings", and then "Repositories".-~[[BR]]
~-3. Click on the "Third-party software" tab, then click "add".-~[[BR]]
~-4. Add: [[BR]] `deb http://ftp.de.debian.org/debian lenny main`-~[[BR]]
~-5. Reload update information.-~[[BR]]
~-6. Search for pommed in Synaptic, and select the package for installation.-~[[BR]]
~-7. Install pommed with the "Apply" button.-~[[BR]]
~-8. Go back to Settings > Repositories-~[[BR]]
~-9. Uncheck the Debian repository.-~[[BR]]
~-1. Open Synaptic Package Manager.-~<<BR>>
~-2. Go to "Settings", and then "Repositories".-~<<BR>>
~-3. Click on the "Third-party software" tab, then click "add".-~<<BR>>
~-4. Add: <<BR>> `deb http://ftp.de.debian.org/debian lenny main`-~<<BR>>
~-5. Reload update information.-~<<BR>>
~-6. Search for pommed in Synaptic, and select the package for installation.-~<<BR>>
~-7. Install pommed with the "Apply" button.-~<<BR>>
~-8. Go back to Settings > Repositories-~<<BR>>
~-9. Uncheck the Debian repository.-~<<BR>>

Ubuntu on a Penryn MacBookPro

If you are searching for installation instructions or information on MacBookPro1,1 or MacBookPro2,1, check the main MacBookPro wiki article.

For other hardware items not mentioned here, or if you have a MacBookPro3,1, check the Santa Rosa MacBookPro wiki article.

Preface

This Wiki article has been written to help those with 4th generation "Penryn" MacBookPro laptops (originally released February 2008.) There are a number of significant differences between the hardware configurations of these and the older versions which need to be accounted for when setting up Ubuntu.

Hardware Changes

There are 3 main differences between the Penryn MacBookPro and its older siblings.

  • The Laptop has an updated version of the Broadcom Wireless Card. To get it working, a Windows XP driver is required from the MacbookPro installation disk, as well as ndiswrapper to get the driver working under Linux. The original HowTo detailing the installation process was written by amonsul and is available in this Ubuntu Forum thread.

  • The Trackpad on the newer laptops now offers multi-touch support. The driver to use is called bcm5974 and is not yet included in the Linux kernel, however, it can be downloaded from this thread. (Older info: there is a project called touchd, to implement multi-touch functionality. More information is available from the touchd Sourceforge page).

  • Finally, the Fn key does not work upon installation of Hardy. This has yet to be fixed in the Ubuntu kernel but a solid workaround has been developed by _alex_, as outlined in this Ubuntu Forums thread.

Installing the Broadcom Wireless Driver

1. Install ndiswrapper with Synaptic Package Manager

2. Find the file, BroadcomXPInstaller.exe, on the Mac installation CD, and copy it to a folder on your computer.

3. Unzip the Broadcom drivers

unrar e BroadcomXPInstaller.exe

4. Install the wireless driver:

sudo ndiswrapper -i bcmwl5.inf
sudo ndiswrapper -l
sudo ndiswrapper -m
sudo modprobe ndiswrapper

5. Open Boot-time modules file

sudo gedit /etc/modules

6. Add ndiswrapper to the bottom of the file so it loads on boot

If you are running Ubuntu version 8.04 (Hardy Heron), please also perform the following 4 steps.

7. Create file /etc/init.d/ndiswrapper

sudo gedit /etc/init.d/ndiswrapper

8. Add the following text to the file

### BEGIN INIT INFO
# Provides: ndiswrapper
# Required-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: enable to load ndiswrapper
# Description: enable to load ndiswrapper
### END INIT INFO
rmmod ohci_hcd
rmmod ssb
rmmod ndiswrapper
modprobe ndiswrapper
modprobe ssb
modprobe ohci_hcd

9. Set file access permissions

sudo chmod 755 /etc/init.d/ndiswrapper

10. Create a symbolic link from /etc/init.d/ndiswrapper to /etc/rc2.d/S99ndiswrapper

sudo ln -s /etc/init.d/ndiswrapper /etc/rc2.d/S99ndiswrapper

Reboot your computer and your wireless should now be working.

Touchpad

There is a brand-new kernel driver for the BCM5974 device sitting in the Macbook Pro Penryn. Follow http://ubuntuforums.org/showthread.php?t=840040 for downloads. Via the synaptics driver, the bcm5974 supports double/triple-finger clicks/taps, two-finger mouse scroll and swiping.

Apple Hotkeys Fix (Pommed)

The following steps are for enabling the Apple hotkeys (volume control, brightness, and FN keys)

As of 21-June-2008, the Ubuntu Repositories have not been updated to contain the latest version of pommed - the hotkeys handler.

You can download the debian package for the newer version of pommed from this page: http://packages.debian.org/lenny/pommed Be sure to download the deb file that matches your Ubuntu install (i386 vs AMD64).


The following old information explains how to add the Debian Testing (Lenny) Repository to your system. You can easily break your system by installing packages from this repo if you do not know what you are doing. It is much safer to use the instructions above to install the debian lenny version of pommed.

1. Open Synaptic Package Manager.
2. Go to "Settings", and then "Repositories".
3. Click on the "Third-party software" tab, then click "add".
4. Add:
deb http://ftp.de.debian.org/debian lenny main

5. Reload update information.
6. Search for pommed in Synaptic, and select the package for installation.
7. Install pommed with the "Apply" button.
8. Go back to Settings > Repositories
9. Uncheck the Debian repository.
10. Reload update information.

WARNING: DO NOT UPDATE ANY OF YOUR OTHER PACKAGES UNTIL YOU HAVE DISABLED THE DEBIAN REPOSITORY AGAIN! Serious system malfunction may result. Wait until disabling the Debian repository, and reload the update list again.


Enabling Sound/Microphone

1. Open the modprobe.d options file for editing

sudo gedit /etc/modprobe.d/options

2. Add the following line to the bottom of the file

options snd_hda_intel model=mbp3

3. Reboot your computer

4. Recommended: leave microphone muted in the volume control to prevent feedback when closing the lid. Don't forget to un-mute the speakers/microphone before testing.

MacBookPro/Penryn (last edited 2008-10-31 15:05:43 by 128)