patjak / facetimehd

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

Debian: Error 2, when running make command in bcwc_pcie directory - after succesfully extracting the firmware #286

Closed ghost closed 1 year ago

ghost commented 1 year ago

EDIT: Needed to reinstall the system, upon which I tried installing the drive again, which succeeded without issue. The other installation was quite fresh as well, the only difference in the procedure seem to be that I was logged in as root, rather than using sudo, upon running "make install" etc.

----- ORIGINAL POST ----- I extracted the firmware which went great (facetimehd). Upon attempting to execute the make command, after entering the bcwc_pcie folder, the following message is sent

make -C /lib/modules/5.10.0-22-amd64/build M=/home/user/bcwc_pcie modules
make[1]: Entering directory '/usr/lib/modules/5.10.0-22-amd64/build'
make[1]: *** No rule to make target 'modules'.  Stop.
make[1]: Leaving directory '/usr/lib/modules/5.10.0-22-amd64/build'
make: *** [Makefile:12: all] Error 2

I found other posts with issues such as needing to avoid spaces in the path-name or needing to install linux headers; I did install linux headers, as well as all the dependencies. lsmod does not display the camera, while lspci does show facetimehd camera. MacBook Pro 2015, debian.