Repository navigation
Description
Knulli build version
scarab 2026/05/11
Your architecture
Anbernic RG40XX H (newer/revised hardware revision), Allwinner H700, aarch64 handheld
Issue description
Internal Wi-Fi on my revised RG40XX H can scan and detect networks, but fails to associate with 5 GHz networks and reports “Wi-Fi failed to connect”. The same hardware connects successfully when forced to 2.4 GHz (for example, an iPhone hotspot with “Maximise Compatibility” enabled).
The RTL8821CS enumerates correctly over SDIO, wlan0 exists and scanning works, but connection attempts fail during association. Kernel logs show repeated warnings in the 8821cs driver around channel/bandwidth selection, including rtl8821c_switch_chnl_and_set_bw, rtw_get_scch_by_cch_offset and join_cmd_hdl.
The same internal Wi-Fi hardware works normally under ROCKNIX on this device.
Detailed reproduction steps
- Boot Knulli Scarab 2026/05/11 on an Anbernic RG40XX H (newer/revised hardware revision).
- Open Network Settings and enable Wi-Fi.
- Select a 5 GHz-capable Wi-Fi network and enter the correct password.
- Knulli attempts to connect but displays “Wi-Fi failed to connect”.
- The same failure occurs with my normal home Wi-Fi and with an iPhone hotspot when “Maximise Compatibility” is disabled.
- If I enable “Maximise Compatibility” on the iPhone, forcing the hotspot to 2.4 GHz, the RG40XX H connects successfully.
Diagnostics after a failed connection show:
- wlan0 exists and scans networks successfully.
- RTL8821CS is loaded and enumerated over SDIO.
- iw dev wlan0 link reports “Not connected”.
- wlan0 remains NO-CARRIER.
- ConnMan reports connect-failed / Input/output error.
- dmesg shows warnings in the 8821cs driver during association, including:
rtw_get_scch_by_cch_offset
rtl8821c_switch_chnl_and_set_bw
set_channel_bwmode
join_cmd_hdl
The problem therefore appears specific to association/channel handling on 5 GHz or mixed-band networks. 2.4 GHz-only Wi-Fi works.
Details of any attempts to fix this yourself
I have tried:
- WIRELESS_HYBRID_FIX enabled and disabled.
- Changing Knulli language/region to UK and timezone to Europe/London.
- Testing both my normal home Wi-Fi and a separate iPhone hotspot.
- Testing the iPhone hotspot both normally and with “Maximise Compatibility” enabled.
- Manually running
iw reg set GB; howeveriw reg getremainscountry 00: DFS-UNSET. - Manually attempting the connection through connmanctl. This returns
connect-failedfollowed byInput/output error. - Confirming that the RTL8821CS driver loads, wlan0 exists, SDIO enumeration succeeds and Wi-Fi scanning works.
- Testing the same internal Wi-Fi hardware under ROCKNIX, where Wi-Fi works.
The only successful workaround I have found is forcing the network to 2.4 GHz. With the iPhone hotspot set to “Maximise Compatibility”, Knulli connects successfully.
Details of any modifications you have made to Knulli.
I have tried:
- WIRELESS_HYBRID_FIX enabled and disabled.
- Changing Knulli language/region to UK and timezone to Europe/London.
- Testing both my normal home Wi-Fi and a separate iPhone hotspot.
- Testing the iPhone hotspot both normally and with “Maximise Compatibility” enabled.
- Manually running
iw reg set GB; howeveriw reg getremainscountry 00: DFS-UNSET. - Manually attempting the connection through connmanctl. This returns
connect-failedfollowed byInput/output error. - Confirming that the RTL8821CS driver loads, wlan0 exists, SDIO enumeration succeeds and Wi-Fi scanning works.
- Testing the same internal Wi-Fi hardware under ROCKNIX, where Wi-Fi works.
- Last version of Knulli (Gladiator II), same fault
The only successful workaround I have found is forcing the network to 2.4 GHz. With the iPhone hotspot set to “Maximise Compatibility”, Knulli connects successfully.
Logs and data
No response
Activity