Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtl8852be does not work with Rock5B Android12 rkr12 20230315 #38

Open
abrilevskiy opened this issue Apr 21, 2023 · 1 comment
Open

rtl8852be does not work with Rock5B Android12 rkr12 20230315 #38

abrilevskiy opened this issue Apr 21, 2023 · 1 comment

Comments

@abrilevskiy
Copy link

rtl8852be wifi card is not working with Rock5B Android12 rkr12 20230315.
It required to load kernel module manually and do stop/start

Under Ubuntu the module is recognized as:

0002:21:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]
	Subsystem: Hewlett-Packard Company Device [103c:88e3]
	Flags: bus master, fast devsel, latency 0, IRQ 186
	I/O ports at 1000 [size=256]
	Memory at f2200000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: rtl8852be
	Kernel modules: 8852be

Under Android:
21:00.0 Class 0280: 10ec:b852

insmod /vendor/lib/modules/8852be.ko
[ 1819.153839][ T2054] 
[ 1819.153861][ T2054] =======================================================
[ 1819.153867][ T2054] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[ 1819.153870][ T2054] =======================================================
[ 1819.153875][ T2054] Realtek 8852BU USB WiFi driver (Powered by Rockchip) init.
[ 1819.153880][ T2054] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 1819.153885][ T2054] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 1819.260366][ T2054] [WLAN_RFKILL]: wifi turn on power [GPIO20-1]
[ 1819.260686][ T2054] rtl8852be 0002:21:00.0: enabling device (0000 -> 0003)
[ 1819.577413][ T2054] eric-tx CALL alloc_txring !!!!
[ 1819.577691][ T2054] eric-tx CALL alloc_txring !!!!
[ 1819.577950][ T2054] eric-tx CALL alloc_txring !!!!

and then stop/start is required

The situation is discussed at: https://forum.radxa.com/t/who-can-provide-a8-wifi-module-vid-did/13506/10

@abrilevskiy
Copy link
Author

Got the issue fixed by adding:
{"RTL8852BE", "10ec:b852"},
to rk_wifi_ctrl.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant