From 3ff0ad61d8847d2e2d488304500982a418bbbebf Mon Sep 17 00:00:00 2001 From: Patrik Jakobsson Date: Wed, 6 Jan 2016 14:23:28 +0100 Subject: [PATCH] Update the firmware extraction instructions --- Get-Started.md | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/Get-Started.md b/Get-Started.md index 44a9d92..65e9119 100644 --- a/Get-Started.md +++ b/Get-Started.md @@ -5,7 +5,7 @@ General knowledge of WebCam support in linux: http://www.tldp.org/HOWTO/Webcam-H Getting the driver working is two steps: - * [Firmware extraction](#firmware-extraction): Either extract the firmware from OS X (the bootcamp one is unsupported at the moment) or from OS X packages as described [here](/patjak/bcwc_pcie/issues/14). + * [Firmware extraction](#firmware-extraction): Run the script to download and install the firmware from Apple. Gentoo users using the [ebuild](#get-started-on-gentoo) skip this step. * [Installation](#installation): Installing the driver itself. @@ -13,22 +13,27 @@ See [Additional Notes](#additional-notes) below in case you come across any issu ## Firmware extraction -You want to dump the FaceTime drivers while still under OS X. Commands below works on OS X 10.11.2: * Download the driver (zip version) and extract it -* Under bcwc_pcie-master/firmware edit the "extract_from_ox.sh" script -* Line 2, replace `IN=AppleCameraInterface` with `IN=/System/Library/Extensions/AppleCameraInterface.kext/Contents/MacOS/AppleCameraInterface` -* md5sum is missing from a vanilla OS X 10.11 installation, replace "md5sum" by "md5 -r" (lines 7 & 24) -* Line 5, replace the hash value so it states: `OSX_HASH=ccea5db116954513252db1ccb639ce95` -* Save and execute the script: `./extract_from_ox.sh` +* Under bcwc_pcie-master/firmware type "make" and then as root type "make install" * Result should be like: ``` - $ ./extract_from_osx.sh - Found matching hash (ccea5db116954513252db1ccb639ce95) - Firmware successfully extracted (4e1d11e205e5c55d128efa0029b268fe) +$ 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 ``` -* There should be a firmware.bin file created in the current directory. +``` +$ make install + +Copying firmware into '//usr/lib/firmware/facetimehd' +``` ## Installation @@ -270,4 +275,4 @@ And if none of the two above worked try: `mplayer -vo gl3 tv://` ## If you get a corrupted image in Cheese -This is because some linux applications does not support high resolution cameras. To fix this go to Cheese settings and change the resolution to something lower. Then turn the computer OFF, and ON again. (Not reboot). This should fix the corrupted image. +This is because some linux applications does not support high resolution cameras. To fix this go to Cheese settings and change the resolution to something lower. Then turn the computer OFF, and ON again. (Not reboot). This should fix the corrupted image. \ No newline at end of file