Last active
September 5, 2018 16:18
-
-
Save lpirola/78f292c01de1c49872a0439971d2e8e3 to your computer and use it in GitHub Desktop.
Script to clone, build and install firmware to current kernel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Installing FacetimeHD camera" | |
cd /tmp | |
git clone https://github.com/patjak/bcwc_pcie.git | |
cd bcwc_pcie/ | |
make | |
checkinstall | |
make install | |
printf "done\n\n"; | |
printf "Running depmod\n"; | |
depmod | |
printf "done\n\n"; | |
printf "Running modprobe -r bdc_pci\n"; | |
modprobe -r bdc_pci | |
printf "done\n\n"; | |
printf "Loading driver\n"; | |
modprobe facetimehd | |
echo facetimehd >> /etc/modules | |
printf "done\n\n"; | |
printf "Checking if all relevant modules are loaded" | |
lsmod | grep facetimehd | |
#Warning about ssl can be ignored - ref - https://github.com/DIGImend/digimend-kernel-drivers/commit/654ddfb5535cedbc1b3e49458d4e46fefb0a721d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment