Script - MacBookPro12,1 1.0 - Ubuntu 22.04.4 LTS x86_64 - Intel Iris Graphics 6100
Opened this issue · 1 comments
#!/bin/bash
#Dejo el script utilizado en este equipo para que funcione la cámara.
#OS: Ubuntu 22.04.4 LTS x86_64
#Host: MacBookPro12,1 1.0
#Kernel: 6.5.0-27-generic
#Uptime: 30 mins
#Packages: 1927 (dpkg), 14 (flatpak), 11 (snap)
#Shell: bash 5.1.16
#Resolution: 2560x1600
#DE: GNOME 42.9
#WM: Mutter
#WM Theme: Adwaita
#Theme: Yaru-dark [GTK2/3]
#cons: Yaru [GTK2/3]
#Terminal: gnome-terminal
#CPU: Intel i7-5557U (4) @ 3.400GHz
#GPU: Intel Iris Graphics 6100
#Memory: 3082MiB / 15887MiB
#Adaptación a Fuente: https://github.com/patjak/facetimehd/wiki/Get-Started#firmware-extraction
sudo apt install xz-utils curl cpio git make gcc gcc-12
sudo apt-get install linux-headers-generic git kmod libssl-dev checkinstall
printf "Clonando directorio1\n";
git clone https://github.com/patjak/bcwc_pcie.git
cd bcwc_pcie
printf "Clonando directorio2\n";
git clone https://github.com/patjak/facetimehd-firmware.git
printf "Cambio nombre de directorios\n";
mv firmware firmware__
mv facetimehd-firmware firmware
cd bcwc_pcie/firmware
printf "Compiling firmware\n";
make
printf "done\n\n";
printf "Installing firmware\n";
sudo make install
printf "done\n\n";
cd ..
printf "Compiling driver\n";
make
printf "done\n\n";
printf "Installing driver\n";
sudo make install
printf "done\n\n";
printf "Running depmod\n";
sudo depmod
printf "done\n\n";
printf "modprobe remove bdc_pci (if it exists)\n";
sudo modprobe -remove --quiet bdc_pci
printf "done\n\n";
printf "Loading driver\n";
sudo modprobe facetimehd
printf "done\n\n";
Many thanks for this, it works!!