Repository navigation
[Intel Mac P10] Recover the T2 BCM4377 saved-off Wi-Fi firmware stall - #3
Open
iJustinCabral wants to merge 2 commits into
Conversation
Saved-off Wi-Fi on MacBookAir9,1 can boot into a firmware query stall that previously cleared only after a reboot. Watch that stall and apply a bounded reset. The pre-T2 BCM4350/BCM43602 sleep rebind is unchanged. Follow-up to intel-mac/p10-broadcom-wifi. Taken from fix-t2-vintage-mac-support at 3063fa2.
--disable only disabled the unit, so the next hardware setup pass or another user's pending migration enabled it again. Record a machine-wide opt-out that automatic setup and the migration honor; explicit setup re-enables recovery and clears it once setup succeeds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
iJustinCabral
marked this pull request as ready for review
September 30, 2026 17:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to [Intel Mac P10] Consolidate Broadcom calibration and sleep recovery (omacom#12688). Part of the Intel Mac series.
Problem
On MacBookAir9,1 with BCM4377b, booting with Wi-Fi saved off can leave the firmware unresponsive when Wi-Fi is enabled later: NetworkManager shows the radio on, but scanning and association fail.
Change
omarchy-t2-wifi-recovery.servicewatches for the exactbrcmf_msgbuf_query_dcmdtimeout on the current PHY and schedules the driver's existing Wi-Fi firmware reset. It makes at most three attempts per boot, 120 seconds apart, and never forces Wi-Fi on or changes MPC or radio preferences.14e4:4488). Other T2/BCM4377b models need--allow-untested-model. BCM4364 is always excluded.omarchy setup t2-wifi-recovery --disablepreviously only disabled the unit, so the next hardware setup pass or another user's pending migration re-enabled it. It now also records a machine-wide opt-out (/var/lib/omarchy/t2-wifi-recovery-disabled). Automatic setup and the migration honor it. Running setup explicitly re-enables recovery, and the opt-out is cleared only after that succeeds.Relationship to other P10 follow-ups
Independent. The suspend follow-up neither requires nor installs this watcher, so the two can merge in either order.
Validation
Shell and Python fixtures cover eligibility, idempotence, administrator units and overrides, the standalone-service conflict, the migration, and disable → hardware setup pass → pending migration → explicit re-enable → refused setup keeps the opt-out. Hardware: the recovery was validated on a saved-off stock boot of MacBookAir9,1 (combined integration install; see
docs/t2-wifi-recovery.md). This is a recovery workaround, not a fix for the firmware fault. The opt-out change itself is tested with fixtures only.🤖 Generated with Claude Code