Put the following script into /etc/kernel/postinst.d/99-install-facetime-camera.sh which will update each time the kernel gets updated, then run once “/etc/kernel/postinst.d/99-install-facetime-camera.sh $(uname -r)” to start it. I needed to reboot before it worked.#!/bin/bashset -e
export CONFIG_MODULE_SIG=nexport CONFIG_MODULE_SIG_ALL=nexport KERNELRELEASE=${1}
echo “Installing FacetimeHD camera for $KERNELRELEASE”cd /tmpgit clone https://github.com/patjak/bcwc_pcie.gitcd bcwc_pcie/firmwaremakemake installcd ..makemake installrm -rf /tmp/bcwc_pcie
if [ ! -d “/etc/modules-load.d” ]; thenmkdir -p “/etc/modules-load.d”fi
cat > “/etc/modules-load.d/facetimehd.conf” &l…
Read more…