This repository contains a single Bash installer for the patjak/facetimehd camera driver stack, tailored for late-2013 15-inch Retina MacBook Pro systems (MacBookPro11,2 and MacBookPro11,3) running Ubuntu Desktop 24.04.x.
It is a wrapper around the upstream projects, with Ubuntu-focused defaults and a cleaner install flow:
- installs build dependencies and DKMS tooling
- extracts and installs
firmware.bin - extracts and installs the optional sensor calibration
.datfiles by default - installs the kernel module through DKMS
- blacklists
bdc_pci - installs a lightweight systemd suspend/resume hook by default
- runs basic post-install validation
The main entry point is install_facetimehd_ubuntu.sh.
The script is designed to be:
- opinionated toward Ubuntu 24.04
- safe to rerun
- explicit about Secure Boot risks
- able to uninstall what it installed
It is not the upstream driver itself. At runtime it pulls from:
patjak/facetimehdpatjak/facetimehd-firmware- Apple Boot Camp package files for calibration extraction
Running the installer with no flags will:
- verify the OS, kernel, model, and PCI camera presence
- install required Ubuntu packages
- clone the upstream repos into a temporary working directory
- install firmware and calibration files
- build and install the driver through DKMS
- install the
bdc_pciblacklist and suspend hook - load the module and run validation checks
Defaults worth knowing:
- driver ref:
0.6.13 - firmware ref:
master - calibration: enabled
- suspend hook: enabled
- validation: enabled
- persistent modules-load config: disabled unless requested
Install with defaults:
sudo ./install_facetimehd_ubuntu.shShow help:
./install_facetimehd_ubuntu.sh --helpInstall without calibration:
sudo ./install_facetimehd_ubuntu.sh --skip-calibrationKeep the working directory for inspection:
sudo ./install_facetimehd_ubuntu.sh --keep-workdirUninstall the DKMS module and related config:
sudo ./install_facetimehd_ubuntu.sh --uninstallAlso remove installed firmware and calibration files during uninstall:
sudo ./install_facetimehd_ubuntu.sh --uninstall --remove-firmware- Run the script as
rootviasudo. - The primary supported target is Ubuntu
24.04.x. - The primary supported hardware target is late-2013 A1398 machines detected as
MacBookPro11,2orMacBookPro11,3. --force-unsupportedexists, but it bypasses the main safety checks.- If Secure Boot is enabled, the DKMS build may succeed while the module still fails to load until the key enrollment side is handled.
- Logs are written to
/var/log/facetimehd-installer-YYYYMMDD-HHMMSS.log.
The script includes a built-in --help screen. The most useful flags are:
--skip-calibration--skip-suspend-hook--skip-validation--modules-load--driver-ref REF--firmware-ref REF--workdir DIR--keep-workdir--force-unsupported--yes--uninstall--remove-firmware
This repository is intentionally small. It is a packaging and automation layer for a single installation script, not a fork of the driver source tree.