Patch/Compile/Install bluetooth driver for:
Macbook Pro models: 13,1 and 14,1 Macbook 12 inch models (2015 and later): 8,1 + 9,1 + 10,1
Kernels supported: >= 5.0
Patch info: (changes made by install.bluetooth.sh
are based off this patch)
https://github.com/christophgysin/linux/commit/ddf622a0a19697af473051c8019fffc1eb66efe7
Discussion of Macbook bluetooth issue: Dunedan/mbp-2016-linux#29
prerequisites Enure the necessary packages are installed:
fedora package install
dnf install dkms gcc kernel-devel make wget
ubuntu package install
apt install dkms gcc make linux-headers-generic wget
arch package install
pacman -S dkms gcc make linux-headers wget
- build and install dkms module (experimental feature)
this will build the module for the current/active kernel
and will auto-compile this module whenever you install a newer kernel
git clone https://github.com/leifliddy/macbook12-bluetooth-driver.git
cd macbook12-bluetooth-driver/
# run the following command as root or with sudo
./install.bluetooth.sh -i
# to uninstall the dkms feature run:
./install.bluetooth.sh -u
- (backup method if dkms didn't work) manually build and install module for current kernel
git clone https://github.com/leifliddy/macbook12-bluetooth-driver.git
cd macbook12-bluetooth-driver/
# run the following command as root or with sudo
./install.bluetooth.sh
reboot
install.bluetooth.sh
will auto-patch the hci_bcm.c
source file and then compile and install the hci_uart
module