[SOLVED] No Wireless in Linux

jesse.cain

Member
I have installed Ubuntu using the ISO image found in https://files.theminixforum.com/shared/firmwares/ I used the Z83-4U-Ubuntu_2020.04_LTS-20200703.iso.

It does not detect the wireless adapter. In dmesg log I find the following:

[ 10.431443] kernel: brcmfmac: brcmf_chip_tcm_rambase: unknown chip: BCM43454/6
[ 10.431460] kernel: brcmfmac: brcmf_chip_get_raminfo: RAM base not provided with ARM CR4 core
[ 10.431469] kernel: brcmfmac: brcmf_sdio_probe_attach: brcmf_chip_attach failed!
[ 10.431479] kernel: brcmfmac: brcmf_sdio_probe: brcmf_sdio_probe_attach failed
[ 10.431719] kernel: brcmfmac: brcmf_ops_sdio_probe: F2 error, probe failed -19...
[ 10.432119] kernel: usbcore: registered new interface driver brcmfmac

I have also tried the proposed solution found on https://theminixforum.com/index.php?threads/linuxmint-19-and-do-not-detect-wifi-network-card.376/
and rescanned with modprobe.

Thank you for your attention.
 
I found a solution that works without modifying kernel or using other backport. Just downloading kernel for current version on Mint and compiling firmware module with a single line modification. It is similar to the previous suggestion by JeremyB using the backport https://forums.linuxmint.com/viewtopic.php?p=2181781#p2181781

Adapted from solution at https://github.com/phoebeum/phoebeum.github.io/wiki/1.Hyperledger-Fabric-2.3.3-on-Raspberry-Pi

Code:
sudo apt-get install -y make gcc dpkg-dev git
sudo gedit /etc/apt/sources.list
Add
Code:
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
Save
get copy of kernel source
Code:
sudo apt update && sudo apt-get source linux-image-unsigned-$(uname -r)

go to firmware directory
Code:
cd linux-5.4.0/drivers/net/wireless/broadcom/brcm80211
Download patch from CX-Sawyer
Code:
sudo wget https://gist.githubusercontent.com/cx-sawyer/f4f0a6198f738a986acbb71632af446a/raw/ec64af77768d443a8d87954bf094ee6bb55d8d59/0001-brcmfmac-Add-BCM43454-6-support.patch
Code:
sudo git apply 0001-brcmfmac-Add-BCM43454-6-support.patch --reject

edit
Code:
sudo vi brcmfmac/sdio.c
search for brcmf_sdio_fwnames and add the following before "BRCMF_FW_ENTRY(BRCM_CC_4345_CHIP_ID, 0xFFFFFDC0, 43455),"
Code:
BRCMF_FW_ENTRY(BRCM_CC_43454_CHIP_ID, 0x00000040, 43455),

Then compile and deploy
Code:
cd brcmfmac     
sudo make -C /lib/modules/$(uname -r)/build M=$(pwd) brcmfmac_src=$(pwd) modules

sudo cp /lib/modules/$(uname -r)/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko  /lib/modules/$(uname -r)/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko.bak         
sudo cp brcmfmac.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko

sudo rmmod brcmfmac     
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko

sudo cp '/lib/firmware/brcm/brcmfmac43455-sdio.MINIX-NEO Z83-4.txt' '/lib/firmware/brcm/brcmfmac43455-sdio.txt
 
jesse.cain's solution did work on my first Z83-4U non-pro unit, but I couldn't get it to work on this new Z83-4 Pro unit in the latest Ubuntu. I had many errors with the patch. I was, however, able to use the official "Z83-4U-Ubuntu_2020.04_LTS-20200703" firmware from here:

https://files.theminixforum.com/shared/firmwares/

and then upgrade to the latest Ubuntu and preserve whatever magic is in the official image for working wireless.
 
jesse.cain's solution did work on my first Z83-4U non-pro unit, but I couldn't get it to work on this new Z83-4 Pro unit in the latest Ubuntu. I had many errors with the patch. I was, however, able to use the official "Z83-4U-Ubuntu_2020.04_LTS-20200703" firmware from here:

https://files.theminixforum.com/shared/firmwares/

and then upgrade to the latest Ubuntu and preserve whatever magic is in the official image for working wireless.

Good to hear. I am pretty frustrated that If I allow Linux Mint (based on Ubuntu) to update then I end up having to re-patch the system, real bummer if you depend on the wireless to connect. I mean, it's Broadcom. Not some oddball knockoff brand. Ugh...
 
Back
Top