Repository navigation
Description
Knulli build version
Scarab 2026/05/11, Linux 4.9.170, aarch64. Observations collected on 5 October 2026.
Your architecture
Physical handheld: Anbernic RG34XXSP, confirmed from the rear label.
Important qualification: the installed board metadata, running device tree and controller name report RG34XX / rg34xx. The original flashed image filename and installation history have not been established. This is not a verified reproduction on a clean, correct RG34XXSP image; an image/profile mismatch may explain some or all of the symptoms.
Realtek 8821cs Wi-Fi driver. Two SD cards; /userdata is NTFS through fuseblk on the second card. Client is macOS.
Issue description
Remote access repeatedly dropped or stalled, requiring Wi-Fi off/on toggles and USB reconnection. Three separate observations were isolated:
- Wi-Fi repeatedly associated on 5 GHz, then disconnected with reason 34. A native off/on enable attempt took 21.807 seconds and finished without an IPv4 address.
- ADB became unavailable while
adbdand its FunctionFS endpoints still existed. The existing gadget's UDC binding was empty; restoring the binding restored ADB. - Automatic suspend was attempted during an active Samba transfer. The kernel's task freezer failed after 20.014 seconds, with
smbdblocked in FUSE operations.
These may have different causes. The observations are being reported together with the profile qualification rather than asserting a single root cause.
Detailed reproduction steps
On the existing installation, before the workarounds below:
- Enable Wi-Fi on a saved dual-band network and USB ADB mode.
- Transfer a large file through Samba, while monitoring ADB availability and Wi-Fi.
- Observe intermittent loss of remote access and the suspend/freezer failure during the transfer.
- Disable and re-enable Wi-Fi using the native Knulli Wi-Fi control. In the failing dual-band checks, enabling took about 22 seconds and returned without an address; 5 GHz associations logged disconnection reason 34.
The original failure was intermittent. A clean SP-image reproduction and a controlled comparison with another access point have not been performed. A later deliberate UDC detach was only a recovery test; it is not claimed as a reproduction of the spontaneous detachment.
Expected: active transfers complete, Wi-Fi reconnects reliably, and the selected ADB gadget remains bound while the data connection is available.
Details of any attempts to fix this yourself
- Turning Wi-Fi power saving off alone did not resolve the loss.
- Disabling ConnMan background scans improved bounded ping checks, but a subsequent native Wi-Fi toggle still failed to obtain an address.
- Experimental Realtek roaming and scan-band settings were unsuccessful and restored to their prior values.
- Restricting the driver to 2.4 GHz b/g/n with
rtw_wireless_mode=11(original value 95), alongside the scan/power-saving changes, obtained an address in about 12 seconds. - After reboot, the workaround configuration survived. A native Wi-Fi off/on cycle reconnected in 8.408 seconds with an IPv4 address on 2437 MHz. The following 120-packet, approximately one-minute ping check had zero loss, mean 8.340 ms. This is bounded validation, not a long-term stability claim.
- A local guard restored a deliberately detached existing ADB gadget in approximately 4.43 seconds and used the native battery-saver pause mechanism during USB or established SSH/Samba access.
Related Wi-Fi symptoms on another device/release: knulli-cfw/distribution#492 . Unlike #90 in this repository, our Wi-Fi interface does enumerate and connects on 2.4 GHz.
Details of any modifications you have made to Knulli.
Initial connection failures were observed before installing the repair service. Subsequent measurements include these modifications:
- A local userdata service maintains the existing ADB binding, pauses automatic idle sleep during remote access, disables ConnMan background scanning and Wi-Fi power saving, retries the saved network, and reapplies the 2.4 GHz driver restriction at startup.
- The existing native SSH service was enabled. Authentication was unchanged.
- No filesystem, kernel, device-tree or boot-image changes were made.
During a subsequent lid investigation, the installed capability list also lacked lid, and the running device tree lacked the SP Hall property. The existing capability metadata was amended to include lid. A brief input-only PE7 sensor bridge invoked native Display off actions and measured brightness 0 on close and 128 on open. The owner reported successful menu-selected lid behaviour while that bridge was running. The bridge has since been stopped and disabled; native-only behaviour and full suspend/wake are not yet independently established. This is context for the profile mismatch, not a claim that lid support is absent from Knulli.
Logs and data
Sanitised measurement summary:
| Check | Result |
|---|---|
| Failing dual-band native Wi-Fi enable | 21.807 s, no IPv4 address |
| Driver mode before / workaround | 95 / 11 |
| Workaround association | 2437 MHz |
| Post-reboot native Wi-Fi enable | 8.408 s, address present |
| Post-reboot ping | 120 sent / 120 received, mean 8.340 ms |
| Deliberate ADB-detach recovery | Approximately 4.43 s |
| Transfer-time freezer failure | 20.014 s, smbd waiting in FUSE |
The retained kernel stack includes request_wait_answer, __fuse_request_send and fuse_dentry_revalidate. Raw captures contain network identities and authentication material, so they are not attached wholesale. Sanitised extracts can be provided if specific diagnostics are needed.
Could you triage whether the installed RG34XX profile is sufficient to explain these symptoms, or whether the Wi-Fi reconnect and transfer-time suspend/ADB behaviour need separate investigations? We have not yet established an upstream regression on the correct SP image.
Activity