helpfulstuff.org Logo





Home arrow Linux arrow Installing Ubuntu 7.04 on a MacBook Core 2 Duo - Post Install Problems and Solutions Make Text BiggerMake Text SmallerReset Text Size
Installing Ubuntu 7.04 on a MacBook Core 2 Duo - Post Install Problems and Solutions PDF Print E-mail
Written by Trevor Gontz   
I am sharing this information to help others solve post installation issues with using Ubuntu 7.04 on a MacBook Core 2 Duo. I do not provide instructions for getting Ubuntu installed. This page is only for post install issues. You can find a number of tutorials on how to install Ubuntu using Google.

I will start be restating that this information is for Ubuntu 7.04 (Feisty Fawn - released in April 2007). Many of the steps mentioned below are very different for older version of Ubuntu and may no longer be necessary in newer versions of Ubuntu! Also, this information is for a MacBook Core 2 Duo. Many of these steps will not work on the older MacBook Core Duo and may not work on newer MacBooks. Here are the specifics (copied from the System Profiler in Mac OS X) for the MacBook on which this information has been tested:

Hardware Overview:
  Model Name:    Mac
  Model Identifier:    MacBook2,1
  Processor Name:    Intel Core 2 Duo
  Processor Speed:    2.16 GHz
  Number Of Processors:    1
  Total Number Of Cores:    2
  L2 Cache (per processor):    4 MB
  Memory:    1 GB
  Bus Speed:    667 MHz
  Boot ROM Version:    MB21.00A5.B06
  SMC Version:    1.17f0
  Serial Number:    W87211ALYA6
  Sudden Motion Sensor:
  State:    Enabled

Video/Display
Intel GMA 950
  Chipset Model:    GMA 950
  Type:    Display
  Bus:    Built-In
  VRAM (Total):    64 MB of shared system memory
  Vendor:    Intel (0x8086)
  Device ID:    0x27a2
  Revision ID:    0x0003
  Displays:
Color LCD:
  Display Type:    LCD
  Resolution:    1280 x 800
  Depth:    32-bit Color
  Built-In:    Yes
  Core Image:    Supported
  Main Display:    Yes
  Mirror:    Off
  Online:    Yes
  Quartz Extreme:    Supported

AirPort Card Information:
  Wireless Card Type:    AirPort Extreme  (0x168C, 0x87)
  Wireless Card Locale:    USA
  Wireless Card Firmware Version:    1.1.8.5
  Current Wireless Network:    wireless network not available

Intel High Definition Audio

Before I begin, I am going to recommend that you start working with your MacBook using a hardwired connection and a mouse. This is because Ubuntu does not support the Atheros wireless card and trying to use the touchpad without modification will just drive you nuts! (The touchpad is super sensitive to tapping and you end up double clicking on everything.)

Also, Do NOT enable Desktop Effects. On my machine I was no longer able to click on anything with either/both the touchpad and a usb mouse. What would happen instead was you get a screenshot of the area where your mouse/pointer just was! To disable Desktop Effects I had to reset the entire desktop by doing the following:

1. restart X (ctrl + option + delete)
2. change the session to Failsafe Terminal (under options).
3. login under the user account in which you enabled Desktop Effects
4. at the command prompt type:
rm -rf .gnome 
rm -rf .gnome2
rm -rf .gconf
rm -rf .gconfd
rm -rf .metacit

5. then restart your machine by typing:

sudo reboot

Source: http://ubuntuforums.org/showthread.php?t=418138

 

Problem #1: The touchpad is very slow and super sensitive to tapping. (You end up double clicking on anything and everything that the cursor/pointer is close to.)

Solution: Install gsynaptic to control touchpad settings such as sensitivity, tap to click, and scrolling. However, before installing gsynaptic you need to add a line to your xorg.conf file. But first, it is always a good idea to make a backup for your xorg.conf file before modifying it. Do the following:
1. Open Terminal (Applications -> Accessories -> Terminal)
2. type:
        cd /etc/X11
3. then type:
        sudo cp xorg.conf xorg.conf.original
