Repository navigation
Install b43-firmware for BCM4322 Wi-Fi (older MacBooks) - #11311
Infringer13 wants to merge 4 commits into
Conversation
Older MacBooks with Broadcom BCM4322 (14e4:432b) load the in-tree b43 driver but never get a wlan interface until AUR b43-firmware provides ucode16_mimo.fw. Extend the existing Broadcom hardware fix without changing the BCM4360/BCM4331 broadcom-wl-dkms path.
|
Broadcom/wifi leftover cluster (same driver class; DMI-gated; do not retarget BCM4331). Already in flight:
Related, not the same PR:
Prefer merge #11311 + #11434 as the firmware/resume pair rather than a third overlapping helper. No competing PR from me. |
|
Reviewed at 31c64fb against The install script fails as root and stops hardware setup.
So a fresh install on a BCM4322 machine with the AUR reachable fails finalization. When the AUR is unreachable it skips the firmware and carries on. The migration can't make up for this on new installs: the finalizer marks every shipped migration complete on a fresh install ( The migration works where it runs, but it can complete without doing its job. Run as the user, Related: #10994 reports this same chip ( What was checked: Next: this waits on the maintainer to decide how BCM4322 firmware should reach a fresh install. Options include a package in the Omarchy repository (which |
|
Not evidence for this chip. #10910 is BCM43224, PCI This pull request is BCM4322, PCI Both diffs edit |
`|| true` and the silent skip when the AUR was unreachable both let the migration exit 0 without the firmware, so omarchy-migrate marked it complete and never retried it. agents/skills/migrations.md asks a migration that cannot finish to exit non-zero and stay pending. omarchy-pkg-aur-add already returns early when the package is installed, so a machine that has the firmware completes without reaching the AUR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
|
Reviewed again, this time against current Pushed: the migration now stays pending until the firmware installs. Still open: the install script fails as root. On a disposable Omarchy worker, with
Image builds are worse off. What the maintainer is deciding: how What was checked: Related: #10910 (BCM43224, Next: this is waiting on the maintainer's decision on firmware delivery. Until then, the install-time branch must not fail the install. |
[Medium impact] The change affects Wi-Fi setup only on systems with BCM4322 hardware. The PR still needs the previously reported fix for firmware builds running as root before merging. Findings
SummaryAdds
Reviews (2) · Last reviewed commit: "Keep the BCM4322 migration check from ex..." · Reviewed by Greptile |
| if echo "$pci_info" | grep -q "14e4:432b"; then | ||
| echo "BCM4322 detected (b43 firmware required)" | ||
| if omarchy-pkg-aur-accessible; then | ||
| omarchy-pkg-aur-add b43-firmware |
There was a problem hiding this comment.
omarchy-apply-hardware runs as root, and omarchy-pkg-aur-add calls yay without switching users. On a fresh BCM4322 install, this tries to build b43-firmware as root, which makepkg refuses. The firmware stays missing and Wi-Fi remains unavailable, even when the AUR is reachable.
Build the package as a non-root user, or install a prebuilt package. Also cover --defer-provisioning, where the target user does not exist yet.
agents/skills/migrations.md asks for no test of a migration under test/: it runs once per machine and is frozen once it ships, so the test stops guarding anything. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
grep -q quits at the first match, so lspci can take SIGPIPE and the pipeline fails under the runner's pipefail, skipping the machines the migration targets and marking it done. migrations/1786137597.sh repairs the same mistake in the T2 check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: muse-wonder via pi, thinking high <noreply@pi.dev>
|
I pushed two more fixes to the migration, da56d43 and 17bcff8, after a second review of the commit I pushed yesterday. The install-time problem from my last comment hasn't changed and still waits on the maintainer. Pushed: the BCM4322 check in the migration no longer skips the machine it targets. Removed: the migration test I added yesterday. Still open: the install script runs What was checked: on a disposable Omarchy worker, with this branch merged onto Next: waiting on the maintainer's decision on firmware delivery. |
Summary
Older MacBooks with Broadcom BCM4322 (PCI
14e4:432b, Apple AirPort Extreme) load the in-treeb43driver but have no Wi-Fi interface until cut firmware is installed.linux-firmware-broadcomdoes not shipb43/ucode16_mimo.fw; the AUR packageb43-firmwaredoes.Symptoms (Omarchy 4.0.3, real hardware)
b43-phy0 ERROR: Firmware file "b43/ucode16_mimo.fw" not foundWIFI-HW: missing, nowlan0b43-firmware+ reloadb43:wlan0appears and associates normallyWhat this changes
install/hardware/fix-bcm43xx.shto detect14e4:432band installb43-firmwareviaomarchy-pkg-aur-addwhen the AUR is reachablebroadcom-wl-dkmspath unchangedRelated but different: #1143 covered mid-2010s BCM4360-style chips, not BCM4322.
Test plan
b43-firmwareinstalled andwlan0usablebroadcom-wl-dkmsonly (no regression)