Fresh out of the oven, I test the latest offering from Canonical, Ubuntu 8.10 Intrepid Ibex, on my Macbook 2,1. Currently, I dedicate 32GB of my hard drive to Windows with Boot Camp. Because Wubi for some reason does not work in boot camp, and Disk Utility was being rather wonky, I will sacrifice my whole hard drive to test this release.

Macbook2,1 Specs:

Intel Core 2 Duo 2.16 GHz
1GB DDR2 SDRAM 667 MHz (2x 512MB)
120 GB Hitachi Hard Drive
HL-DT-ST DVDRW  GSA-S10N (LG DVD Drive)
Intel GMA 950 Graphics
Atheros Wi-Fi
Intel HD Audio
Apple Bluetooth

Additional Hardware:

Samsung SyncMaster 225BW External Monitor

This experiment aims to determine the level of hardware compatibility of Ubuntu on the 2nd generation Macbook and not necessarily provide a general review. I will also make comparisons of this release with my Hardy Heron experience post.

LiveCD Impressions

Ubuntu 8.10 Intrepid Ibex Desktop
Ubuntu 8.10 Intrepid Ibex Desktop

Intrepid Ibex sports a shinier interface than Hardy Heron. Some noticeable differences include the slightly tweaked interface in the menus and a new progress bar.

The LiveCD detected my 1280 x 800 resolution properly when the laptop was not connected to an external monitor. When Ubuntu booted with the external monitor, it used 1024 x 768 mirrored on both screens.

Installation

Pre-Install Note: If you have OSX and plan to single boot Ubuntu, then change the startup chime to something acceptable by changing the volume inside OSX before you wipe it. It will be impossible to change the chime volume without OSX.

For some reason, Ubuntu 8.10 sometimes does not boot after an install with complete wipe of the hard drive. Upon boot, I have seen the dreaded flashing question mark folder numerous times. After many failed attempts, I think I figured out a way to a proper install. (This procedure is for a single boot Ubuntu.)

  1. Install Ubuntu by inserting the disc and holding the C key as the Macbook boots.
  2. Do a regular install, wiping the hard drive along with OSX.
  3. At this point if after the reboot Ubuntu runs, then good for you. Otherwise, insert your Mac OSX disc and reboot your computer holding down the C key again.
  4. Once you are inside the OSX install, click Utilities and then choose Terminal.
  5. Type “diskutil list” to list the partitions that you have on your hard drive. Look for your Ubuntu partition which may look something like disk0s1. (Diskutil may report this partition with the name, “Microsoft” something)
  6. We will “bless” the Ubuntu partition so that it boots by invoking the command “bless –device /dev/disk0s1 –setBoot –legacy –verbose” where disk0s1 is your Ubuntu partition.
  7. Restart your computer without the OSX disc. Ubuntu should start up. (Let me know if this doesn’t work!)

Strangely, I noticed that during the install process the map for the time zone sometimes behaves rather erradically in this release and I had a little bit of difficulty choosing my city on the map. Other than that, installation goes as swimmingly as before except now we are greeted with shiny partition bars. Yum.

Also, I noticed that the “Migrate documents and settings” features actually recognizes my Windows XP for once!

Wireless

Thanks to the included Atheros driver, the Macbook’s wireless chipset is now automatically recognized and functioning. This removes one of the biggest annoyances of setting up Ubuntu on this computer. Mad props to Canonical and Atheros. :)

Trackpad

Two finger scrolling does not work by default although the right hand side of the tackpad serves as the scrolling area. Because there is no default two finger tap support and there is no secondary button on the trackpad, you will have to tap the bottom right corner to right click. (This setting is a little finicky. Keep trying until you manage to right click.)

This page has the solution. Put the code inside a file called anything you like with the extension fdi (e.g. appletouch.fdi) and place it inside /etc/hal/fdi/policy. You’ll need to do a full reboot for these settings to take effect.

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
      <match key="info.product" contains="appletouch">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">false</merge>
        <merge key="input.x11_options.HorizEdgeScroll" type="string">false</merge>
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
        <merge key="input.x11_options.RTCornerButton" type="string">false</merge>
        <merge key="input.x11_options.RBCornerButton" type="string">false</merge>
        <merge key="input.x11_options.LBCornerButton" type="string">false</merge>
        <merge key="input.x11_options.LTCornerButton" type="string">false</merge>
        <merge key="input.x11_options.TapButton1" type="string">1</merge>
        <merge key="input.x11_options.TapButton2" type="string">3</merge>
        <merge key="input.x11_options.TapButton3" type="string">2</merge>
        <merge key="input.x11_options.PalmDetect" type="string">1</merge>
        <merge key="input.x11_options.ClickFinger1" type="string">1</merge>
        <merge key="input.x11_options.ClickFinger2" type="string">3</merge>
        <merge key="input.x11_options.ClickFinger3" type="string">2</merge>
      </match>
    </match>
  </device>
</deviceinfo>

The setting still produces common accidental clicks as you move the cursor. To work around this, keep reading.

You should also notice that the trackpad requires a little more pressure from the finger to move the cursor. This may be fixed by installing gSynaptics (or “Touchpad” from Add/Remove).

sudo apt-get install gsynaptics

Once that is installed, go to System > Preferences > Touchpad. Set the sensitivity to whatever you wish. (Mine is at almost max.) While you are here, you should also probably change the tapping time under the “Tapping” tab to something very low so that you don’t accidentally click while moving the mouse.

If anyone has a more OSX-like setting such as one including drag-lock, please share. I know they’re out there.

Keyboard

The keys with lights (num lock, caps lock) no longer light on, but still functions. I still haven’t figured out a way to type with the numpad.

Pressing the function keys will change brightness, volume, etc. Fn + Function key will invoke the actual F1, F2, F3… keys with the exception of F11 and F12 keys. F12 invokes a right click and F11 types out previously existing text (don’t ask!). (Thanks, Tomas for pointing this out.) It looks like some keyboard problems, including the eject key, can be solved by installing pommed. (Thanks, Cybik.)

sudo apt-get install pommed

To get the LED lights working, simply uninstall mouseemu.

sudo apt-get remove mouseemu

Once mouseemu is removed, you’ll notice that the LEDs work, but none of your other keys are responding. A restart is all that’s needed at this point. (Thanks, AlesFlowers.)

Graphics/Display

The Intel GMA 950 works fine out of the box.

Monitor positioning in the “Screen Resolution” app actually works now and so do dual monitors!

External monitor still doesn’t work properly by itself with the laptop screen turned off as evidenced here.

