Skip to content

Instantly share code, notes, and snippets.

@PickledDragon
Created March 16, 2016 10:50
Show Gist options
  • Save PickledDragon/a359e51826e64a0be5b6 to your computer and use it in GitHub Desktop.
Save PickledDragon/a359e51826e64a0be5b6 to your computer and use it in GitHub Desktop.
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
@PickledDragon
Copy link
Author

To load the module in Fedora during startup

cd /etc/modules-load.d
echo "facetimehd" > facetimehd.conf

@PickledDragon
Copy link
Author

PickledDragon commented Apr 28, 2016

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

@PickledDragon
Copy link
Author

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