(This will make a backup copy of your xorg.conf file in your X11 folder called xorg.conf.original

4. next type:
        sudo gedit xorg.conf
(This will open your xorg.conf file in gedit)

5. find the section beginning with:
Section "InputDevice" 
Identifier "Synaptics Touchpad"

6. add following line before EndSection:
	Option "SHMConfig" "on"
7. to insall gsynaptic type:
        sudo apt-get install gsynaptics
8. then to use gsynaptic go to System->Preferences->Touchpad and you can adjust the touchpad's settings

*Note: If you do not do steps 2 - 6 then you will get the following message when trying to open TouchPad:
"GSynaptics couldn't initialize. You have to set 'SHMConfig' 'true' in xorg.conf or XF86Config to use GSynaptics"

Problem: You want to use the built-in wireless card but Ubuntu doesn't recognize it.

Wireless Assistant 0.5.5 - must be run as sudo/root - no status display - from command line: sudo wlassistant

Wifi-radar - no status display


Source: http://ubuntu-tutorials.com/2007/03/18/how-to-configure-wireless-on-a-macbook-using-ndiswrapper/

Wifi (AirPort)

Up to this date the MadWifi project does not support the new Atheros chipset AR5418 yet. That means I have to use a bloody Windows driver with ndiswrapper. I have found the Lenovo (IBM) driver to work best (the D-Link caused a kernel panic in some networks). To obtain the driver (deep linking impossible):

  1. go to Lenovo support site
  2. enter "2007VEH" as the product number (it's a ThinkPad T60)
  3. click on "Software and Device Drivers"
  4. click "Networking-Wireless"
  5. download under "ThinkPad 802.11abgn wireless LAN" "Windows 2000, XP"
  6. Save the driver to disk (exe file)
  7. Use cabextract (emerge cabextract) to unpack the archive
  8. Install the driver using ndiswrapper: ndiswrapper -i WIN2K_XP/NET5416.INF
Source: http://www.odi.ch/prog/macbookpro/index.php#8

Several sites (including the ndiswrapper site) state that using the 7iwc21ww.exe driver for a Lenovo Thinkpad T60 will do the trick. However this driver did not work for me.

To try this driver download it from and then use cabextract to

or use the driver provided by lenovo for thinkpad T60, entering 2007VEH as product number on http://www.lenovo.com/support and getting the "ThinkPad 802.11abgn wireless LAN" driver (file 7iwc21ww.exe)

from: http://www.odi.ch/prog/macbookpro/index.php#8


get 

cabextract 7iwc21ww.exe

ndiswrapper -i WINXP_2K/NET5416.INF


  1. Card: Atheros AR5418
    • Chipset: AR5418
    • pciid: 168c:0024
    • Driver: 7iwc21ww.exe (use cabextract to extract files) from http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-66449
    • Other: Tested with ndiswrapper 1.42 (svn revision 2315) and kernel 2.6.21-smp. Just tested IEEE 802.11bg, not a or n and just WEP. Also tested ndiswrapper 1.43 on kernel 2.6.20. On vanilla kernels, it’s necessary to disable CONFIG_4KSTACKS by enabling ‘Kernel Hacking’ and making sure the option to use 4K stacks is disabled.
    Source: http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list_a/


However, typing ndiswrapper -m would not load the mdule for me during boot up so I also had to type (as root/sudo):

ndiswrapper -ma
ndiswrapper -mi
Source: http://fcp.surfsite.org/modules/newbb/viewtopic.php?topic_id=40597&forum=10



Source: http://uneasysilence.com/archive/2006/03/5701/





Ubuntu 7.04 has available the mouseemu package, which is used to emulate right and middle clicks. Middle click is set to F11 by default, and right click to F12. However, this causes the light on the caps lock and num lock keys to stop working. As a result, you may want to uninstall it (apt-get remove mouseemu) and use tapping or mousekeys emulation (described below) for middle/right click.

To enable mousekeys emulation and turn the lower Enter key into Right and Middle Mouse Buttons:
lower Enter key = Right Mouse Button, Shift + lower Enter key = Middle Mouse Button

sudo sed -i~ 's/KP_Enter/Pointer_Button3, Pointer_Button2/' /etc/X11/xkb/symbols/pc

gconftool-2 --type bool --set /desktop/gnome/accessibility/keyboard/enable true

gconftool-2 --type bool --set /desktop/gnome/accessibility/keyboard/mousekeys_enable true

Source: https://help.ubuntu.com/community/MacBook

keycode 101 = F1
keycode 212 = F2
keycode 160 = F3
keycode 174 = F4
keycode 176 = F5
keycode 214 = F7
keycode 215 = F8
keycode 216 = F9
keycode 217 = F10


To get middle and left mouse buttons on the right-hand Apple and lower enter key by adding this to the .xmodmap:

keycode 116 = Pointer_Button2
keycode 108 = Pointer_Button3

 

Now go to your System Menu, then Preferences, and click on Sessions. Click the Startup Programs tab.
Add:

 xmodmap $HOME/.xmodmap
Source: http://bin-false.org/?p=17

Next time you login into Gnome you will have your keys maped.

Logout of Gnome for changes to take effect.


Problem: The highest resolution you can choose is 1024 x 768. The default resolution in Mac OS X on a 13" MacBook is 1280 x 800.

Solution: The solution is very simple. You only need to install the 915resolution package as follows:
sudo apt-get install 915resolution

Then restart X (ctrl + option + delete) and 1280 x 800 should automatically be the default resolution.

Source: https://help.ubuntu.com/community/MacBook

Sidebar:
I found a couple of sites that mention use of sudo dpkg-reconfigure -phigh xserver-xorg to make the video card's highest resolution available. However, this did not work for me. When I tried sudo dpkg-reconfigure -phigh xserver-xorg the X server would crash. I tried running sudo dpkg-reconfigure -phigh xserver-xorg several times with different options each time but the result was always the same. Plus, if you have made any alterations to your xorg.conf file sudo dpkg-reconfigure -phigh xserver-xorg will overide them/change them back to the autoconfiguration. See http://www.simplehelp.net/2007/04/30/how-to-increase-the-screen-resolutions-available-to-ubuntu-while-running-in-parallels-for-os-x/ and http://muffinresearch.co.uk/archives/2006/08/13/running-ubuntu-under-parallels-desktop-for-mac/.

Last Updated ( Friday, 15 February 2008 )
 
< Prev   Next >
Linux Links

Major Distributions