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

Mabook air 7.2 Pop!_OS 22.04 (Ubuntu 22.04) SSL error #269

Open pasan93 opened 2 years ago

pasan93 commented 2 years ago

I've been trying to install the driver for couple of times, but still no luck. (most of the commands in the tutorial doesn't even work unless I run them on sudo)

Here's the error message:

make -C /lib/modules/5.17.5-76051705-generic/build M=/home/user/bcwc_pcie modules_install
make[1]: Entering directory '/usr/src/linux-headers-5.17.5-76051705-generic'
arch/x86/Makefile:154: CONFIG_X86_X32 enabled but no binutils support
  INSTALL /lib/modules/5.17.5-76051705-generic/extra/facetimehd.ko
  SIGN    /lib/modules/5.17.5-76051705-generic/extra/facetimehd.ko
At main.c:160:
- SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67
- SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75
sign-file: ./certs/signing_key.pem: No such file or directory
  DEPMOD  /lib/modules/5.17.5-76051705-generic
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-5.17.5-76051705-generic'
hovancik commented 2 years ago

Looks like you're missing some dependencies. Googling for bss_file suggests something with openssl.

When reading docs, # means you run it as root, while $ means regular user. That's how any documentation is written in Unix world.

pasan93 commented 2 years ago

Looks like you're missing some dependencies. Googling for bss_file suggests something with openssl.

When reading docs, # means you run it as root, while $ means regular user. That's how any documentation is written in Unix world.

Hi!

Thanks for the reply. I will try googling the above mentioned dependency.

Some of the commands doesn't run as a regular user, so I had to run them as root. Unless I run them as root, it pops out an error.

hovancik commented 2 years ago

Some of the commands doesn't run as a regular user, so I had to run them as root. Unless I run them as root, it pops out an error.

that's what I mean:

# means you run it as root, while $ means regular user.

pasan93 commented 2 years ago

Some of the commands doesn't run as a regular user, so I had to run them as root. Unless I run them as root, it pops out an error.

that's what I mean:

# means you run it as root, while $ means regular user.

Sorry I was not clear enough.

Some of the commands which are supposed to run as regular user doesn't run at all. So I had to run $ commands as #.

hovancik commented 2 years ago

Gotcha, I did an install few days ago and I believe all was good for me in that sense. I am on Debian though.

pasan93 commented 2 years ago

Gotcha, I did an install few days ago and I believe all was good for me in that sense. I am on Debian though.

I tried the steps on Ubuntu, Pop!_OS and Fedora.

Still no luck.

larsblumberg commented 1 year ago

Please see my answer for getting facetimehd to work on Pop_OS! 22.04 on a Macbook Air 7,1 at https://github.com/patjak/facetimehd/issues/275#issuecomment-1357458517: you need to create an X509 certificate.