From 5b8ee60cc42e3701446397afdabfb63f5dfce3a5 Mon Sep 17 00:00:00 2001 From: sadd al Date: Mon, 13 Oct 2025 09:19:50 +0500 Subject: [PATCH 1/2] fix: make bcm43xx driver script vendor agnostic --- install/config/all.sh | 2 +- install/config/hardware/fix-apple-bcm43xx.sh | 11 ----------- install/config/hardware/fix-bcm43xx.sh | 10 ++++++++++ 3 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 install/config/hardware/fix-apple-bcm43xx.sh create mode 100644 install/config/hardware/fix-bcm43xx.sh 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..d6eebd86 --- /dev/null +++ b/install/config/hardware/fix-bcm43xx.sh @@ -0,0 +1,10 @@ +# Install Wi-Fi drivers for Broadcom chips: +# - BCM4360 (2013–2015) +# - BCM4331 (2012, early 2013) + +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 From a67391b3ea03102e6bdb3d25fb9aa0dc18dc8dc5 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Wed, 15 Oct 2025 10:53:29 -0400 Subject: [PATCH 2/2] Clarify Broadcom chip support comments --- install/config/hardware/fix-bcm43xx.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/config/hardware/fix-bcm43xx.sh b/install/config/hardware/fix-bcm43xx.sh index d6eebd86..5078f69e 100644 --- a/install/config/hardware/fix-bcm43xx.sh +++ b/install/config/hardware/fix-bcm43xx.sh @@ -1,6 +1,6 @@ -# Install Wi-Fi drivers for Broadcom chips: -# - BCM4360 (2013–2015) -# - BCM4331 (2012, early 2013) +# 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)