No Wi-Fi Adapter Found... It's my turn! :(

My Wi-Fi adapter has been flaky for a long time (sometimes working, sometimes not) but since today it’s not coming up at all.

There’s no Wi-Fi indicator at the top, opening Wi-Fi settings says “No Wi-Fi adapter found”. I tried flicking the kill switch up and down, rebooting, shutting down and restarting, waiting a couple hours (it used to appear a couple minutes after boot before).

Apparently some people had this issue because their /boot was full but df -h /boot says 35% used, 281M available which I suppose is plenty.

When I disable the kill switch (i.e. supposedly enable the adapter), the following lines appear in dmesg -w:

[  751.655912] mmc1: new high speed SDIO card at address fffd
[  751.657097] redpine_91x: rsi_probe: ***** 9116 Module *****
[  751.657879] redpine_91x: redpine_hal_device_init: oper_mode = 5, coex_mode = 2
[  751.659052] redpine_91x: Received Board Version Number: 10
[  751.660155] redpine_91x: rsi_load_firmware: Loading file RS9116_NLINK_WLAN_BT_IMAGE.rps
[  753.054966] redpine_91x:  *** Flash is Empty ***
[  753.054990] redpine_91x:  FW Length = 329216 bytes
[  753.055000] redpine_91x: ================================================
[  753.055004] redpine_91x: ================ RSI Version Info ==============
[  753.055009] redpine_91x: ================================================
[  753.055014] redpine_91x: FW Version	: 2.1.0.0
[  753.055021] redpine_91x: RSI FW Version	:  1610.2.1.ab.ffbf
[  753.055030] redpine_91x: Driver Version	: RS9116.NB0.NL.GNU.LNX.OSD.2.0.0.0024
[  753.055036] redpine_91x: Operating mode	: 5 [Wi-Fi STA + BT EDR]
[  753.055042] redpine_91x: Firmware file	: RS9116_NLINK_WLAN_BT_IMAGE.rps
[  753.055047] redpine_91x: ================================================
[  753.063343] redpine_91x:  Burn Command Pass.. Upgrading the firmware
[  756.635879] redpine_91x: bl_cmd: Command EOF_REACHED (45) writing failed..
[  756.635905] redpine_91x: Firmware upgrade failed - attempt RAM load
[  756.635911] redpine_91x: Ram file magic 0xa55a size 329152
[  756.637265] redpine_91x: ================================================
[  756.637274] redpine_91x: ================ RSI Version Info ==============
[  756.637279] redpine_91x: ================================================
[  756.637285] redpine_91x: FW Version	: 2.1.0.0
[  756.637292] redpine_91x: RSI FW Version	:  1610.2.1.ab.ffbf
[  756.637300] redpine_91x: Driver Version	: RS9116.NB0.NL.GNU.LNX.OSD.2.0.0.0024
[  756.637306] redpine_91x: Operating mode	: 5 [Wi-Fi STA + BT EDR]
[  756.637313] redpine_91x: Firmware file	: RS9116_NLINK_WLAN_BT_IMAGE.rps
[  756.637318] redpine_91x: ================================================
[  756.684738] redpine_91x: ***** Firmware Loading successful *****
[  756.684960] redpine_91x: RAM load successful
[  756.684967] redpine_91x: ***** Firmware Loading successful *****

which I suppose imply the card was found?

nmcli device:

DEVICE    TYPE      STATE                   CONNECTION               
cdc-wdm0  gsm       connected               Salt Internet - Postpaid 
lxcbr0    bridge    connected (externally)  lxcbr0                   
usb0      ethernet  unavailable             --                       
lo        loopback  unmanaged               --                   

(There should be a wlan0 somewhere there, right?)

What next?

EDIT: oh and there’s no Bluetooth adapter anymore, either

Hey what’s that red EOF_REACHED? Is the firmware truncated? How to get a new one?

% locate WLAN_BT|xargs ls -l
-rw-r–r-- 1 root root 329216 4 mai 2022 /usr/lib/firmware/RS9116_NLINK_WLAN_BT_IMAGE.rps
-rw-r–r-- 1 root root 329216 4 mai 2022 /usr/share/firmware-librem5-nonfree/firmware/RS9116_NLINK_WLAN_BT_IMAGE.rps

It’s almost one year old… I’m pretty sure my wi-fi has been working at least several times in the last year :slight_smile:

EDIT: the file is 329216 bytes long but dmesg says Ram file magic 0xa55a size 329152, like 64 bytes are missing or can’t be read. I tried doing a md5sum on both those files and they both report the same checksum so at least they are readable and identical. And anyway it says attempt RAM load and later RAM load successful so that means firmware loading is fine, right?

What happens if you just move that file (those files) away so that nothing at all is loaded at boot time?

Also, see the post at: Internet access is very bad and the post after it.

If you want to load firmware at boot time then probably best to contact Purism Support (support@puri.sm) to find out what the definitive location is for downloading firmware.

I tried removing the first one. The second one is on some weird read-only overlay filesystem so I couldn’t remove it.

After reboot:

 8.116634] redpine_91x: rsi_probe: ***** 9116 Module *****
[    8.117298] redpine_91x: redpine_hal_device_init: oper_mode = 5, coex_mode = 2
[    8.118522] redpine_91x: Received Board Version Number: 10
[    8.119626] redpine_91x: rsi_load_firmware: Loading file RS9116_NLINK_WLAN_BT_IMAGE.rps
[    8.119797] redpine_91x: rsi_load_firmware: Failed to open file RS9116_NLINK_WLAN_BT_IMAGE.rps
[    8.119803] redpine_91x:  *** No FW magic will try to load anyway ***
[    8.129674] redpine_91x: ***** Loaded Firmware *****
[   13.283875] redpine_91x: ================================================
[   13.283897] redpine_91x: ================ RSI Version Info ==============
[   13.283901] redpine_91x: ================================================
[   13.283904] redpine_91x: FW Version	: 220.96.220.226
[   13.283910] redpine_91x: RSI FW Version	:  89e2.dc.60.a2.00e8
[   13.283916] redpine_91x: Driver Version	: RS9116.NB0.NL.GNU.LNX.OSD.2.0.0.0024
[   13.283920] redpine_91x: Operating mode	: 5 [Wi-Fi STA + BT EDR]
[   13.283925] redpine_91x: Firmware file	: RS9116_NLINK_WLAN_BT_IMAGE.rps
[   13.283929] redpine_91x: ================================================

(I don’t really understand what is going on)

No wi fi adapter there either. I moved the file back in place because I don’t want to break things even more. Also I didn’t do anything else than updating software, didn’t mess with firmware or anything so I don’t think I should have to mess with firmwares do get things working like before, right?

What does dmesg look like on a normal boot where that Redpine card works normally? Could you @irvinewade (if you have that card) or another nice soul post one? People usually post logs only when stuff is broken. They won’t say hey people my phone is working normally, can you help? Here’s the logs and troublecreating information :slight_smile:

I created an issue on GitLab.

So, was your issue solved by Purism?

Yes, they asked me to send the phone back. They replaced the wifi card and it’s been working perfectly ever since.

1 Like