The built-in webcam of my MacBookPro 2015 is not recognized by Linux.
The previous solution relied on the github repo facetimehd-firmware, which the dev does not seem to maintain anymore...
Reiterating the previous solution
(worked for kernels 5.9.XXX...)
Upon installing the driver (manual by the developer: https://github.com/patjak/facetimehd/wiki/Installation#get-started-on-ubuntu), I get:
usr1@myubuntu ~/bcwc_pcie$ make
make -C /lib/modules/6.5.0-35-generic/build M=/home/usr1/bcwc_pcie modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-35-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using:
CC [M] /home/usr1/bcwc_pcie/fthd_ddr.o
/bin/sh: 1: gcc-12: not found
make[3]: *** [scripts/Makefile.build:251: /home/usr1/bcwc_pcie/fthd_ddr.o] Error 127
make[2]: *** [/usr/src/linux-headers-6.5.0-35-generic/Makefile:2039: /home/usr1/bcwc_pcie] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-35-generic'
make: *** [Makefile:12: all] Error 2
Do you have any idea what to do?