patjak / facetimehd

Reverse engineered Linux driver for the FacetimeHD (Broadcom 1570) PCIe webcam
GNU General Public License v2.0
1.36k stars 160 forks source link

Error installing Ubuntu 18.04 Macbook Pro model A1708 #202

Closed JohnDeeBDD closed 4 years ago

JohnDeeBDD commented 4 years ago

Fresh install from USB. I overwrote the MacOS. Was that dumb?

Trying the accepted answer here https://askubuntu.com/questions/990218/camera-not-working-on-macbook-pro I ran

sudo apt-get install git sudo apt-get install curl xzcat cpio git clone https://github.com/patjak/facetimehd-firmware.git cd facetimehd-firmware

xzcat doesn't seam to be working, so I ran:

sudo apt-get install xz-utils

Then I did a search and replace in the Makefile replacing xzcat with xz-utils

make

I get:

Checking dependencies for driver download... /bin/cpio Makefile:34: recipe for target 'AppleCameraInterface' failed make: *** [AppleCameraInterface] Error 1

JohnDeeBDD commented 4 years ago

The final analyzsis was that the binary wasn't being moved into /lib/firmware/facetimehd/. It looks like the installer couldn't move it, when I manually did it then sudo modprobe facetimehd and it worked!