Problems detecting Redpine wifi/bluetooth card

I have always had issues with my Librem5 sometimes not recognising the wifi/bluetooth card. I just reflashed to Crimson, and I was hoping that that might sort things out, but no such luck. I came across this post: After flashing Crimson no Wifi/Bluetooth and tried leaving the battery out overnight as well. The following day the wifi card was found, but after operating the kill switch it didn’t come back. I have captured some output from journalctl, which looks odd to me. Can anyone help with understanding what is going on here, or finding a fix?

Sep 08 16:59:24 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:26 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:26 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:26 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:27 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:28 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:28 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:29 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:30 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:30 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:32 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:32 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:32 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Sep 08 16:59:32 pureos systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status…
Sep 08 16:59:32 pureos systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
Sep 08 16:59:32 pureos iio-sensor-prox[1100]: Accel read from IIO on ‘lsm9ds1-imu_accel’ failed
Sep 08 16:59:32 pureos iio-sensor-prox[1100]: Accel read from IIO on ‘lsm9ds1-imu_accel’ failed
Sep 08 16:59:33 pureos kernel: vcnl4000 1-0060: Failed to power down (-ENXIO)
Sep 08 16:59:33 pureos NetworkManager[975]: [1788883173.1132] manager: rfkill: Wi-Fi now disabled by radio killswitch
Sep 08 16:59:33 pureos NetworkManager[975]: [1788883173.1183] device (wlan0): state change: activated → unavailable (reason ‘none’, sys-iface-state: ‘managed’)
Sep 08 16:59:33 pureos systemd[1]: iio-sensor-proxy.service: Deactivated successfully.
Sep 08 16:59:33 pureos NetworkManager[975]: [1788883173.1380] dhcp4 (wlan0): canceled DHCP transaction
Sep 08 16:59:33 pureos NetworkManager[975]: [1788883173.1381] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Sep 08 16:59:33 pureos NetworkManager[975]: [1788883173.1381] dhcp4 (wlan0): state changed no lease
Sep 08 16:59:33 pureos kernel: wlan0: deauthenticating from be:be:f4:af:33:43 by local choice (Reason: 3=DEAUTH_LEAVING)
Sep 08 16:59:33 pureos avahi-daemon[977]: Withdrawing address record for 192.168.178.44 on wlan0.
Sep 08 16:59:33 pureos avahi-daemon[977]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.178.44.
Sep 08 16:59:33 pureos systemd-resolved[932]: wlan0: Bus client reset search domain list.
Sep 08 16:59:33 pureos systemd-resolved[932]: wlan0: Bus client set default route setting: no
Sep 08 16:59:33 pureos systemd-resolved[932]: wlan0: Bus client reset DNS server list.
Sep 08 16:59:33 pureos avahi-daemon[977]: Interface wlan0.IPv4 no longer relevant for mDNS.
Sep 08 16:59:33 pureos wpa_supplicant[1040]: wlan0: CTRL-EVENT-DISCONNECTED bssid=be:be:f4:xx:yy:zz reason=3 locally_generated=1
Sep 08 16:59:33 pureos kernel: redpine_91x: rsi_mac80211_bss_info_changed: Change of ERP INFO: 0
Sep 08 16:59:33 pureos kernel: redpine_91x: rsi_mac80211_bss_info_changed: Sending vap updates…
Sep 08 16:59:33 pureos wpa_supplicant[1040]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Sep 08 16:59:33 pureos avahi-daemon[977]: Withdrawing address record for fe80::2468:c8e3:xxxx:yyyy on wlan0.
Sep 08 16:59:33 pureos avahi-daemon[977]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::2468:c8e3:xxxx:yyyy.
Sep 08 16:59:33 pureos avahi-daemon[977]: Interface wlan0.IPv6 no longer relevant for mDNS.
Sep 08 16:59:33 pureos wpa_supplicant[1040]: wlan0: PMKSA-CACHE-REMOVED be:be:f4:xx:yy:zz 0
Sep 08 16:59:33 pureos wpa_supplicant[1040]: wlan0: PMKSA-CACHE-REMOVED be:be:f4:xx:yy:zz 0
Sep 08 16:59:33 pureos wpa_supplicant[1040]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Sep 08 16:59:33 pureos kernel: redpine_91x: <==== Interface DOWN ====>
Sep 08 16:59:33 pureos NetworkManager[975]: [1788883173.2650] device (wlan0): set-hw-addr: set MAC address to 0A:33:98:xx:yy:zz (scanning)
Sep 08 16:59:33 pureos wpa_supplicant[1040]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Sep 08 16:59:33 pureos NetworkManager[975]: [1788883173.2823] device (p2p-dev-wlan0): state change: disconnected → unavailable (reason ‘supplicant-failed’, sys-iface-state: ‘managed’)
Sep 08 16:59:33 pureos systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service…
Sep 08 16:59:33 pureos wpa_supplicant[1040]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Sep 08 16:59:33 pureos wpa_supplicant[1040]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sep 08 16:59:33 pureos systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
Sep 08 16:59:34 pureos kernel: redpine_91x: rsi_sdio_write_register_multiple: Synch Cmd53 write failed -16
Sep 08 16:59:34 pureos kernel: redpine_91x: rsi_sdio_host_intf_write_pkt: Unable to write onto the card: -16
Sep 08 16:59:34 pureos kernel: redpine_91x: rsi_send_mgmt_pkt: Failed to write the packet
Sep 08 16:59:34 pureos kernel: redpine_91x: #####Interface is down#####
Sep 08 16:59:34 pureos kernel: redpine_91x: rsi_sdio_write_register_multiple: Stopping card writes
Sep 08 16:59:34 pureos kernel: redpine_91x: rsi_sdio_check_buffer_status: Failed to read status register
Sep 08 16:59:35 pureos kernel: redpine_91x: rsi_sdio_check_buffer_status: Failed to read status register
Sep 08 16:59:35 pureos NetworkManager[975]: [1788883175.3230] device (wlan0): state change: unavailable → unmanaged (reason ‘removed’, sys-iface-state: ‘removed’)
Sep 08 16:59:35 pureos NetworkManager[975]: [1788883175.3271] device (p2p-dev-wlan0): state change: unavailable → unmanaged (reason ‘removed’, sys-iface-state: ‘removed’)
Sep 08 16:59:35 pureos systemd[1172]: Stopped pulseaudio-redpine.service - Disable automatic switch to HSP/HFP in PulseAudio on Redpine cards.
Sep 08 16:59:35 pureos NetworkManager[975]: [1788883175.3611] radio killswitch /sys/devices/platform/soc@0/30800000.bus/30b50000.mmc/mmc_host/mmc1/mmc1:fffd/mmc1:fffd:1/ieee80211/phy0/rfkill5 disappeared
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSource/ldac_hq
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSource/ldac_sq
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSource/ldac_mq
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSink/aptx_hd
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSource/aptx_hd
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSink/aptx
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSource/aptx
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSink/sbc
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSource/sbc
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Sep 08 16:59:35 pureos bluetoothd[1343]: Endpoint unregistered: sender=:1.32 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Sep 08 16:59:35 pureos systemd[1]: Stopped target bluetooth.target - Bluetooth Support.
Sep 08 16:59:35 pureos kernel: redpine_91x: rsi_reset_chip: Failed to Write SDIO WAKEUP REG
Sep 08 16:59:35 pureos systemd[1172]: Stopped target bluetooth.target - Bluetooth.
Sep 08 16:59:35 pureos kernel: sdhci-esdhc-imx 30b50000.mmc: card clock still not stable in 100us!.
Sep 08 16:59:35 pureos kernel: sdhci-esdhc-imx 30b50000.mmc: card clock still not stable in 100us!.
Sep 08 16:59:35 pureos kernel: sdhci-esdhc-imx 30b50000.mmc: esdhc_wait_for_card_clock_gate_off: card clock still not gate off in 100us!.
Sep 08 16:59:35 pureos kernel: sdhci-esdhc-imx 30b50000.mmc: esdhc_wait_for_card_clock_gate_off: card clock still not gate off in 100us!.
Sep 08 16:59:35 pureos kernel: redpine_91x: rsi_reset_card: CMD0 failed : -123
Sep 08 16:59:35 pureos kernel: redpine_91x: rsi_reset_card: CMD5 failed : -123
Sep 08 16:59:35 pureos kernel: redpine_91x: rsi_reset_card: CMD5 failed : -123
Sep 08 16:59:35 pureos kernel: redpine_91x: rsi_reset_card: card in not ready : 0 -123
Sep 08 16:59:35 pureos kernel: redpine_91x: rsi_sdio_check_buffer_status: Failed to read status register
Sep 08 16:59:35 pureos kernel: redpine_91x: ##### RSI SDIO device disconnected #####
Sep 08 16:59:35 pureos kernel: mmc1: card fffd removed
Sep 08 16:59:40 pureos systemd[1]: systemd-rfkill.service: Deactivated successfully.
Sep 08 16:59:40 pureos kernel: edt_ft5x06 2-0038: Unable to fetch data, error: -6
Sep 08 16:59:41 pureos systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status…
Sep 08 16:59:41 pureos kernel: imx7-csi 30a90000.csi: Registered csi capture as /dev/video0
Sep 08 16:59:41 pureos kernel: imx7-csi 30b80000.csi: Registered csi capture as /dev/video1
Sep 08 16:59:41 pureos systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
Sep 08 16:59:41 pureos pipewire[1257]: spa.v4l2: ‘/dev/video0’ VIDIOC_ENUM_FRAMEINTERVALS: Inappropriate ioctl for device
Sep 08 16:59:41 pureos pipewire[1257]: spa.v4l2: ‘/dev/video0’ VIDIOC_ENUM_FRAMEINTERVALS: Inappropriate ioctl for device
Sep 08 16:59:41 pureos pipewire[1257]: spa.v4l2: ‘/dev/video1’ VIDIOC_ENUM_FRAMEINTERVALS: Inappropriate ioctl for device
Sep 08 16:59:41 pureos pipewire[1257]: spa.v4l2: ‘/dev/video1’ VIDIOC_ENUM_FRAMEINTERVALS: Inappropriate ioctl for device
Sep 08 16:59:41 pureos kernel: s5k3l6xx 3-002d: using DT ‘/soc@0/bus@30800000/i2c@30a50000/camera@2d’ for ‘rstn’ GPIO lookup
Sep 08 16:59:41 pureos kernel: of_get_named_gpiod_flags: parsed ‘rstn-gpios’ property of node ‘/soc@0/bus@30800000/i2c@30a50000/camera@2d[0]’ - status (0)
Sep 08 16:59:41 pureos kernel: gpio gpiochip0: Persistence not supported for GPIO 26
Sep 08 16:59:41 pureos kernel: s5k3l6xx 3-002d: probe i2c ffff0000046d2c00
Sep 08 16:59:41 pureos kernel: s5k3l6xx 3-002d: model low: 0x30
Sep 08 16:59:41 pureos kernel: s5k3l6xx 3-002d: model high: 0xC6
Sep 08 16:59:41 pureos kernel: s5k3l6xx 3-002d: revision number: 0xB0
Sep 08 16:59:41 pureos kernel: hi846 2-0020: using DT ‘/soc@0/bus@30800000/i2c@30a40000/camera@20’ for ‘reset’ GPIO lookup
Sep 08 16:59:41 pureos kernel: of_get_named_gpiod_flags: parsed ‘reset-gpios’ property of node ‘/soc@0/bus@30800000/i2c@30a40000/camera@20[0]’ - status (0)
Sep 08 16:59:41 pureos kernel: gpio gpiochip0: Persistence not supported for GPIO 25
Sep 08 16:59:41 pureos kernel: hi846 2-0020: using DT ‘/soc@0/bus@30800000/i2c@30a40000/camera@20’ for ‘shutdown’ GPIO lookup
Sep 08 16:59:41 pureos kernel: of_get_named_gpiod_flags: parsed ‘shutdown-gpios’ property of node ‘/soc@0/bus@30800000/i2c@30a40000/camera@20[0]’ - status (0)
Sep 08 16:59:41 pureos kernel: gpio gpiochip4: Persistence not supported for GPIO 4
Sep 08 16:59:41 pureos kernel: hi846 2-0020: chip id 08 46 using 2 mipi lanes
Sep 08 16:59:42 pureos kernel: st-magn-i2c 1-001e: DRDY on pin INT1 specified, but sensor does not support interrupts
Sep 08 16:59:42 pureos kernel: st-magn-i2c 1-001e: interrupts active high level
Sep 08 16:59:42 pureos systemd[1]: Starting iio-sensor-proxy.service - IIO Sensor Proxy service…
Sep 08 16:59:42 pureos kernel: irq: type mismatch, failed to map hwirq-7 for gpio@30220000!
Sep 08 16:59:42 pureos systemd[1]: Started iio-sensor-proxy.service - IIO Sensor Proxy service.
Sep 08 16:59:42 pureos iio-sensor-prox[2654]: Could not find trigger name associated with /sys/devices/platform/soc@0/30800000.bus/30a30000.i2c/i2c-1/1-006a/iio:device1
Sep 08 16:59:43 pureos systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Sep 08 16:59:46 pureos systemd[1]: systemd-rfkill.service: Deactivated successfully.
Sep 08 16:59:49 pureos systemd-logind[1031]: Power key pressed short.
Sep 08 17:00:59 pureos kernel: edt_ft5x06 2-0038: Unable to fetch data, error: -6

After that, operating the kill switch just give me the following without reactivating the card:

Sep 08 17:02:59 pureos systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status…
Sep 08 17:02:59 pureos systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
Sep 08 17:03:00 pureos NetworkManager[975]: [1788883380.0259] manager: rfkill: Wi-Fi now enabled by radio killswitch
Sep 08 17:03:04 pureos systemd[1]: systemd-rfkill.service: Deactivated successfully.
Sep 08 17:03:09 pureos systemd-logind[1031]: Power key pressed short.
Sep 08 17:03:26 pureos systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status…
Sep 08 17:03:26 pureos systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
Sep 08 17:03:26 pureos NetworkManager[975]: [1788883406.2914] manager: rfkill: Wi-Fi now disabled by radio killswitch
Sep 08 17:03:31 pureos systemd[1]: systemd-rfkill.service: Deactivated successfully.