Created
March 16, 2016 10:50
-
-
Save PickledDragon/a359e51826e64a0be5b6 to your computer and use it in GitHub Desktop.
This file contains 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
Follow https://github.com/patjak/bcwc_pcie | |
## Firmware extraction | |
Download the driver (zip version) and extract it by following these steps: | |
* Clone the git repository with `$ git clone https://github.com/patjak/bcwc_pcie.git` | |
* Change to the firmware directory with `$ cd bcwc_pcie/firmware` | |
* Under bcwc_pcie-master/firmware type `$ make` and then as root type `# make install` | |
* Result should be like: | |
``` | |
$ make | |
Dowloading the driver, please wait... | |
Found matching hash from OS X, El Capitan 10.11.2 | |
==> Extracting firmware... | |
--> Decompressing the firmware using gzip... | |
--> Deleting temporary files... | |
--> Extracted firmware version 1.43.2 | |
``` | |
``` | |
# make install | |
Copying firmware into '//usr/lib/firmware/facetimehd' | |
``` | |
## Installation |
To load the module in Fedora during startup
cd /etc/modules-load.d
echo "facetimehd" > facetimehd.conf
If you screw up
Go to the folder containing facetimehd.ko adn try:
modprobe v4l2-common
modprobe videobuf2-dma-sg
modprobe videobuf2-core
rmmod facetimehd
modprobe -r bdc_pci
insmod ./facetimehd.ko dyndbg==pmf
dmesg
get AppleCameraInterface
copy to bcwc_pcie/firmware
make
make install
cd ..
make clean
make
make install
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Get Started on Fedora
Tested on Fedora 23. - Extract firmware file as described in Firmware extraction
sudo su -
dnf install kernel-devel
git clone https://github.com/patjak/bcwc_pcie.git
cd bcwc_pcie
make
make install
depmod
modprobe facetimehd
lsmod | grep facetimehd
Everything should load fine. Check with command dmesg, the main driver should have loaded and ignore the error about the missing .dat file in the firmware directory (these are the calibration files, we do not have them yet).
Time for testing: launch Cheese and enjoy your own smily face :-)