How do I install wifi driver/firmware?

The wifi driver in my MacBook10,1 (MY2017 intel 12" macbook) which has a BCM4350 wifi chip. Picture below I'm trying Bazzite and Bluefin each on this and trying brcmfmac driver, but only 2.4ghz wifi works. (asking here since Bazzite is largest) How would I add 5ghz support? Logs indicate the driver is searching for and failing to load text files and blobs.
88 Replies
linkdowns
linkdownsOP2mo ago
No description
皇家海星
皇家海星2mo ago
all drivers are included in the kernel if it doesn't work ootb you may need to know what is your wireless card it should just work out of the box
linkdowns
linkdownsOP2mo ago
Wifi didn't work out of the box, I had to modprobe brcmfmac or edit some modprobe.d files to use that driver over broadcom-wl, and then i got 2.4ghz wifi, but that is super slow for daily use. There's a github issue about the ujust script not working for the broadcom-wl driver, so that's why I manually edited those files. Again I'm looking to get 5ghz working.
mrvictorywin (Ping on reply)
ujust configure-broadcom-wl installs broadcom drivers, does that + removing modprobe confs not work?
linkdowns
linkdownsOP2mo ago
I don't think so, this guy found that the script effectively doesn't work. I can try again but I am pretty sure I observed the same behavior: https://github.com/ublue-os/packages/issues/274
GitHub
Incorrect broadcom driver in use · Issue #274 · ublue-os/packages
The problem: On a fresh install of Bazzite, I had to run modprobe brcmfmac on every boot to get my wifi to work. I tried ujust configure-broadcom-wl with both enable and disable to no avail. The ca...
linkdowns
linkdownsOP2mo ago
Update: Yeah even when using the script the kernel logs via dmesg still show the brcmfmac driver at work.
mrvictorywin (Ping on reply)
Ty for informing me. I have a mac that works only with wl, I can test and maybe fix the script If you have modprobe overrides, wl may fail to load before b43 or other drivers
linkdowns
linkdownsOP2mo ago
Yeah so on my mac, regardless of the presence of the files in that github issue I seem to always be running brcmfmac Right now I think my modprobe.d doesn't have modifications. I could re-install the entire OS if need be to get a fresh state
linkdowns
linkdownsOP2mo ago
Alright I put blacklist brcmfmac in /etc/modprobe.d/blacklist-wl.conf OK, that put me in airplane mode it seems ⤴️
mrvictorywin (Ping on reply)
lspci -k pls
linkdowns
linkdownsOP2mo ago
LOL sorry, it's 002:00.0 2nd from bottom I think
No description
mrvictorywin (Ping on reply)
Does modprobe wl work?
linkdowns
linkdownsOP2mo ago
let's seee
mrvictorywin (Ping on reply)
I mean does the command run successfully Or modinfo wl
linkdowns
linkdownsOP2mo ago
modprobe wl does fail with FATAL: ... module not found in directlryt.... lets see on modinfo
mrvictorywin (Ping on reply)
That will also fail
linkdowns
linkdownsOP2mo ago
yeah it failed, not found it said
mrvictorywin (Ping on reply)
I'll run the ujust on my vm modinfo wl works on my VM and I did nothing, wut
mrvictorywin (Ping on reply)
Doesn't explain why modinfo wl fails Which image are you on?
linkdowns
linkdownsOP2mo ago
lets see This is on bluefin stable
mrvictorywin (Ping on reply)
Oh I'm on bazzite
linkdowns
linkdownsOP2mo ago
see the fastfetch in the pic, it's the latest version, updated today I can install bazzite
mrvictorywin (Ping on reply)
Yes do that, it includes the drivers
linkdowns
linkdownsOP2mo ago
I had it before and same issues, I hope it's the same because we both have that ujust base hmm OK
mrvictorywin (Ping on reply)
Does bluefin really have the ujust configure-broadcom-wl but not the actual drivers?
linkdowns
linkdownsOP2mo ago
Hmm not sure
mrvictorywin (Ping on reply)
It doesn't have the drivers
linkdowns
linkdownsOP2mo ago
well I just blacklisted them
mrvictorywin (Ping on reply)
Blacklist should not affect modinfo
linkdowns
linkdownsOP2mo ago
I just don't know if the output before means that, sounds like you do 🙂 ok good to know thank you
mrvictorywin (Ping on reply)
I disabled wirh ujust, let's see if modinfo will work Blacklist prevents the driver from being selected afaik Yes still works modinfo wl works
linkdowns
linkdownsOP2mo ago
ok gonna wipe and bazzite this thing!
mrvictorywin (Ping on reply)
Wipe? No need, just rebase
linkdowns
linkdownsOP2mo ago
I thought I couldn't rebase across DE's or something?
mrvictorywin (Ping on reply)
Bazzite has both gnome and kde
linkdowns
linkdownsOP2mo ago
yeah i was just thinking OK i'll try that It's booting lets see the ujust rebase only works within each project so gonna look this up
linkdowns
linkdownsOP2mo ago
Rebase Guide - Bazzite Documentation
Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices.
linkdowns
linkdownsOP2mo ago
Yeah you know this is probably the image I should use, it's like 18:1 people on bazzite it just helps for debugging this. Maybe once I nail down the cause I can migrate back to bluefin
mrvictorywin (Ping on reply)
The cause is bluefin flat out doesn't have the driver😂 If u really want bluefin you can try layering the driver rpm or making a custom image
linkdowns
linkdownsOP2mo ago
Yeah I'll just not autoload steam for now. reboooooootin!
mrvictorywin (Ping on reply)
But I wish there was a distro as focused at user convenience as bazzite
linkdowns
linkdownsOP2mo ago
about to get more purple in here
mrvictorywin (Ping on reply)
Your desktop will stay the same
linkdowns
linkdownsOP2mo ago
Well Bluefin is Jorge's setup, so my expectations are low for him catering to exactly my needs lol then i make it more purple :bazzite: ok that was just the ostree, now i'm rebooting i see bazz logo on the LUKS login nope it made itself purple with no user intervention 🤣 OK well it's now booted and I have wired internet, but no wifi shows up in the system settings of gnome
mrvictorywin (Ping on reply)
lspci -k again
linkdowns
linkdownsOP2mo ago
02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4350 802.11ac Wireless Network Adapter (rev 05)
Subsystem: Apple Inc. Device 0168
Kernel modules: brcmfmac, wl
02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4350 802.11ac Wireless Network Adapter (rev 05)
Subsystem: Apple Inc. Device 0168
Kernel modules: brcmfmac, wl
(ty wired network) so there's wl in there
mrvictorywin (Ping on reply)
Use the ujust to enable wl No driver is loaded atm
linkdowns
linkdownsOP2mo ago
ok my brcmfmac is still blacklisted by me gonna reboot TBH i've never rebased before and that was one of the coolest things ever
mrvictorywin (Ping on reply)
Doesn't matter, we want wl
linkdowns
linkdownsOP2mo ago
Are you a contributor? I appreciate the help here, this is awesome
mrvictorywin (Ping on reply)
No I'm not
linkdowns
linkdownsOP2mo ago
lspci is the same output
mrvictorywin (Ping on reply)
I joined the discord and was like oh my god the devs are good
linkdowns
linkdownsOP2mo ago
Huh, still no wireless where a user would find in gnome UI so lets dmesg
mrvictorywin (Ping on reply)
Is there no kernel driver in use: wl? Load it manually: sudo modprobe wl
linkdowns
linkdownsOP2mo ago
dmesg has a large error, trying to screenshot it
linkdowns
linkdownsOP2mo ago
No description
linkdowns
linkdownsOP2mo ago
Soo it's warning me about the STA driver modproble wl now that doesn't seem to work, sudo modprobe wl
mrvictorywin (Ping on reply)
Are you using secure boot
linkdowns
linkdownsOP2mo ago
Yes Umm. Wait no I don’t think this laptop supports, secure boot LUKS yes
mrvictorywin (Ping on reply)
Oh yea it doesn't support
linkdowns
linkdownsOP2mo ago
So my hdd is encrypted but it’s too old for secure boot
mrvictorywin (Ping on reply)
Reboot & try again
linkdowns
linkdownsOP2mo ago
yeah might just power off and see if it resets the wifi chip in some way
linkdowns
linkdownsOP2mo ago
ah yes i did see that this morning
mrvictorywin (Ping on reply)
Now what's the fedora equivalent of this...
linkdowns
linkdownsOP2mo ago
That's what I was thinking! I think maybe it's some rpm-ostree thing or initramfs or some such thing we're generally advised to avoid if possible Im restarting from battery nothing plugged in after power off hmm i wonder if i need to sudo modprobe broadcom-wl
mrvictorywin (Ping on reply)
modprobe needs sudo
linkdowns
linkdownsOP2mo ago
sudo modprobe broadcom-wl Yeah sorry I've been not mentioning sudo but always doing it afaik, errors otherwise i'm gonna try broadcom-wl now ok it's not in there it seems it says module not found
mrvictorywin (Ping on reply)
No wait it is sudo modprobe wl Not broadcom-wl
linkdowns
linkdownsOP2mo ago
right, that also didn't work i'm now on to trying the latter, wl didn't seem to do anything I could try editing grub i guess, maybe a karg?
mrvictorywin (Ping on reply)
What happens when you run sudo modprobe wl?
linkdowns
linkdownsOP2mo ago
no output, i assume that's good but also no wifi appears in gnome settings
mrvictorywin (Ping on reply)
sudo rmmod wl && sudo modprobe wl
linkdowns
linkdownsOP2mo ago
no network interfaces
linkdowns
linkdownsOP2mo ago
ok, just ran that, seems like the same thing
Jul 26 14:04:22 kernel: ERROR @wl_cfg80211_detach :
Jul 26 14:04:22 kernel: NULL ndev->ieee80211ptr, unable to deref wl
Jul 26 14:04:22 kernel: ERROR @wl_cfg80211_detach :
Jul 26 14:04:22 kernel: NULL ndev->ieee80211ptr, unable to deref wl
Yeah it seems like the same behavior as before
mrvictorywin (Ping on reply)
Disable wl, remove other driver's blacklist, reboot
linkdowns
linkdownsOP2mo ago
yeah
mrvictorywin (Ping on reply)
no idea what's going on here
linkdowns
linkdownsOP2mo ago
so I am gonna un-blacklist brcmfmac and blacklist wl via that same modprobe.d file rebooting ok no wifi, let me check lspci -k lspci -k lists brcmfmac, wl
mrvictorywin (Ping on reply)
sudo modprobe brcmfmac
linkdowns
linkdownsOP2mo ago
ok, that made wifi pop up in gnome settings instantly my guess here is it's gonna be 2.4ghz only Yeah it's got credentials in there from before and is connected at 2.4ghz
mrvictorywin (Ping on reply)
Can't you see any 5g access points? Also are the firmware load messages still there?
linkdowns
linkdownsOP2mo ago
gnome settings says 2.5/5g supported, but I think that's just data coming during dhcp or wifi auth let me turn off my 2.4 and see ok, 2.4 is off, and now it's spinning in the gnome UI Yeah it spins in the gnome UI and then I get a gnome popup that says connection failed Gonna forget the network and try again So i don't think it can even see 5ghz SSIDs. the most damning thing here is this dmesg line:
Jul 26 14:33:59 kernel: brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac4350c2-pcie.txt failed with error -2
Jul 26 14:33:59 kernel: brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac4350c2-pcie.clm_blob failed with error -2
Jul 26 14:33:59 kernel: brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac4350c2-pcie.txcap_blob failed with error -2
Jul 26 14:33:59 kernel: brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
Jul 26 14:33:59 kernel: brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
Jul 26 14:33:59 kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4350/5 wl0: Nov 26 2015 03:48:57 version 7.35.180.133 (r602372) FWID 01-c45b39d6
Jul 26 14:33:59 kernel: brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac4350c2-pcie.txt failed with error -2
Jul 26 14:33:59 kernel: brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac4350c2-pcie.clm_blob failed with error -2
Jul 26 14:33:59 kernel: brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac4350c2-pcie.txcap_blob failed with error -2
Jul 26 14:33:59 kernel: brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
Jul 26 14:33:59 kernel: brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
Jul 26 14:33:59 kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4350/5 wl0: Nov 26 2015 03:48:57 version 7.35.180.133 (r602372) FWID 01-c45b39d6
the device may have limited channels bit So it's kinda full-circle. brcmfmac kinda works for 2.4. I wonder if this could be as simple as no regulatory domain or something. Seems like we need those blobs etc. ha wait no, it says its getting my reg domain from my timezone, so that isn't it probably

Did you find this page helpful?