diff --git a/install/config/all.sh b/install/config/all.sh index 52516f19..2304d8e9 100644 --- a/install/config/all.sh +++ b/install/config/all.sh @@ -26,7 +26,7 @@ run_logged $OMARCHY_INSTALL/config/hardware/usb-autosuspend.sh run_logged $OMARCHY_INSTALL/config/hardware/ignore-power-button.sh run_logged $OMARCHY_INSTALL/config/hardware/nvidia.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-f13-amd-audio-input.sh -run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-bcm43xx.sh +run_logged $OMARCHY_INSTALL/config/hardware/fix-bcm43xx.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-spi-keyboard.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-suspend-nvme.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-t2.sh diff --git a/install/config/hardware/fix-apple-bcm43xx.sh b/install/config/hardware/fix-apple-bcm43xx.sh deleted file mode 100644 index 1311a491..00000000 --- a/install/config/hardware/fix-apple-bcm43xx.sh +++ /dev/null @@ -1,11 +0,0 @@ -# Install Wi-Fi drivers for Broadcom chips on MacBooks: -# - BCM4360 (2013–2015) -# - BCM4331 (2012, early 2013) - -pci_info=$(lspci -nnv) - -if echo "$pci_info" | grep -q "106b:" && - (echo "$pci_info" | grep -q "14e4:43a0" || echo "$pci_info" | grep -q "14e4:4331"); then - echo "Apple BCM4360 / BCM4331 detected" - sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers -fi diff --git a/install/config/hardware/fix-bcm43xx.sh b/install/config/hardware/fix-bcm43xx.sh new file mode 100644 index 00000000..5078f69e --- /dev/null +++ b/install/config/hardware/fix-bcm43xx.sh @@ -0,0 +1,10 @@ +# Install Wi-Fi drivers for Broadcom chips found in some MacBooks, as well as other systems: +# - BCM4360 (2013–2015 MacBooks) +# - BCM4331 (2012, early 2013 MacBooks) + +pci_info=$(lspci -nnv) + +if (echo "$pci_info" | grep -q "14e4:43a0" || echo "$pci_info" | grep -q "14e4:4331"); then + echo "BCM4360 / BCM4331 detected" + sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers +fi