Making iSight camera work in Ubuntu

As I said in a previous post, I bought a MacBook, and I am making all bits work correctly. Out-of-the-box support from Ubuntu (the only GNU/Linux I tried on the MacBook so far) is excellent, but some things (camera, WiFi...) need proprietary drivers, so some more tweaks are needed.

I have followed the instructions in the Ubuntu community site, as with the procedures detailed in the previous post.

Basically, it all boils down to:

Fetch the Apple drivers for the camera

As root (if, unlike me, you like sudo, then run the following as user, but prepended with sudo), mount the Mac OSX partition (you didn't delete it, right?) and copy the relevant file somewhere else (the cp command should be all in one line):

# cd
# mkdir /mnt/macosx
# mount /dev/sda2 /mnt/macosx
# cp /mnt/macosx/System/Library/Extensions/
     IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/
     Contents/MacOS/AppleUSBVideoSupport .
# umount /mnt/macosx

You might have noticed that the Mac OSX partition is not sda1, but sda2. Don't ask me. It turns out like this after following my own installation instructions. Apple must have decided to install the OS in the second partition for some reason.

Install the required packages

We need a package called isight-firmware-tools. Unfortunately it is not present in the Hardy repos at the moment (it was in the Gutsy ones, I think). You can add a Launchpad repo, editing /etc/apt/sources.list to add:

deb http://ppa.launchpad.net/mactel-support/ubuntu hardy main
deb-src http://ppa.launchpad.net/mactel-support/ubuntu hardy main

Then, as root:

# aptitude update
# aptitude install isight-firmware-tools

You will be prompted for a path to the driver you copied before. You can press Enter without paying much attention, then execute (assuming you copied the driver to your root home):

# cd
# ift-extract -a ./AppleUSBVideoSupport

To activate the driver, restart HAL:

# /etc/init.d/hal restart

Test it with Ekiga

As explained in the Ubuntu community site, you can run Ekiga as user (after installing the ekiga package). Choose V4L2 as video plugin, and Built-in iSight should appear among the Input device list. If it does, the process worked.

Tags: , , , , , , , , , ,

22 thoughts on “Making iSight camera work in Ubuntu

  1. Hallo. i have a big problem i think! i have deleted the osx partition, there is a chance to install the firmare?
    Than You

  2. Angel, I think the firmware for the camera is also present in the CD that comes with the laptop (search there for a file called "AppleUSBVideoSupport").

    Appart from that, it appears to be downloadable from the Apple site[1]. However, good luck finding it there. I just tried and couldn't find it (maybe a deeper effort is due).

    [1] Built-in iSight Webcam at help.ubuntu.com

  3. Hello,

    I have some problems,

    when i start ekiga, i chose V4L2 as video plugin, and the Input device list is empty, i can see "aucun périphérique trouvé" in english: "no device found".

    Everithing is fine yet, i don't understand because i followed the post without error.

  4. mely, have you tried the other tests that can be found at the help.ubuntu.com site?:

    Gstreamer

    Run gstreamer-properties. Go to "Video" tab, then in "Default Output" and "Default Input" chose "Plugin"-s an "Device"-s that work. For me, "Autodetect" in "Default Output" didn't work very well. I chose "X Window System (X11/XShm/Xv)" in "Plugin", and "Intel(R) Video Overlay" in "Device". Then in "Default Input" you should choose V4L2 in "Plugin". In "Device" you will (should) have "Default" and "Built-in iSight". Any of them gives me the same result: when I hit "Test" a window opens, showing me a video of what the camera currently sees (my ugly face, sadly).

    If it doesn't work for you, and specially if "Built-in iSight" does not appear as an option in your Video->Default Input->Device, then chances are your iSight was not detected.

    If the above doesn't work, run lsusb, and tell me if you see the following line:

    Bus 007 Device 005: ID 05ac:8501 Apple Computer, Inc. Built-in iSight [Micron]

  5. Hello,
    and thanks for your quickly answers.

    Gstreamer:
    The properties doesn't work for me, "Built-in iSight" not appear as an option, i've no options in Video->Default Input->Device.
    When i run lsusb, i see the following line:
    Bus 007 Device 005: ID 05ac:8501 Apple Computer, Inc. Built-in iSight [Micron].

    Isilianes:
    I will be able to on the website tomorrow after school for try it.
    But, how do i know if i have a santa rosa macbook?

    Thanks.

  6. mely, from the Ubuntu community documentation:

    If you own a MacBook of the Santa Rosa generation (v3.1 and v4.1) see this guide. To determine which version / generation of MacBook you have, either click in OS X on the Apple on the top left, then "About this Mac" -- "More Info...", see the generation in the "Model Identifier" row; or run in Linux:

    % sudo dmidecode -s system-product-name

    When I run the above in my laptop, it outputs: "MacBook3,1"

  7. Hello

    thanks,
    I have MacBook 4,1.

    I could see the guide, i have resolved sound problem, but for the camera is the same solution of this page, I retry it, and it don't work for me.
    When I run gstreamer-properties, I’ve no options in Video->Default Input->Device though when I run lsusb I can see Bus 007 Device 005: ID 05ac:8501 Apple Computer, Inc. Built-in iSight [Micron], isight was detected.

  8. If lsusb shows that line, then apparently the driver was correctly installed. I am sorry to say that I can not help you further :^(

    If you executed up to, and including, the ift-extract command, with no error, then I don't know what is going on... maybe it's a 4.1 issue. Try the Ubuntu community site, or the Gentoo wiki, which in general are excellent info resources.

  9. Hello,

    never mind, i'll do without camera, it's not very important, i've mac os for it.

    Thanks for all.

  10. Pingback: Bookmarks about Macosx

  11. Pingback: 9.10 -

  12. I had trouble from the very first command. I'm extremely new to Ubuntu, and have almost no idea how to use the command line. Here's what I did:

    evan@evan-laptop:~$ sudo cd
    sudo: cd: command not found

    ??? I don't get it, can anyone help a brother out?

  13. Pingback: Cannot use iMac webcam in Ubuntu

  14. Pingback: Trying to go 100% Linux

  15. Hey Guys!
    I installed Ekiga and my iSight camera worked great but I could not use it anywhere else.
    I found out that when I tried Cheese, the camera screen was black. When I tried gstream -properties, it told me the camera was "busy" and could not change to 640x480. I had to go to the list of "services" running and deleted everything related to camera softwares (including ekiga, which actually was using my camera in the background for no reason.)

    After that I came back to Cheese and changed the resolution to 320x240 (or something like that) and changed it back to 640x480 and then the picture appeared. I hope this helped!!!

  16. Pingback: Linux Mint 16 – Macbook Pro 5.4 | ERiK DuBoiS

  17. my camera on macbook pro 5.5 not working after i installed ubuntu 14.04 LTS i also by mistake deleted the Mac OSX partition, so i don't have it any more on my Macbook pro.

    Please advice how can i solve this and makes my camera works fine again.

    I also need to download the necessary applications that i should have after i installed ubuntu and advice me what should i do to make my macbook woks fine with all the features & as well need to download Itunes so please advice,

    Thanks in advance
    Hatem

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe without commenting