In some scenarios (distros), it produces faults for some reason. So, I’ll break down all the commands for the DKMS installation here.
DEVELOPMENT TOOLS
First, you’ll need the tools to compile the module.
For Ubuntu/Mint/Zorin, etc. installation:
sudo apt install build-essential dkms git
For Arch/Manjaro:
sudo pacman -S base-devel dkms git
For Fedora:
sudo dnf groupinstall "Development Tools"
sudo dnf install dkms git
FIRMWARE INSTALLATION
The following works for all distros:
cd ~/Downloads
git clone https://github.com/patjak/facetimehd-firmware.git
cd ~/Downloads/facetimehd-firmware
make
sudo make install
KERNEL MODULE INSTALLATION
Likewise, this works for all distros:
cd ~/Downloads
git clone https://github.com/patjak/bcwc_pcie.git
cd ~/Downloads/bcwc_pcie
sudo mkdir /usr/src/facetimehd-0.1
sudo cp -Rf ./* /usr/src/facetimehd-0.1
sudo dkms add -m facetimehd -v 0.1
sudo dkms build -m facetimehd -v 0.1
sudo dkms install -m facetimehd -v 0.1
sudo modprobe facetimehd
And that should do it.