When the display changes brightness (such as when the computer is left idle), the screen should turn down the brightness. In 8.04, this worked wonderfully with a smooth transition. In 8.10, it appears jerky. :(

iSight

Does not work out of the box. Refer to the community documentation.

Sound and Microphone

Speakers seemed very quiet even when at max volume but after some random tweaking, I found that you should unmute only and adjust the Surround volume to what sounds the most natural. My Surround setting is at maximum.

The built in microphone does not seem to work out of the box.

Other

Bluetooth

Bluetooth appears to work out of the box.

Battery

It still feels like the battery is being drained faster than OSX.

Hard Drive

The load and unload cycles for my hard drive is quite high. If you would like to check yours, follow these instructions (taken from here).

sudo aptitude install smartmontools
sudo smartctl -H /dev/sda
sudo smartctl  -a /dev/sda | grep Load_Cycle_Count

In the reported line, take a look at the last number. Check how much it increases in some length of time and calculate, given that rate, how many cycles will occur in one day or one hour. The ideal rate is 90 or less cycles per day. I get about 21 cycles per 10 minutes (or 126 per hour or 3024 in a day)!

Because the hard drive is a very mechanical component, parking and unparking can deteriorate it. A hard drive is meant to last about a certain number of total cycles. Here is the bug report.

On that blog post, there is more information about the load/unload cycles bug and an “ugly fix” which lets you sacrifice battery life and hard drive protection from sudden movements for a longer hard drive life.

(Thanks, AlesFlowers for the heads up on this issue.)

There is a fix which can reduce the number of cycles. Simply open up /etc/default/acpi-support

sudo gedit /etc/default/acpi-support

Change the value of ENABLE_LAPTOP_MODE to true. (Thanks, Mikkel.)

Etc.

Suspend now works perfectly.

Hibernate sort of worked. When hibernating it doesn’t actually shut the computer down so I had to use the power button. It restored from hibernation properly though.

There is a bug with the Screenshot Utility when Compiz is running and there exists a window close effect. The utility takes the screenshot immediately as it closes so it will capture its own window as it is fading out. Workaround: Set the delay to at least one second.

Finally, flash installs inside Firefox properly!

The Macbook generates quite a bit of extra heat in Ubuntu. I’ll see if there is a solution to this.

Conclusion

Ubuntu 8.10 Intrepid Ibex has slightly improved 2nd generation Macbook support with the inclusion of Atheros Wifi drivers, and proper dual monitor support. Things that still dont work properly out of the box include better trackpad support, dedicated external monitor support, and volume controls. It feels more polished than Hardy Heron, but it for some reason introduces a numerous new bugs (e.g. no LED on caps/num lock keys, numpad no longer works, eject key no longer works, flickering display brightness) which is disappointing. Thankfully, many of these problems can be remedied. Slight hardware and configuration issues aside, after using it for a few days it really does feel more polished than before.

If you would like to tinker some more so that Ubuntu feels more like a Mac then consider taking a look at this article.

References: “How to single boot Linux without delay on Macbook” post, Community Ubuntu Macbook Documentation, Ubuntu Demon’s Blog



29 Responses to “Ubuntu 8.10 Intrepid Ibex Experience on a Macbook 2,1”  

  1. 1 Laca

    Hi!

    Sorry my English knowladge not good.
    I can’t install 8.10. I use this https://help.ubuntu.com/community/MacBook with 7.04 and 7.10 and 8.04. GOOD
    But 8.10 not working. rEFIt no on screen after reboot. If I reboot with live cd and turn off boot flag on swap and root partition than rEFIt look on screen after reboot. Syncronize MBR. Reboot. But 8.10 not working.
    Error messege:
    “Missing operating system”
    I have MacBook 2.1

    What’s wrong?

    Thanks!

    Laca

  2. 2 lijamez

    @Laca

    I initially had some trouble installing it as well. I’ve updated the “Installation” section to show how I managed to get it to boot.

  3. 3 AlesFlowers

    Hey!! I have a 2,1 macbook as well, And I performed instalation today and I have some questions for you:

    well they are fast:

    What did you do about the High Drive Load/Unload Cycles. Is it fixed on Intrepid???

    and I still want a better power managment so Battery will last more. :p

    Well telling about your experience.
    Thanks Bye.

    Ales

  4. 4 Tomas

    I’ve just installed Intrepid on a Macbook 2,1 this weekend, and I had some troubles that seemed undocumented.

    You mentioned that fn+F[X] keys invoke the F1,F2.. keys, but if I press F12 (with or without fn), it is recognized as a right-click mouse event. But with the live-CD running, F11 and F12 keys work perfectly, and the num-lock light works too. Do you have any idea to configure this aspects?

    Thanks, and congratulations for the post!

  5. 5 Philipp

    Thanks alot for these tips. My freshly installed 8.10 also didn’t boot – using “bless” made it work :)

  6. 6 Philipp

    Some other issue: I cannot launch GSynaptics. When I try to, it only says
    “GSynaptics couldn’t initialize”, and that I must set SHMconfig to true in my xorg.conf.

    However, there’s not even a touchpad or input-device section in my xorg.conf, and I don’t know if there’s a need to add it.

  7. 7 Philipp

    Oops, perhaps I should have created the fdi-file before ;) Now it works.

    Sorry for spamming your blog :/

  8. 8 lijamez

    @AlesFlowers

    They still have not fixed the load/unload cycle bug. I am getting 21 cycles per 10 minutes which is about 3024 cycles in a day. Yikes!

    Reference: http://ubuntudemon.wordpress.com/2007/10/26/laptop-hardrive-killer-bug/#comment-31234

    Apparently, you can apply the “ugly fix” in that post but you’ll have to sacrifice protection and battery life for hard drive life or vice versa.

  9. 9 Abbas Khan

    You didn’t use the final release, they fixed the flickering (also using 2,1 macbook c2d).

  10. 10 lijamez

    @Abbas Khan

    That’s strange. I tested only the RC and the final release and I notice the flickering change in blacklight brightness on both. I’m sure that I am not mixing them up since the RC had translucent panels and the final did not. (See screenshot above.) In any case, the transition from bright to dim backlight was no where near as smooth as Hardy or another HP laptop which I installed Intrepid final on.

  11. 11 AlesFlowers

    Uhh great is like the fix in here (that you use as reference): https://help.ubuntu.com/community/MacBook#Reducing%20Drive%20Load/Unload%20Cycles
    but I readed a little more and I’m not feeling well at risking my macbook, I’ll come back to the virtualmachine way, When I understand a little more I’ll be trying it a little more to feel safer.
    thanks!!

    -Ales

  12. 12 AlesFlowers

    Really I’m something like a newbe I have reconsidered, what do you recommend me to do. Could this damage my macbook? Or When I use ubuntu I should then use it like a desktop computer??
    Thanks.

  13. 13 lijamez

    @AlesFlowers

    The high cycles may wear out the hard drive faster. If you are worried, then tt would probably be better at this point to install Ubuntu inside a VM if that still suits your purpose.

  14. 14 Mikkel

    Hello

    I found that the ugly fix wasn’t even necessary to deal with the high load/unload cycles in intrepid ibex. Look at this:

    https://wiki.ubuntu.com/PowerManagement

    In the section “How to get disks idleing correctly (without excessive load cycling)”, the last bit is about intrepid. It goes:

    You still need to “ENABLE_LAPTOP_MODE=true” in /etc/default/acpi-support

    but the second thing has been fixed.

    It worked for me.

    /Mikkel

  15. 15 AlesFlowers

    So is that easy???
    In the link you left before I can see how to check the load/Unload cycles, right?
    I’ll try it out.
    Thanks

  16. 16 Mikkel

    I did not get the Load cycles below 90, but the easy fix reduced the daily load cycles dramatically. From the ~3024 down to around 200.

    The description on how to check the cycles are above, on this page.

  17. 17 AlexFlowers

    I did the fix (I didn’t check before, I didn’t knew how) and I checked the load/unload cycles and I got 43 on one day, so I can consider myself lucky…
    Thanks

  18. 18 AlesFlowers

    Hey!! I checked out some forum (That I Cannot find again I’m looking for it) and I discovered the nature of the keyboard problem (well, just some things). the package mouseemu is installed so it changes something on the keyboard configuration, I uninstalled it and now num lock and caps lock works (and its repective lightts too).
    If I find it again I’ll credit. Hope it helps.

    Ales

  19. 19 Cybik

    For some keyboard problems, there’s a quick fix:

    1- Open Synaptic
    2- Look for “pommed”
    3- install
    4- reboot
    5- kablamo.

  20. 20 Ed.

    I also have a 2,1 macbook, but I dunno which wireless chipset I have.
    System profiler lists it as airport extreme…
    Is it supported?

    Sorry I’m a newbie at these things… haha

  21. @Ed

    I believe all Macbook 2,1 have the Atheros wireless chipset.

  22. 22 AlesFlowers

    Hi Lijamez!!
    Are you using 64 or 32 bit version of intrepid?? Because I’m using 64bit. Last week installed linuxMint Felicia (32bit) and the fix for the HD didn’t work. Just to let you know. I’ll be back to ubuntu 64bit for the safety of my harddrive. see you

  23. @AlesFlowers

    I’m using the 32 bit version.

  24. 24 bruce

    i have a macbook 2,1 but no osx cd….how do i get it to load other than using the live cd for the 8.10 ubuntu? i did a full install (i hate osx) but i now keep gettin the flashing folder……is there a way to do this other than using the osx disk?

  25. I have to say after working with the Hardy/Heron image, Intrepid is a HUGE upgrade. Most of the stuff worked out of the box as documented above. I have read from the Ubuntu Community that Intrepid contains bugs in the install which cause it to fail on boot after an install, I do not know if this has been fixed yet.

    Mouse tapping can be fixed properly, 2 finger being copy/paste, three fingers being right click. Follow the documentation found on the MacBook Wiki part of Ubuntu. Search google for macbook ubuntu wiki for your Distro flavor as well.

  26. OH! Install the Hardy CD, then do an online upgrade. Easiest way to fix the flashing folder problem.


  1. 1 MacBook (4.1), Grub, openSUSE 11 - openSUSE Forums
  2. 2 Macbook pro 3,1 — Ubuntu Intrepid Ibex 8.10 — Les petites astuces. « Olivier Lemaire’s Blog - Tribulations d’un ingénieur
  3. 3 openSUSE Single-Boot on MacBook (4.1 Penryn) - openSUSE Forums

Leave a Reply