MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.83k stars 494 forks source link

Official Rock 5B Wifi M.2 card (RTL8852BE) not detected by the network config scripts #6409

Open vanfanel opened 1 year ago

vanfanel commented 1 year ago

Creating a bug report/issue

Required Information

Additional Information (if applicable)

Steps to reproduce

  1. Run dietpi-config and go to Network
  2. See that the official Rock 5b adapter is not detected

Expected behaviour

Actual behaviour

-- The official Rock 5b adapter is not detected

Extra details

The official Rock 5b adapter is supposed to be an RTL8852BE, according to this: https://www.okdo.com/p/m-2-wireless-module-a8-for-rock-3a-rock-5b-wifi-6-bt5-2/

MichaIng commented 1 year ago

Many thanks for your report. This does not list it?

ip l

Are there related kernel errors?

dmesg -l 0,1,2,3

We use the Armbian kernel which use the Rockchip kernel sources, AFAIK even exactly the repo from Radxa, so if the Radxa Debian images do support it, the kernel generally ships drivers. But of course the flag to have the driver module compiled may be missing, or matching firmware.

No related topic on Armbian forum: https://forum.armbian.com/forum/188-rock-5b/

vanfanel commented 1 year ago

Nope, ip l doesn't list it, and I see no dmesg errors.

MichaIng commented 1 year ago

Are there any kernel messages regarding WiFi, WLAN or an M.2 device in dmesg? Is there any Realtek/RTL or WiFi/WLAN/cfg80211 kernel module loaded?

lsmod

Just to rule that out: The card is detected when you use the Radxa Debian CLI image? https://github.com/radxa-build/rock-5b/releases

vanfanel commented 1 year ago

There's no module related to the card detected in lsmod. Nothing on dmesg, either.

I haven't yet tried the Radxa Debian image (will try to get a new MicroSD for trying it), but in Radxa's official Android image, the card works flawlessly.

vanfanel commented 1 year ago

Ok, tried the Radxa Debian image (CLI) and WiFi card works fine. I can easily connect to my WiFi using nmcli as instructed in https://wiki.radxa.com/Rock5/guide/radxa-debian lsmod shows r8135 being loaded, etc

MichaIng commented 1 year ago

Sorry for the late reply. Is this still an issue with the Linux 5.10.160 provided by DietPi v8.21?

Rikpat commented 7 months ago

Hello, sorry for hijacking this thread, but it seems to not have been fixed, I have Orange Pi 5 plus and the official wifi+bt adapter is literally the same as linked one for Rock 5B. I'm running dietpi 9.1.1 and I can't get the adapter working, neither wifi or bluetooth.