mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Fix Bluetooth on T2 Macs by loading hci_bcm4377 module (#5145)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user