Gave that a go, think I’ve done it right as i get this:
iw reg get
global
country GB: DFS-ETSI
(2400 - 2483 @ 40), (N/A, 20), (N/A)
(5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
(5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
(5725 - 5875 @ 80), (N/A, 13), (N/A)
(57000 - 71000 @ 2160), (N/A, 40), (N/A)
Gave it the obligatory 3 reboots to check the first 2 had worked and still not getting anything out of the built-in WiFi.
I don’t know if this is helpful but USB WiFi adapters work fine.
The usb wifi has different modules and firmware.
Until I can get a pi 400 the only other thing I can think of is to try is wicd.
https://wiki.archlinux.org/index.php/Wicd
Do you have the file bcm2711-rpi-400.dtb in your boot partition?
yes, I’ve got 4 BCM27…dtb files in my boot partition:
bcm2710-rpi-3-b.dtb
bcm2710-rpi-3-b-plus.dtb
bcm2711-rpi-4.dtb
bcm2711-rpi-400.dtb
I also have those four files, the difference being bcm2711-rpi-4-b.dtb instead of bcm2711-rpi-4.dtb .
I have Linux manjaro-pi 5.9.6-1-MANJARO-ARM #1 SMP PREEMPT Mon Nov 9 21:57:10 CST 2020 aarch64 GNU/Linux
Only eth0 and lo exist in /sys/class/net .
I spent most of the day yesterday looking into this issue. I found that there were 3 packages installing duplicate firmware and they all seem to be out of date. linux-firmware is now installing the wifi firmware for one example. I have downloaded what that is the latest wifi/bluetooth from the RPi people. Between me and @strit which his pi 400 came in today his wifi and bluetooth seems to be working now.
Try this:
When done you will have no firmware on the system except the
latest firmware from the Rpi people. They will be the exact
files that will be in the Pi OS image.
# Backup in case you want to restore:
Rename /usr/lib/firmware/BCM4345C0.hcd
Backup /usr/lib/firmware/brcm directory
Backup /usr/lib/firmware/updates/brcm directory
Clear out the files in /usr/lib/firmware/brcm directory
Clear out the files in /usr/lib/firmware/updates/brcm directory
# Copy over the new firmware from the tarball below:
Put the new wifi firmware in /usr/lib/firmware/brcm directory
Put the new bluetooth firmware in /usr/lib/firmware/updates/brcm directory
The tarball has 2 folders in it (pi-bluetooth and wifi) with the latest firmware.
https://drive.google.com/file/d/1L_2mZKLDkwaJp7p86go6iNkkAj9Re9Mz/view?usp=sharing
When done reboot the pi 400
2 Likes
Yup, 100% success. I am writing this through the WiFi of my Pi 400. No weird services needed, it just works now out of the box.
1 Like
Great! Glad to heard all of my time yesterday was not wasted. I now have to put my thinking hat on and figure out how to redo some packages. The main issue is the linux-firmware package. We do not maintain it but we do not want outdated firmware for the pi wifi either. It may also be needed for some monitors and maybe other things at the same time.
If you have bluetooth headphones create this file. This should fix another issue in another thread.
sudo nano /usr/share/alsa/cards/RPi-WM8804.conf
<confdir:pcm/iec958.conf>
RPi-WM8804.pcm.iec958.0 {
@args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD {
type string
}
@args.AES0 {
type integer
}
@args.AES1 {
type integer
}
@args.AES2 {
type integer
}
@args.AES3 {
type integer
}
type hooks
slave.pcm {
type hw
card $CARD
}
}
I found the alsa config file already there.
I received my pi 400 DEV unit and some bluetooth headphones. For those who do not have the wifi and bluetooth working by now in a nutshell here is what to do for the pi400 for wifi and bluetooth and will keep you in step when the upgraded packages make it down to the testing and stable branches:
Switch to the unstable branch if you are not there:
sudo systemctl disable brcm43438.service
sudo pacman -S firmware-raspberrypi #Installs new firmware for the pi400
sudo pacman -S -dd brcm-patchram-plus-pi400 #Install bluetooth service for the pi400
sudo systemctl enable attach-bluetooth-pi400.service
I did a test on my pi400 using my bluetooth headphones and it worked good.
4 Likes
I followed your instructions and did a reboot.
It works like a charm.
Thank you very much Darksky
1 Like
Hey there,
I have the same issue here on 20.10 xcfe and PI 400. Tried to follow the steps, but couldn’t download the drivers with the given link above. They are not available anymore.
Is there any updated image with the right set of driver for the raspberry?
Thanks a lot!
okay, Bluetooth is working now (thanks to Darksky).
sudo systemctl disable brcm43438.service
sudo pacman -S firmware-raspberrypi #Installs new firmware for the pi400
sudo pacman -S -dd brcm-patchram-plus-pi400 #Install bluetooth service for the pi400
sudo systemctl enable attach-bluetooth-pi400.service
But wifi is still missing. I even copied the files from the raspberry OS image to the folders named in the post above, but couldn’t get it run.
I will keep trying.
1 Like
The pi 400 wifi firmware is in the firmware-raspberrypi 6-1.4 package which you should have installed. With it installed the wifi should show up on reboot.
Thanks for your reply. I’ve 6-1.4 installed.
Honestly I need to admit that I’m new to manjaro and not very common to linux at all.
So I probably expected to see some kind of wifi utility/wizard in the taskbar, which scans and displays every wifi nearby.
After adding a wifi connection “manually”, it works fine! (Settings->Advanced Network Configurations).
I’m just a stupid beginner. Sorry bothering you.
Anyway I really like manjaro!
Take care!
Pille
Network Manager should be on the taskbar.
EDIT: firmware-raspberrypi-6-1.5 breaks wifi. revert back to 6-1.4
I’m on a raspberry pi 400 running Manjaro sway. I’m completely up to date on the unstable branch, and I followed the steps suggested to try and get wifi up…
sudo systemctl disable brcm43438.service
sudo pacman -S firmware-raspberrypi #Installs new firmware for the pi400
sudo pacman -S -dd brcm-patchram-plus-pi400 #Install bluetooth service for the pi400
sudo systemctl enable attach-bluetooth-pi400.service
But to no avail. On reboot systemctl reports that attach-bluetooth-pi400.service
was loaded, but under active and sub they both say failed. And for what it’s worth, a wlan0 device isn’t showing when I run ip -a
. I also do have bcm2711-rpi-400.dtb in /boot (but it is not being pointed at directly in config.txt). Any suggestions?
See Significant wifi speed increase with latest firmware - #4 by popsulfr (aka my fault
)
Basically do
$ sudo mkdir -p /usr/lib/firmware/updates
$ sudo ln -s ../bcm/brcm /usr/lib/firmware/updates/brcm
and it should all work again.
1 Like
Actually the method above was used initially after transitioning from the pi-bluetooth package to the brcm-patchram-plus because of scratchy bluetooth headphone audio. At the time the pi 400 and the pi3b had to have manual intervention to have bluetooth.
Since then @Strit built a script that will automatically load the right bluetooth firmware for the right board at boot with the brcm-patchram-plus package.
bluetooth-script
These packages will be removed from the repo as they will not be used anymore:
pi-bluetooth
brcm-patchram-plus-pi3
brcm-patchram-plus-pi400
You really need to convert over to the brcm-patchram-plus package:
sudo rm -r /usr/lib/firmware/updates # Removes the directory and link you just made
sudo systemctl disable attach-bluetooth-pi400.service
sudo pacman -S brcm-patchram-plus firmware-raspberrypi
sudo systemctl enable attach-bluetooth.service
sudo reboot