17

I have recently installed Ubuntu 16.04 on a Macbook Pro, everything works fine except the camera does not work/ is not found. Both Google Hangouts and the Cheese application say "no device found".

Anything I can install to get it working?

5
  • Do you use some virtualization platform?
    – M. Dm.
    Dec 28 '17 at 15:54
  • No I completely wiped over the Mac OS, so solo Ubuntu 16.04. Dec 28 '17 at 15:58
  • Try this solution blog.jbfavre.org/2016/03/03/… For obvious reasons, I can't test it by myself.
    – M. Dm.
    Dec 28 '17 at 16:17
  • Thanks. I tried, the command "git clone debian" says "debian is not a repository". Dec 28 '17 at 18:48
  • Instead of git clone debian try git clone https://github.com/jbfavre/bcwc_pcie.git -b debian --single-branch
    – M. Dm.
    Jan 2 '18 at 13:09
21

As at 8/3/2020 follow the instructions Here. They come in two parts, make sure you also follow the ones for your platform. They are a bit jumbled on the site so I have included them below.

I'm running 18.04 LTS (Bionic) on a 2013 Macbook Pro. The instructions that worked for me were as follows:

sudo apt-get install git
sudo apt-get install curl xzcat cpio
git clone https://github.com/patjak/facetimehd-firmware.git
cd facetimehd-firmware
make
sudo make install
cd ..
sudo apt-get install kmod libssl-dev checkinstall
git clone https://github.com/patjak/bcwc_pcie.git
cd bcwc_pcie
make
sudo make install
sudo depmod
sudo modprobe -r bdc_pci
sudo modprobe facetimehd
sudo nano /etc/modules
**add line "facetimehd", write out (ctl+o) & close**

Most of those steps will need to be repeated every time the kernel is upgraded.

I also followed the instructions here prior to testing the colors of the camera.

9
  • 4
    on 18.04, I had to install xz-utils instead of xzcat as the latter was not found. Otherwise perfect. Thanks! Mar 20 '20 at 3:46
  • I got this error on the "make" command:Checking dependencies for driver download... /usr/bin/xzcat /bin/cpio Makefile:34: recipe for target 'AppleCameraInterface' failed make: *** [AppleCameraInterface] Error 1
    – John Dee
    Mar 20 '20 at 20:08
  • 1
    "patjak"'s source code is just the way we like it. Simple. Sober. Efficient. Reliable. A project I'd happily donate to (if there was a donate button).
    – Déjà vu
    Aug 1 '20 at 6:28
  • 1
    I had the following issue upon running the second sudo make install: certs/signing_key.pem: No such file or directory. I solved it using this superuser answer. Nov 4 '20 at 10:41
  • 1
    If you want these changes to persist after kernel update you need to setup dkms according to these instructions: github.com/patjak/bcwc_pcie/wiki/… Dec 1 '20 at 10:28
17

I followed the instructions here(under the section "webcam drivers") and it is working now.

git clone https://github.com/patjak/bcwc_pcie.git
cd bcwc_pcie/firmware
make
sudo make install
cd ..
make
sudo make install
sudo depmod
sudo modprobe -r bdc_pci
sudo modprobe facetimehd
11
  • 2
    After I shutdown my laptop, when I next turned it on, camera no longer works again. Jan 2 '18 at 22:46
  • 4
    just add facetimehd to your /etc/modules file.
    – artsin
    Apr 12 '18 at 8:08
  • Maybe I should replace $ sudo install into $ sudo make install?
    – Galaxy
    Sep 9 '18 at 8:09
  • It's generally not an awesome idea to run make as root. Security isn't as huge of a deal as some might say, since a malicious script could just as easily be malicious during "make install". But you end up with a bunch of root-owned files in that directory, even though the git clone was run as non-root. That can be annoying later.
    – dannysauer
    Oct 16 '18 at 16:29
  • @dannysauer if you don't you may run into this error mv: cannot stat 'System/Library/Extensions/AppleCameraInterface.kext/Contents/MacOS/AppleCameraInterface': No such file or directory. Oct 18 '18 at 15:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.