Skip to content

Instantly share code, notes, and snippets.

@zcot
Last active April 7, 2020 13:28
Show Gist options
  • Save zcot/5be84385c637cc7dacb1bc8c793bf77d to your computer and use it in GitHub Desktop.
Save zcot/5be84385c637cc7dacb1bc8c793bf77d to your computer and use it in GitHub Desktop.
# FIRMWARE SECTION:
install git software package:
$ apt install git
Clone the git repository with:
$ git clone https://github.com/patjak/facetimehd-firmware.git
change to this new clone facetime directory:
$ cd facet[PRESS TAB KEY FOR AUTOCOMPLETE NAME]
build the package from source code there:
$ make
install the newly compiled package into the system:
$ sudo make install
if message says "Copying firmware into '/usr/lib/firmware/facetimehd'",
then next run this command:
$ sudo cp /usr/lib/firmware/facetimehd/firmware.bin /lib/firmware/facetimehd/firmware.bin
firmware is done.
# SOFTWARE SECTION:
reset terminal back to home directory:
$ cd
install dependency packages:
$ apt install libssl-dev checkinstall
Clone the git repository with:
$ git clone https://github.com/patjak/bcwc_pcie.git
change to this new cloned bcwc_pcie source directory:
$ cd bcwc_pcie
build the package from source code there:
$ make
generate dpkg
$ sudo checkinstall
install the newly compiled module into the system:
$ sudo make install
kernel location:
$ sudo depmod
unload a conflicting kernel module:
$ sudo modprobe -r bdc_pci
load the module directly now:
$ sudo modprobe facetimehd
kernel module section is done.
test the cam!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment