- Linux Mint Forums
- «[SOLVED] Need webcam driver for MacBook»
- Re: «Need webcam driver for MacBook»
- Re: «Need webcam driver for MacBook»
- Re: «Need webcam driver for MacBook»
- Re: «Need webcam driver for MacBook»
- Re: «Need webcam driver for MacBook»
- Re: «Need webcam driver for MacBook»
- Re: «Need webcam driver for MacBook»
- How to install Mac keyboard and trackpad drivers
- 2 Answers 2
- Preparation
- Installation
- Making the modules load at boot time — optional
- Configuring the Touchbar module
- Fixing suspend
- Possible Issues
Linux Mint Forums
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
Epijonix Level 1
Posts: 13 Joined: Mon Jun 17, 2019 9:07 pm Location: Netherlands
«[SOLVED] Need webcam driver for MacBook»
Post by Epijonix » Sat Mar 13, 2021 6:09 pm
Hello guys and gals,
I am looking for a webcam driver for my macbook air. Anyone can help?
below the machine specs
System:
Host: berg-MacBookAir Kernel: 4.15.0-128-generic x86_64 bits: 64
compiler: gcc v: 7.5.0 Desktop: MATE 1.20.1 Distro: Linux Mint 19.1 Tessa
base: Ubuntu 18.04 bionic
Machine:
Type: Laptop System: Apple product: MacBookAir7,1 v: 1.0 serial:
Mobo: Apple model: Mac-9F18E312C5C2BF0B v: MacBookAir7,1 serial:
UEFI: Apple v: 194.0.0.0.0 date: 04/16/2020
Battery:
ID-1: BAT0 charge: 24.6 Wh condition: 33.4/38.8 Wh (86%)
model: DP bq20z451 status: Discharging
CPU:
Topology: Dual Core model: Intel Core i5-5250U bits: 64 type: MT MCP
arch: Broadwell rev: 4 L2 cache: 3072 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 12800
Speed: 1600 MHz min/max: 500/2700 MHz Core speeds (MHz): 1: 1234 2: 1083
3: 1093 4: 1056
Graphics:
Device-1: Intel HD Graphics 6000 vendor: Apple driver: i915 v: kernel
bus ID: 00:02.0
Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa
resolution: 1366×768~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 6000 (BDW GT3)
v: 4.6 Mesa 20.0.8 direct render: Yes
Audio:
Device-1: Intel Broadwell-U Audio vendor: Apple driver: snd_hda_intel
v: kernel bus ID: 00:03.0
Device-2: Intel Wildcat Point-LP High Definition Audio
driver: snd_hda_intel v: kernel bus ID: 00:1b.0
Device-3: Broadcom and subsidiaries 720p FaceTime HD Camera
driver: bdc-pci bus ID: 02:00.0
Sound Server: ALSA v: k4.15.0-128-generic
Network:
Device-1: Broadcom and subsidiaries BCM4360 802.11ac Wireless Network
Adapter
vendor: Apple driver: wl v: kernel port: efa0 bus ID: 03:00.0
IF: wlp3s0 state: up mac:
Drives:
Local Storage: total: 113.00 GiB used: 28.05 GiB (24.8%)
ID-1: /dev/nvme0n1 vendor: Apple model: SSD AP0128H size: 113.00 GiB
Partition:
ID-1: / size: 110.23 GiB used: 28.05 GiB (25.4%) fs: ext4
dev: /dev/nvme0n1p2
Sensors:
System Temperatures: cpu: 49.5 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 184 Uptime: 17m Memory: 3.76 GiB used: 884.9 MiB (23.0%)
Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20
inxi: 3.0.27
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: «Need webcam driver for MacBook»
Post by hglee » Sat Mar 13, 2021 7:16 pm
Epijonix wrote: ⤴ Sat Mar 13, 2021 6:09 pm Hello guys and gals,
I am looking for a webcam driver for my macbook air. Anyone can help?
Thanks in advance
Last time I checked — see this How To article — you have to obtain the Apple iSight device driver file AppleUSBVideoSupport (see the file’s download link in the How To) from early Mac OSX, in addition to the isight-firmware-tools package in the Mint repository.
sudo apt install isight-firmware-tools
Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU — 14″ WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
Epijonix Level 1
Posts: 13 Joined: Mon Jun 17, 2019 9:07 pm Location: Netherlands
Re: «Need webcam driver for MacBook»
Post by Epijonix » Sat Mar 13, 2021 7:32 pm
Thanks for your message. I checked and I already have the isight-firmware-tools installed as well as AppleUSBVideoSupport files. should I try to installed in a certain order?
Re: «Need webcam driver for MacBook»
Post by hglee » Sat Mar 13, 2021 7:37 pm
Epijonix wrote: ⤴ Sat Mar 13, 2021 7:32 pm Hello hglee,
Thanks for your message. I checked and I already have the isight-firmware-tools installed as well as AppleUSBVideoSupport files. should I try to installed in a certain order?
It has been too long ago since I’ve done it.
See the instructions in this How To article
Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU — 14″ WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
Epijonix Level 1
Posts: 13 Joined: Mon Jun 17, 2019 9:07 pm Location: Netherlands
Re: «Need webcam driver for MacBook»
Post by Epijonix » Sun Mar 14, 2021 8:56 am
Thanks hglee,
I have followed that post before and I am still on the dark with the webcam. I tried with cheese and zoom and still no device is found. I wonder if my webcam could be damaged.
Re: «Need webcam driver for MacBook»
Post by hglee » Sun Mar 14, 2021 12:10 pm
Epijonix wrote: ⤴ Sun Mar 14, 2021 8:56 am Thanks hglee,
I have followed that post before and I am still on the dark with the webcam. I tried with cheese and zoom and still no device is found. I wonder if my webcam could be damaged.
If I were determined to get it working, one other thing I’d try is to reinstall MacOS, for two objectives: First, to see if the webcam still works. Second, to grab a copy of the working driver file. Then I’d reinstall Mint on that MacBook, knowing that the webcam and its driver do both work, together.
Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU — 14″ WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
Epijonix Level 1
Posts: 13 Joined: Mon Jun 17, 2019 9:07 pm Location: Netherlands
Re: «Need webcam driver for MacBook»
Post by Epijonix » Sun Mar 14, 2021 6:03 pm
That could very well be the last options I have. I think i have tried most things to troubleshoot we camera function.
Could you point me to how to copy the mac os driver when installed back on my laptop. either a link or your steps to do so.
Epijonix Level 1
Posts: 13 Joined: Mon Jun 17, 2019 9:07 pm Location: Netherlands
Re: «Need webcam driver for MacBook»
Post by Epijonix » Tue Mar 16, 2021 12:26 pm
I got the webcam to work finally
I came across the following Linux driver for the Apple FacetimeHD PCIe webcams. https://github.com/patjak/bcwc_pcie/wiki
I hope this helps others as it helped me
Best to you all and thanks for your help guys and gals
- Important Notices
- ↳ Rules & Notices
- ↳ Releases & Announcements
- ↳ Main Edition Support
- ↳ Beginner Questions
- ↳ Installation & Boot
- ↳ Software & Applications
- ↳ Hardware Support
- ↳ Graphics Cards & Monitors
- ↳ Printers & Scanners
- ↳ Storage
- ↳ Sound
- ↳ Networking
- ↳ Virtual Machines
- ↳ Desktop & Window Managers
- ↳ Cinnamon
- ↳ MATE
- ↳ Xfce
- ↳ Other topics
- ↳ Non-technical Questions
- ↳ Tutorials
- Debian Edition Support
- ↳ LMDE Forums
- ↳ Beginner Questions
- ↳ Installation & Boot
- ↳ Software & Applications
- ↳ Hardware Support
- ↳ Networking
- ↳ Tutorials
- ↳ Other Topics & Open Discussion
- ↳ LMDE Archive
- Interests
- ↳ Gaming
- ↳ Scripts & Bash
- ↳ Programming & Development
- Customization
- ↳ Themes, Icons & Wallpaper
- ↳ Compiz, Conky, Docks & Widgets
- ↳ Screenshots
- ↳ Your Artwork
- Chat
- ↳ Introduce Yourself
- ↳ Chat about Linux Mint
- ↳ Chat about Linux
- ↳ Open Chat
- ↳ Suggestions & Feedback
- International
- ↳ Translations
- ↳ Deutsch — German
- ↳ Español — Spanish
- ↳ Français — French
- ↳ Italiano — Italian
- ↳ Nederlands — Dutch
- ↳ Português — Portuguese
- ↳ Русский — Russian
- ↳ Suomi — Finnish
- ↳ Other Languages
- ↳ Čeština-Slovenčina — Czech-Slovak
- ↳ Magyar — Hungarian
- ↳ 日本語 — Japanese
- ↳ Polski — Polish
- ↳ Svenska — Swedish
- ↳ Українська — Ukrainian
Powered by phpBB® Forum Software © phpBB Limited
How to install Mac keyboard and trackpad drivers
I have recently installed Ubuntu on my Mac book Pro 2016, and noticed that the built in keyboard, and the track-pad are frozen. I have looked up how to install the drivers but I don’t understand a how to use GitHub and got lost really quick. What is the fastest way I can get these drivers installed and working? I am using an external keyboard and mouse for now but would not like to in the long run.
After spending many hours on the exact same issue, I finally ran across this link: wiki.t2linux.org/guides/dkms/#installing-modules I am using a Macbook 15,1 (15″ 2018 MBP) and Ubuntu 20.04.
2 Answers 2
Note that two of the steps (about loading the modules either at boot or immediately) are optional (and have been marked as such), and should not be necessary for Ubuntu.
Preparation
First install the dkms module
Next check that your kernel isn’t outdated (or your distribution uses different module versions from those used later) by running:
dkms status or ls -l /usr/src
If the version of apple-bce is 0.1 then uninstall the old modules (to avoid incompatibility issues):
sudo dkms uninstall -m apple-bce -v 0.1 sudo dkms uninstall -m apple-ibridge -v 0.1 sudo rm -r /usr/src/apple-bce-0.1 sudo rm -r /usr/src/apple-ibridge-0.1 sudo rm -r /var/lib/dkms/apple-bce sudo rm -r /var/lib/dkms/apple-ibridge
Installation
- Install the BCE (Buffer Copy Engine) module for Keyboard and Audio
- If you are on Arch, then use Aunali1’s apple-bce-dkms-git package
- Otherwise, run
sudo git clone https://github.com/t2linux/apple-bce-drv /usr/src/apple-bce-r183.c884d9c
PACKAGE_NAME="apple-bce" PACKAGE_VERSION="r183.c884d9c" MAKE[0]="make KVERSION=$kernelver" CLEAN="make clean" BUILT_MODULE_NAME[0]="apple-bce" DEST_MODULE_LOCATION[0]="/kernel/drivers/misc" AUTOINSTALL="yes"
- Run sudo git clone https://github.com/t2linux/apple-ib-drv /usr/src/apple-ibridge-0.1
- Run sudo dkms install -m apple-ibridge -v 0.1 . If on a live ISO, use sudo dkms install -m apple-ibridge -v 0.1 -k x.x.x-mbp instead and change x.x.x-mbp to the kernel that you have installed, as by default dkms will try to build the module for the kernel that the live ISO is using, which will most likely be older.
sudo modprobe apple_bce sudo modprobe apple_ib_tb sudo modprobe apple_ib_als
The touchbar and the keyboard should now work.
For audio some additional configuration is required, see Audio config files.
Making the modules load at boot time — optional
In Ubuntu, these should already be set:
echo "apple-bce apple-ib_tb apple-ib-als brcmfmac" >> /etc/modules-load.d/t2.conf
If you don’t want (for example) the touch bar modules, you can omit them from this command. brcmfmac is needed to use the internal Wi-Fi chip, refer to the Wi-Fi guide for details on how to set that up.
Configuring the Touchbar module
The Touchbar module offers some modes to set. In /etc/modprobe.d/apple-tb.conf , set fnmode (options apple-ib-tb fnmode=x) to one of the following options:
- 0: Only show F1-F12
- 1: Show media and brightness controls, use the fn key to switch to F1-12
- 2: Show F1-F12, use the fn key to switch to media and brightness controls
- 3: Only show media and brightness controls
- 4: Only show the escape key
Fixing suspend
#!/bin/sh if [ "$" = "pre" ]; then modprobe -r apple_ib_tb hid_apple elif [ "$" = "post" ]; then modprobe hid_apple apple_ib_tb fi
sudo chmod 755 /lib/systemd/system-sleep/rmmod_tb.sh sudo chown root:root /lib/systemd/system-sleep/rmmod_tb.sh
This unloads the Touchbar modules as they can cause issues for suspend.
Possible Issues
The apple_ib_als module can cause issues, if you find your computer hanging at shutdown, or having BCE errors at boot, try blacklisting it by running
sudo sh -c "echo blacklist apple-ib-als" >> /etc/modprobe.d/blacklist.conf
or removing it from /etc/modules-load.d/t2.conf .