Repository navigation
Conversation
This was referenced Oct 1, 2026
This was referenced Oct 9, 2026
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.
Summary
14e4:43a3).brcmfmacbefore sleep and bind it again after wake, forcing a clean firmware initialization.Failure
This was reproduced twice on a MacBook10,1 with kernel 7.1.8 and the in-tree
brcmfmacdriver.After a successful S3 suspend, the BCM4350 firmware stopped answering as soon as the machine resumed. The journal then repeated:
Toggling Wi-Fi could not recover the device because that only changes NetworkManager/rfkill state. A later suspend attempt also failed when the already-unresponsive firmware did not acknowledge its D3 transition:
A reboot recovered Wi-Fi by initializing the firmware again.
Approach
The service keeps this exact PCI device unbound for the sleep transaction. It therefore avoids relying on the unresponsive firmware power transition and binds the device after resume so NetworkManager receives a freshly initialized radio.
The workaround is deliberately limited to Apple hardware with PCI ID
14e4:43a3; it does not cycle otherbrcmfmacradios.Testing
bash -non the helper, installer, migration, and testtest/shell.d/brcmfmac-suspend-test.shtest/shell.d/brcmfmac-supplicant-test.shtest/shell.d/unowned-system-paths-test.shtest/shell.d/systemd-test.shtest/clisystemd-analyze verify install/hardware/apple/omarchy-brcmfmac-suspend.servicesleep.targetbrcmfmacresponse timeouts and zero post-resume scan failuresAn earlier exploratory module-unload approach was discarded because udev immediately reloaded the module before suspend. That exploratory cycle also coincided with an
snd_hda_codeckernel oops and a hard lock. The final implementation does not unload modules; both the corrected detached-device cycle and the actual service integration cycle completed cleanly.