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