Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install the kernal module required for the facetimehd camera to work on Linux
set -e
echo "Installing FacetimeHD camera for $KERNELRELEASE"
cd /tmp
git clone
cd bcwc_pcie/firmware
make install
cd ..
make install
rm -rf /tmp/bcwc_pcie
if [ ! -d "/etc/modules-load.d" ]; then
mkdir -p "/etc/modules-load.d"
cat > "/etc/modules-load.d/facetimehd.conf" << EOL
echo "Install complete."
Copy link

avtkal commented May 2, 2020

I get stucked here:
/tmp/bcwc_pcie/firmware$ make
make: *** No targets specified and no makefile found. Stop.

Could someone help with this?
Thank you!

Copy link

atulpendse commented May 11, 2020

Same error for me on Fedora 32

[apendse@apendse-fedora firmware]$ pwd

[apendse@apendse-fedora firmware]$ sudo make
make: *** No targets specified and no makefile found. Stop.

Copy link

ukn commented Jul 3, 2020

Had to modify the script a bit but got it working on Linux Mint 19.3 (kernel 5.4.0-40-generic)

Copy link

petrstepanov commented Sep 28, 2020

Thanks @ukn I've just tried your script on Fedora 32. I had to comment out line #43:
and it worked great. Enjoying my camera now!

Copy link

DavefromGA commented Sep 29, 2021

Thanks Stono for this script. I ended up using it as the base for what I was trying to solve. I did try it like you instructed, but it wouldnt work on my machine. I have a 2015 MacBook Pro... I though about it a while and realized that the only time I need this to run is when I update the kernel, since this is when it kills the install. So I just changed the script to do the apt update then automatically just run your script and basically reinstall the driver immediately after the kernel update. Works perfectly. I put it on my page if your interested in seeing how I did it. Thank you for helping me get my camera running again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment