'WiFi not working in Ubuntu20 on MacBookPro 13 (2020), dual booting, trinidad wifi drivers issue
After purchasing new equipment which is MacBook Pro 13
- Catalina 10.15.7
- 4 x USB-C
- release year: 2020
- model 16,2
I decided to install Ubuntu 20 as dual boot.
Previously I installed Ubuntu from raw .iso but it has created too many problems with drivers:
- keyboard
- touchpad
- WIFI !
Then I came across to ready .ISO Image dedicated for MacBooks generally - https://github.com/marcosfad/mbp-ubuntu
While I was reading the article, I found mention about not working WiFi with MBP 16,1 (I was hoping on 16,2 is working)... after Ubuntu installed I noticed WiFi problem (no adapters detected) - this is where hell began...
I tried several ways to solve this problem (mainly mentioned below) - unsuccessfully.
ioreg -l | grep C-4364 | tr "|" "\n"
"RequestedFiles" = ({"Firmware"="C-4364__s-B3/trinidad.trx","TxCap"="C-4364__s-B3/trinidad-X0.txcb","Regulatory"="C-4364__s-B3/trinidad-X0.clmb","NVRAM"="C-4364__s-B3/P-trinidad-X0_M-HRPN_V-u__m-7.7.txt"})
"images" = {"C-4364__s-B3/trinidad.trx"={"imagetype"="Firmware","required"=Yes,"imagename"="C-4364__s-B3/trinidad.trx"},"C-4364__s-B3/trinidad-X0.clmb"={"imagetype"="Regulatory","required"=Yes,"imagename"="C-4364__s-B3/trinidad-X0.clmb"},"C-4364__s-B3/trinidad-X0.txcb"={"imagetype"="TxCap","required"=No,"imagename"="C-4364__s-B3/trinidad-X0.txcb"},"C-4364__s-B3/P-trinidad-X0_M-HRPN_V-u__m-7.7.txt"={"imagetype"="NVRAM","required"=Yes,"imagename"="C-4364__s-B3/P-trinidad-X0_M-HRPN_V-u__m-7.7.txt"}}
ls -la /usr/share/firmware/wifi/C-4364__s-B3 | grep "trinidad"
lrwxr-xr-x 1 root wheel 32 28 maj 03:46 P-trinidad-ID_M-HRPN_V-m__m-7.9.txt -> P-trinidad_M-HRPN_V-m__m-7.9.txt
lrwxr-xr-x 1 root wheel 32 28 maj 03:46 P-trinidad-ID_M-HRPN_V-u__m-7.7.txt -> P-trinidad_M-HRPN_V-u__m-7.7.txt
lrwxr-xr-x 1 root wheel 32 28 maj 03:46 P-trinidad-X0_M-HRPN_V-m__m-7.9.txt -> P-trinidad_M-HRPN_V-m__m-7.9.txt
lrwxr-xr-x 1 root wheel 32 28 maj 03:46 P-trinidad-X0_M-HRPN_V-u__m-7.7.txt -> P-trinidad_M-HRPN_V-u__m-7.7.txt
lrwxr-xr-x 1 root wheel 32 28 maj 03:46 P-trinidad-X2_M-HRPN_V-m__m-7.9.txt -> P-trinidad_M-HRPN_V-m__m-7.9.txt
lrwxr-xr-x 1 root wheel 32 28 maj 03:46 P-trinidad-X2_M-HRPN_V-u__m-7.7.txt -> P-trinidad_M-HRPN_V-u__m-7.7.txt
lrwxr-xr-x 1 root wheel 32 28 maj 03:46 P-trinidad-X3_M-HRPN_V-m__m-7.9.txt -> P-trinidad_M-HRPN_V-m__m-7.9.txt
lrwxr-xr-x 1 root wheel 32 28 maj 03:46 P-trinidad-X3_M-HRPN_V-u__m-7.7.txt -> P-trinidad_M-HRPN_V-u__m-7.7.txt
-rw-r--r-- 1 root wheel 12950 1 wrz 07:05 P-trinidad_M-HRPN_V-m__m-7.9.txt
-rw-r--r-- 1 root wheel 12891 1 wrz 07:05 P-trinidad_M-HRPN_V-u__m-7.7.txt
lrwxr-xr-x 1 root wheel 13 28 maj 03:46 trinidad-ID.clmb -> trinidad.clmb
lrwxr-xr-x 1 root wheel 12 28 maj 03:46 trinidad-ID.trx -> trinidad.trx
lrwxr-xr-x 1 root wheel 13 28 maj 03:46 trinidad-ID.txcb -> trinidad.txcb
lrwxr-xr-x 1 root wheel 13 28 maj 03:46 trinidad-X0.clmb -> trinidad.clmb
lrwxr-xr-x 1 root wheel 12 28 maj 03:46 trinidad-X0.trx -> trinidad.trx
lrwxr-xr-x 1 root wheel 13 28 maj 03:46 trinidad-X0.txcb -> trinidad.txcb
lrwxr-xr-x 1 root wheel 13 28 maj 03:46 trinidad-X2.clmb -> trinidad.clmb
lrwxr-xr-x 1 root wheel 12 28 maj 03:46 trinidad-X2.trx -> trinidad.trx
lrwxr-xr-x 1 root wheel 13 28 maj 03:46 trinidad-X2.txcb -> trinidad.txcb
lrwxr-xr-x 1 root wheel 13 28 maj 03:46 trinidad-X3.clmb -> trinidad.clmb
lrwxr-xr-x 1 root wheel 12 28 maj 03:46 trinidad-X3.trx -> trinidad.trx
lrwxr-xr-x 1 root wheel 13 28 maj 03:46 trinidad-X3.txcb -> trinidad.txcb
-rw-r--r-- 1 root wheel 35322 9 kwi 2020 trinidad.clmb
lrwxr-xr-x 1 root wheel 10 2 paź 15:17 trinidad.trx -> borneo.trx
-rw-r--r-- 1 root wheel 723 9 kwi 2020 trinidad.txcb
I found a few similar issues like my:
- https://github.com/mikeeq/mbp-fedora-kernel/issues/3
- https://vinodhsblog.co.za/ubuntu-20-04-lts-on-a-macbook-pro/
- Using this repo from article above to move drivers from MacOs to Ubuntu side https://github.com/stefanpartheym/mbp15-wifi-driver
- https://github.com/Dunedan/mbp-2016-linux/issues/112
After moving drivers from MacOS to Ubuntu and configured followed by articles and people advices WiFi not working whole time... The last important log about wifi drivers from dmesg:
brcmf_pcie_download_fw_nvram: FW failed to initialize
Can you help me with this issue?
Solution 1:[1]
I have an exactly same model (16,2) of MacBookPro as yours, which has Broadcom 4364 v3 (rev 04). You can download the driver of Wifi and Bluetooth from
https://github.com/j3ffyang/mbp-fedora/tree/main/brcm
and place them at /lib/firmware/brcm, then execute sudo modprobe -r brcmfmac && sudo modprobe brcmfmac
This solution has been tested on Ubuntu 20.04 and Fedora 35 both.

Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
