Size: 15794
Comment:
|
Size: 15893
Comment: Added hint for slow wifi connections when on battery power
|
Deletions are marked like this. | Additions are marked like this. |
Line 31: | Line 31: |
|| [[#Bluetooth|Bluetooth]] || {{attachment:IconsPage/dont_small.png}} || | || [[#Bluetooth|Bluetooth]] || {{attachment:IconsPage/check_remark_small.png}} || |
Line 41: | Line 41: |
|| [[#MagicMouse|Magic Mouse]] || {{attachment:IconsPage/warning_small.png}} || | |
Line 61: | Line 60: |
Note: pommed is not updated for Maverick yet, you must install from Lucid repositories until it is ready. To install pommed Lucid version, add this to your repositories list: {{{ deb http://ppa.launchpad.net/mactel-support/ppa/ubuntu lucid main }}} Then install: |
Install: |
Line 78: | Line 69: |
The base 32 bits version just detects and can use up to 3,1 Gb of RAM so the rest can't be used. To solve this you can | The base 32 bits version just detects and can use up to 3,1 Gb of RAM so the rest can't be used. To solve this you can install a pae-kernel. |
Line 148: | Line 139: |
Wait for the updates in the Mactel PPA for pommed to be updated for Maverick [[https://launchpad.net/~mactel-support/+archive/ppa|Mactel PPA]] or install pommed from Lucid sources by adding this to your repositories list in Synaptic: {{{ deb http://ppa.launchpad.net/mactel-support/ppa/ubuntu lucid main }}} |
|
Line 194: | Line 175: |
Not currently working: [[http://ubuntuforums.org/showthread.php?t=1469437|This]] forum post may have info in the future on how to get Bluetooth working on the MacbookPro6,2 under Ubuntu10.10. |
Working, but require recompiling btusb kernel module. First unload the existing btusb module {{{ sudo rmmod btusb }}} Download and unpack [[http://ubuntuforums.org/attachment.php?attachmentid=164872&d=1280385632|this file]] Install the extracted deb file. You will get an error with dpkg, we will fix that later. {{{ sudo dpkg -i btusb-dkms_0.0.1_all.deb }}} Download a replacement [[http://www.mikesplanet.net/files/apple/btusb.c|btusb.c]] and replace /usr/src/btusb-0.0.1/btusb.c with it. After that, run compile and install the new module in the terminal: {{{ sudo dkms remove -m btusb -v 0.0.1 --all sudo dkms add -m btusb -v 0.0.1 sudo dkms build -m btusb -v 0.0.1 sudo dkms install -m btusb -v 0.0.1 sudo modprobe btusb }}} Finally, restart the bluetooth service: {{{ sudo service bluetooth start }}} You can get rid of the dpkg error message by downloading [[http://www.mikesplanet.net/files/apple/btusb-0.0.1.dkms.tar.gz|this file]] and copying it to /usr/src. Run sudo apt-get install -f to remove installer error message. |
Line 284: | Line 294: |
Note: Should you experience slow connections when running on battery power then you can find a workaround in this thread: http://ubuntuforums.org/showthread.php?t=1596061#6 |
|
Line 314: | Line 326: |
Option "NoEDID" "True" | Option "NoEDID" "True" |
Line 332: | Line 344: |
<<Anchor(MagicMouse)>> == Magic Mouse == If you want to get scrolling working on an Apple Magic Mouse, you must install the multitouch driver. {{{ sudo add-apt-repository ppa:chasedouglas/multitouch sudo apt-get update sudo apt-get install multitouch-kernel-source }}} Scrolling works after a reboot. |
The Macbook Pro 6,2 is highly compatible with Ubuntu 10.10 Maverick (and Ubuntu 10.04 Lucid). You'll need to apply some of the adjustments listed below. For further discusions, see: Ubuntu Apple Users forum
MacBookPro 6,2 and Ubuntu 10.10 (Maverick Meerkat)
This page aims to describe the steps needed, to fully enable all/most features of the 15.3 (mbp 6,2) and probably other 6-th Generation MacBookPro (release date: April 2010) when using Ubuntu 10.10, Maverick Meerkat.
You can find out, what model you have by typing at the terminal:
sudo dmidecode -s system-product-name
If you have a different model, please go here and find the right wiki.
Overview
Anything not mentioned here probably already works out of the box. If not, please refer to the Ubuntu Apple Users forum.
Feature |
Support status |
(works out-of-the-box)
(works, with remarks)
(needs manual install)
(won't currently work (completely))
(not yet documented)
Basic Installation Instructions
Common things about installing and maintaining Ubuntu on Intel-based Macs: Intel CPU-based Macintosh Generic Installation Instructions
Package Support for Intel Macs
You need some modules from the MactelSupportTeam/PPA :
sudo add-apt-repository ppa:mactel-support && sudo apt-get update
The mactel PPA modules needed are mbp-nvidia-bl-dkms (driver for the LCD panel backlight) and pommed (daemon to control them all).
Install:
sudo apt-get install pommed mbp-nvidia-bl-dkms macfanctld
The system memory issue and 32/64bits kernel version
As the new MacBookPro 6,2 has 4 GB as base RAM and the Intel i5/i7 processors supports 64 bits, you may have to be careful with the selection of the architecture to install. The base 32 bits version just detects and can use up to 3,1 Gb of RAM so the rest can't be used. To solve this you can install a pae-kernel.
By default, you MUST install the 64 bits Ubuntu version cause today the 64 version can be used without any problem.
For the other hand, if you select to install 32 bits version you have to take in notice that Ubuntu can't handle more that 3,1 GB of memory. As a workaround you can install the "linux-image-generic-pae" kernel package. This kernel adds support for more than 3,1 Gb and enables more features for virtualization with Xen. Just install the 32 version of Ubuntu as you would do normally and after that type this at your terminal:
sudo apt-get install linux-image-generic-pae
Note that PAE adds (extremely minor) overhead and that even with a PAE kernel, each individual process (or XEN virtual machine) will be limited to 4GB of memory.
If you choose to install 64 bits version your Ubuntu will handle more than 3,1 Gb out of the box.
Sensors (temps & fans)
To enable proper detection of sensors edit /etc/modules:
gksudo gedit /etc/modules
Add to this to end of file, save and reboot:
coretemp
If you would like to monitor temperature readings and fan speed, install sensors-applet:
sudo apt-get install sensors-applet
Reboot and then add the applet to your panel.
Temperature, fanspeed, environmental light and keyboard backlight can be controlled over the sysfs exported interface at /sys/devices/platform/applesmc.768/.
One user reported that the environmental light sensor did not work initially until he applied a not further specified firmware update.
Suspend & Hibernate
Seems to work fine out of box: multiple suspends during single session works. single hibernation works. (multiple hibernations during single session not tested).
Reboot
Rebooting and Shutdown work fine.
Video & Effects (Compiz)
You should use the restricted driver: The open source driver nouveau seems to currently causes random system freezes. Also with the powermizer functionality of the Nvidia driver you can get the laptop pretty cool at about 50 degrees Celsius instead of 65-70 degrees. Battery life is also better at about 4 hours currently (instead of 2:30).
Install from: System -> Administration -> Hardware Drivers. Select the NVidia graphics driver that says recommended and Activate. Reboot to apply the change.
Edit your /etc/X11/xorg.conf to permanently operate the Nvidia graphics adapter in the lowest possible setting:
gksu gedit /etc/X11/xorg.conf
Add the following lines to the Device section of the nvidia device:
Option "Coolbits" "1" Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefaultAC=0x3"
LCD Brightness Control
Works. Either mbp-nvidia-bl-dkms alone will enable brightness control or install pommed as well. Restore of old brightness value after a resume also works.
Fan Control
Work, but needs the macfanctld package from the Mactel PPA installed to allow to Macbook Pro to control fan speed at as CPU temperature rises.
Add repo:
sudo add-apt-repository ppa:mactel-support && sudo apt-get update
Install macfanctld:
sudo apt-get install macfanctld
HFS+
- Read Only: Confirmed working out of the box.
- Read/Write: It is necessary to disable journal:
- Login macos and open a terminal.
- Identify the partition.
- Run diskutil to disable journaling.
$ mount /dev/disk0s2 on / [...] $ sudo diskutil disableJournal force /dev/disk1s2 Journaling has been disabled for volume [...] on disk0s2
CD/DVD Writing
Both writing and reading work.
Bluetooth
Working, but require recompiling btusb kernel module.
First unload the existing btusb module
sudo rmmod btusb
Download and unpack this file
Install the extracted deb file. You will get an error with dpkg, we will fix that later.
sudo dpkg -i btusb-dkms_0.0.1_all.deb
Download a replacement btusb.c and replace /usr/src/btusb-0.0.1/btusb.c with it.
After that, run compile and install the new module in the terminal:
sudo dkms remove -m btusb -v 0.0.1 --all sudo dkms add -m btusb -v 0.0.1 sudo dkms build -m btusb -v 0.0.1 sudo dkms install -m btusb -v 0.0.1 sudo modprobe btusb
Finally, restart the bluetooth service:
sudo service bluetooth start
You can get rid of the dpkg error message by downloading this file and copying it to /usr/src. Run sudo apt-get install -f to remove installer error message.
Keyboard Functions
Everything seems to work with pommed installed:
- F1 and F2 can be used to adjust display brightness
- F3 and F4 can be correctly associated with any command in the system preferences.
- F5 and F6 can be used to adjust keyboard backlight brightness
- F7, F8 and F9 are correctly associated with audio player's 'previous', 'play/pause', 'forward' commands.
- F10, F11, F12 correctly mute and tune audio volume (after having correctly configured audio, see below)
- Eject key works
Keyboard backlight without pommed
Consider this if you want a way to control the backlight from the command line or with the mouse.
You can choose a value from 0 to 255 to tune the keyboard backlight by writing to /sys/class/leds/smc::kbd_backlight/brightness. For example this command switches the light completely on:
echo 255 | sudo tee -a /sys/class/leds/smc::kbd_backlight/brightness
The file reporting the ambient light sensor is /sys/devices/platform/applesmc.768/light (the number 768 in the path might be different on your machine). To read the value do
cat /sys/devices/platform/applesmc.768/light
which should give different values under different light conditions.
With the following method you can control the backlight through a GUI. Create a new file in /usr/local/bin:
gksu gedit /usr/local/bin/keyboard-backlight
Copy this script into the file and save it:
# A little script to set the keyboard backlight # Note: clicking "Cancel" in the dialog sets the backlight to 0. # Note: needs to be called as root (with gksu or sudo) because # of writing to /sys. Use "sudo visudo" to edit the /etc/sudoers file # if you want to allow non-admin users to change this value, possibly # without having to enter a password. Read "man sudoers" and, e.g., use # ALL ALL = NOPASSWD:/usr/local/bin/keyboard-backlight # to allow all users to execute this command on all hosts without # a password. # Read current value BACKLIGHT=$(cat /sys/class/leds/smc::kbd_backlight/brightness) BACKLIGHT=$(zenity \ --title "Keyboard backlight" \ --scale \ --text="Adjust the keyboard backlight" \ --value="$BACKLIGHT" \ --min-value="0" \ --max-value="255") echo $BACKLIGHT | tee -a /sys/class/leds/smc::kbd_backlight/brightness exit 0
Use this command to make the file executable:
sudo chmod +x /usr/local/bin/keyboard-backlight
You may want to create a launcher on the panel. In this case enter
gksu /usr/local/bin/keyboard-backlight
as the command line. Very smartly, the dialog will recognise the word "keyboard" and suggest a good launcher icon automatically.
You could also use the ambient light value to extend the script to make the backlight depend on the ambient light.
Touchpad (bcm5974)
The touchpad works out of the box. However, not all gestures work yet and momentum scrolling does not work. You can enable two-finger scrolling from the preference->mouse->touchpad applet. If you are having accidental clicks while moving the mouse, it also may help you to uncheck the "Enable mouse clicks with touchpad" checkbox under the Touchpad tab. Furthermore tweaking the drag and drop time to be less may be help. The click-and-drag also works.
Wireless (AirPort)
Works out of box.
Note: Should you experience slow connections when running on battery power then you can find a workaround in this thread: http://ubuntuforums.org/showthread.php?t=1596061#6
iSight
Confirmed to be working using cheese.
Sound
Internal speakers and headphones work out of box. However, internal speakers are muted. The volume for the front speaker (Front Sp) must be unmuted and turned up. This can be adjusted by running alsamixer from the Terminal, or using gnome-alsamixer
sudo apt-get install gnome-alsamixer
To enable the optical output (you'll see a red light coming from your headphone jack if it is enabled), make sure that the IEC958 option is checked.
Microphone
To get the microphone working, in terminal run:
gksudo gedit /etc/modprobe.d/alsa-base.conf
Add the following line to the end of the file. Save the file. Reboot.
options snd-hda-intel model=mbp55
External Monitor
You may experience some trouble with the external VGA and the new drivers: if the detected resolution of externally connected monitors doesn't go beyond 640x480, you will need to inactivate EDID. Add:
Option "NoEDID" "True"
to /etc/X11/xorg.conf
Apple Remote Control
Install gnome-lirc-properties:
sudo apt-get install gnome-lirc-properties
gnome-lirc-properties will give you an entry "Infrared Remote Control" in menu System > Administration. After launching this it will guide you through the configuration. Tested with remote model No A1294 (aluminum Apple remote): gnome-lirc-properties detects the signals (with some models the Enter button is detected as an additional Play button). Although this seems to work, the remote does not actually control any applications, like the Totem Movie Player - more testing is required. Could be that the key-binding are incorrect.
Firewire
Not yet tested. Ethernet over Firewire (modprobe eth1394) tested and confirmed working.
|