OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
network high occasional DISPUTE

Remove the brcmfmac feature_disable quirk that blocks association on Apple Silicon Macs

omarchyarchlaptop
CORRECTED An auditor found the fix wrong or incomplete and rewrote it.
AUDIT NOTE

Cause verified exactly: install/hardware/apple/fix-brcmfmac-supplicant.sh matches 14e4:(43ba|43bb|43bc|43a3|43dc|4464|4488|4425|4433) on Apple DMI and writes options brcmfmac feature_disable=0x82000. 4425 and 4433 are in that list. But the fix does not stick: migrations/1786391100.sh re-applies the same flag on the next omarchy update, and its guard is grep -Eq '^[[:space:]]*options[[:space:]]+brcmfmac[[:space:]].*feature_disable=0x82000', so both the plain rm and, worse, the sed that comments the line out, fail the guard and get the option appended straight back. The record's own second option is the one that is guaranteed to be undone.

The cause above was not rewritten and may still contain the error described. The fix below is the corrected version.

Symptom

On an M1/M2 Mac running Asahi, wlan0 exists and scanning lists every network in range, but joining any network hangs and times out. NetworkManager reports it like a wrong password. After a couple of attempts the chip stops answering entirely and even scanning dies until a driver reload or reboot. Logs:


wpa_supplicant: wlan0: Trying to associate with aa:bb:cc:00:00:01 (SSID='...' freq=2462 MHz)
wpa_supplicant: FT: Invalid key management type (2)
wpa_supplicant: wlan0: Authentication with aa:bb:cc:00:00:02 timed out.
ieee80211 phy0: brcmf_msgbuf_query_dcmd: Timeout on response for query command
ieee80211 phy0: brcmf_cfg80211_scan: scan error (-12)

Cause

install/hardware/apple/fix-brcmfmac-supplicant.sh writes options brcmfmac feature_disable=0x82000 for any Apple machine whose Wi-Fi PCI ID appears in brcm_hw_ids.h. That ID list includes two Apple Silicon parts: 4425 (BCM4378, M1) and 4433 (BCM4387, M1 Pro/Max/Ultra, M2). The flag is meant to work around a WPA handshake that never completes on some Intel Macs. On BCM4378/BCM4387 it prevents association altogether.

Fix


cat /etc/modprobe.d/brcmfmac.conf   # expect: options brcmfmac feature_disable=0x82000
sudo rm /etc/modprobe.d/brcmfmac.conf
sudo reboot

Do **not** just comment the line out, because Omarchy's migration explicitly re-adds the option when no *active* feature_disable=0x82000 line is present, so a commented-out line is re-appended on the next omarchy update.

To keep it from coming back, mask the file instead of deleting it (the migration's tee -a then writes into /dev/null and modprobe reads nothing):


sudo ln -sfn /dev/null /etc/modprobe.d/brcmfmac.conf
sudo reboot
cat /sys/module/brcmfmac/parameters/feature_disable   # expect 0

Re-check that value after every omarchy update. If it is back to 0x82000, the file was recreated.

Verify

lspci -nn | grep -i network shows [14e4:4433] or [14e4:4425]. After reboot nmcli device wifi connect "<SSID>" associates normally and repeated scans keep working.

Sources

brcmfmac-feature-disable-breaks-apple-silicon-wifi