ophub / amlogic-s9xxx-openwrt

Support for OpenWrt in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
1.82k stars 1.62k forks source link

[S905X / HG680P] OpenWrt 23.05 series has problems with WiFi, OpenWrt 22.03 series is fine #564

Closed ghost closed 5 months ago

ghost commented 6 months ago

Device Information

OpenWrt Version

Describe the bug

Because OpenWRT 22.03 series will be EOL this April. https://openwrt.org/releases/22.03/notes-22.03.6#openwrt_2203_eol_in_april_2024 I tried upgrading from 22.03 series to 23.05 series (coincidentally a few days ago 23.05.3 was released).

I use ImageBuilder as before. Problem: On 23.05.x I can scan wifi AP but cannot activate wifi (as an AP or client). Every time I activate the wifi button the device hangs. I also can't disable wifi with the wifi button after that. And I can't remote the device even after rebooting/off/on device, the device doesn't provide an IP.

Out of curiosity, I rebuilt 22.03.6 (the version before I tried upgrading to 23.05.3) from scratch using the ImageBuilder. As expected WiFi runs well as an AP and client as before in this version (OpenWrt 22.03.6 | kernel 5.10.214-spring-plowing).

So what is the problem that prevents WiFi from being activated on the OpenWrt 23.05 series? I also tried OpenWrt_official_save with a different kernel and the problem was the same.

Conclusion: No problem with OpenWrt 22.03 series. There is a problem with OpenWrt 23.05 series.

ghost commented 6 months ago

seems to only happen for internal wifi. when using wn722n wireless adapter it turned out to be fine. if I'm not mistaken the internal wifi chip driver is rtl8189fs (?)

source code: https://github.com/jwrdegoede/rtl8189ES_linux/tree/rtl8189fs

tekocheng commented 3 months ago

Device Information

* SOC: S905X

* Model: HG680P

OpenWrt Version

* Kernel Version: 5.15.x

* Release: ImageBuilder

Describe the bug

Because OpenWRT 22.03 series will be EOL this April. https://openwrt.org/releases/22.03/notes-22.03.6#openwrt_2203_eol_in_april_2024 I tried upgrading from 22.03 series to 23.05 series (coincidentally a few days ago 23.05.3 was released).

I use ImageBuilder as before. Problem: On 23.05.x I can scan wifi AP but cannot activate wifi (as an AP or client). Every time I activate the wifi button the device hangs. I also can't disable wifi with the wifi button after that. And I can't remote the device even after rebooting/off/on device, the device doesn't provide an IP.

Out of curiosity, I rebuilt 22.03.6 (the version before I tried upgrading to 23.05.3) from scratch using the ImageBuilder. As expected WiFi runs well as an AP and client as before in this version (OpenWrt 22.03.6 | kernel 5.10.214-spring-plowing).

So what is the problem that prevents WiFi from being activated on the OpenWrt 23.05 series? I also tried OpenWrt_official_save with a different kernel and the problem was the same.

Conclusion: No problem with OpenWrt 22.03 series. There is a problem with OpenWrt 23.05 series.

Did you find the answer? Same with b860h fresh build, the wifi cant activate.