Score:0

Can't build camera driver for MacAir on Ubuntu 21.10

lu flag

I followed the recommended way to install the driver for the camera on my MacAir running Ubuntu 21.10:

sudo apt-get install git
sudo apt-get install curl xzcat cpio
git clone https://github.com/patjak/facetimehd-firmware.git
cd facetimehd-firmware
make
sudo make install
cd ..
sudo apt-get install kmod libssl-dev checkinstall
git clone https://github.com/patjak/bcwc_pcie.git
cd bcwc_pcie
make
sudo make install
sudo depmod
sudo modprobe -r bdc_pci
sudo modprobe facetimehd
sudo nano /etc/modules

Added the line facetimehd, write and close.

But when I started building the driver, I got:

skipping BTF generation for facetimehd.ko due to unavailability of vmlinux

I looked for vmlinux which was not to be found on my system. I understand that it is extracted from vmlinuz (in /boot).

I am not sure how to get vmlinux for my kernel linux-headers-5.13.0-25-generic. How do I extract from vmlinuz, and where do I put it to be able to build the facetimehd.ko?

chili555 avatar
cn flag
I don't believe this is an error. I believe that the facetimehd.ko is built and installed nonetheless. Are there any errors when you modprobe the driver?
jp2318 avatar
lu flag
You are right. I panicked - I finished the sequence of the commands and after reboot I could see myself in cheese. The quality of the video is low but this is different problem. Thanks for your help.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.