I've got a Macbook Air with Ubuntu installed, and I've had trouble in the past with my camera. I used patjak's solution from this forum thread, which I'll reiterate below.
sudo apt-get install git
sudo apt-get install curl xzcat cpio
git clone https://github.com/patjak/facetimehd-firmware.git
cd facetimehd-firmware
make
sudo make install
cd ..
sudo apt-get install kmod libssl-dev checkinstall
git clone https://github.com/patjak/bcwc_pcie.git
cd bcwc_pcie
make
sudo make install
sudo depmod
sudo modprobe -r bdc_pci
sudo modprobe facetimehd
sudo nano /etc/modules
**add line "facetimehd", write out (ctl+o) & close**
Now, this has worked for a while-- I've had to re-enter the code a few times after an update, but it worked afterwards. However, now it's officially not working anymore. I think the issue is after the sudo modprobe facetimehd
step, where I'm getting this output:
modprobe: ERROR: could not insert 'facetimehd': Exec format error
I'll be completely honest, I know practically nothing about coding (I know, "Then why are you using ubuntu," haha), so sorry if I sound like an utter newbie-- I am. Anyway, any idea what I ought to do next?