patjak / facetimehd-firmware

FacetimeHD firmware download and extraction tool
GNU General Public License v2.0
87 stars 29 forks source link

modprobe: FATAL: Module facetimehd not found in directory /lib/modules/5.4.0-60-generic #8

Open Petervanm opened 3 years ago

Petervanm commented 3 years ago

I use Zorin Linux. After an update video is not working anymore on my macbook. I removed facetimehd-firmware and did a reinstall, But so far no luck.

zanzibar7 commented 3 years ago

I performed an update recently, and have run into the same problem.

$ sudo modprobe facetimehd
modprobe: FATAL: Module facetimehd not found in directory /lib/modules/5.4.0-72-generic

Distro: Linux Mint 19.3 Tricia
Linux 5.4.0-72-generic #80~18.04.1-Ubuntu SMP Mon Apr 12 23:26:25 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Will explore further.

zanzibar7 commented 3 years ago

Using an old kernel version (Mint's 5.4.0-66-generic in my case) fixed the issue.

Snake-Sanders commented 2 years ago

I also recently have this issue, it was working few weeks ago.

sudo modprobe facetimehd
modprobe: FATAL: Module facetimehd not found in directory /lib/modules/5.4.0-88-generic

I am running a Linux Mint Cinnamon

cat /etc/issue
Linux Mint 20.2 Uma \n \l

After trying to re-install everything I noticed that the driver works fine, it was not a system update issue, the only problem is that after reboot the module goes missing, and trying to re-install it without a clean enviroment leads to different errors.

Here is the summary of the installation steps, assuming the modules are downloaded already. (For the complete steps I follow this page https://github.com/patjak/facetimehd/wiki/Installation#get-started-on-debian)

cd bcwc_pcie
make clean
make
sudo checkinstall
sudo depmod
sudo modprobe facetimehd
sudo su
echo facetimehd >> /etc/modules
exit

Here are some steps I have done differently:

  1. If make clean is not done before installing you might see other issue already reported (Facetimehd 'Exec format error').
  2. This time I am not following the recommended options in checkinstall and I say no to everything, because I want to add the local files in HOME to the release package.

now the camera works but after a reset the configuration is lost, so I only need to re run in the directory bcwc_pcie the commands:

sudo depmod
sudo modprobe facetimehd
  1. These two extra commands are not needed if we add facetimehd to the module list loaded at startup, as it was mentioned in the troubleshooting section which I did not to read :/ (sorry).
# echo facetimehd >> /etc/modules

I hope this help somebody else.

ab-chesspad commented 10 months ago

works with 5.15.0-88-generic Great thanks!

eburakova commented 3 months ago

Stopped working for 6.5.0-35-generic.

user1@machine ~/bcwc_pcie$ make
make -C /lib/modules/6.5.0-35-generic/build M=/home/user1/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/user1/bcwc_pcie/fthd_ddr.o
/bin/sh: 1: gcc-12: not found
make[3]: *** [scripts/Makefile.build:251: /home/user1/bcwc_pcie/fthd_ddr.o] Error 127
make[2]: *** [/usr/src/linux-headers-6.5.0-35-generic/Makefile:2039: /home/user1/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

Something it wrong with the dependancies or the compiler?.. Any ideas how to make the Mac camera working?

My system:

            .-/+oossssoo+/-.               user1@machine 
        `:+ssssssssssssssssss+:`           ------------ 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 22.04.4 LTS x86_64 
    .ossssssssssssssssssdMMMNysssso.       Host: MacBookPro12,1 1.0 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 6.5.0-35-generic 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 40 mins 
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 2141 (dpkg), 6 (flatpak), 14 (snap) 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.1.16 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 2560x1600 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME 42.9 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Adwaita 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru-prussiangreen-dark [GTK2/3] 
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: Yaru-prussiangreen [GTK2/3] 
  +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: gnome-terminal 
   /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: Intel i5-5257U (4) @ 3.100GHz 
    .ossssssssssssssssssdMMMNysssso.       GPU: Intel Iris Graphics 6100 
      -+sssssssssssssssssyyyssss+-         Memory: 5430MiB / 7835MiB 
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.