From 7c13bd5801707c55c8a62c946c1ff023c09ba45f Mon Sep 17 00:00:00 2001 From: Federico Sapuppo Date: Wed, 1 Apr 2026 12:58:07 -0300 Subject: [PATCH] Fix Bluetooth on T2 Macs by loading hci_bcm4377 module (#5145) --- install/config/hardware/apple/fix-t2.sh | 1 + migrations/1774642699.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 migrations/1774642699.sh diff --git a/install/config/hardware/apple/fix-t2.sh b/install/config/hardware/apple/fix-t2.sh index 67d1644c..cbe3f88b 100644 --- a/install/config/hardware/apple/fix-t2.sh +++ b/install/config/hardware/apple/fix-t2.sh @@ -19,6 +19,7 @@ if lspci -nn | grep -q "106b:180[12]"; then sudo systemctl enable tiny-dfr.service echo "apple-bce" | sudo tee /etc/modules-load.d/t2.conf >/dev/null + echo "hci_bcm4377" | sudo tee -a /etc/modules-load.d/t2.conf >/dev/null echo "MODULES+=(apple-bce usbhid hid_apple hid_generic xhci_pci xhci_hcd)" | sudo tee /etc/mkinitcpio.conf.d/apple-t2.conf >/dev/null diff --git a/migrations/1774642699.sh b/migrations/1774642699.sh new file mode 100644 index 00000000..b8fbc834 --- /dev/null +++ b/migrations/1774642699.sh @@ -0,0 +1,7 @@ +echo "Load Bluetooth driver module on T2 Macs" + +if lspci -nn | grep -q "106b:180[12]"; then + if ! grep -q "hci_bcm4377" /etc/modules-load.d/t2.conf 2>/dev/null; then + echo "hci_bcm4377" | sudo tee -a /etc/modules-load.d/t2.conf >/dev/null + fi +fi