Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script - MacBookPro12,1 1.0 - Ubuntu 22.04.4 LTS x86_64 - Intel Iris Graphics 6100 #294

Open
olmoscristianraul opened this issue Apr 12, 2024 · 1 comment

Comments

@olmoscristianraul
Copy link

olmoscristianraul commented Apr 12, 2024

#!/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";

@eburakova
Copy link

Many thanks for this, it works!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants