Subj. No wireless device, hence cannot connect wifi networks.
No wireless device in Armbian/Radxa Debian Buster @ Rock Pi 4C
What should be wireless driver/firmware? Want to check if it’s present in my server
Just installed Rockpi4 Debian from radxa github, still no wireless device
[ 200.269806] wifi_platform_set_power = 0
[ 200.270158] ======== PULL WL_REG_ON(-1) LOW! ========
[ 200.270614] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 200.271069] [WLAN_RFKILL]: wifi shut off power.
[ 200.271475] ANDROID-ERROR)
failed to power up wifi chip, max retry reached **
[ 200.272152] wl_android_wifi_on: Success
[ 200.272504] dhd_open : wl_android_wifi_on failed (-22)
lots of such lines in dmesg
there is wlan0 after reboot, but networkmanager can not find any networks (with nmcli dev wifi) and doesn’t show wireless section in nmtui-connect
[ 98.273787] wifi_platform_set_power = 0
[ 98.274139] ======== PULL WL_REG_ON(-1) LOW! ========
[ 98.274595] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 98.275050] [WLAN_RFKILL]: wifi shut off power.
[ 98.275458] wifi_platform_set_power = 1
[ 98.275808] ======== PULL WL_REG_ON(-1) HIGH! ========
[ 98.276273] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 98.276702] [WLAN_RFKILL]: wifi turn on power. -1
[ 98.581512] sdio_reset_comm():
[ 98.597736] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 98.617314] mmc_host mmc2: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[ 98.759961] mmc2: queuing unknown CIS tuple 0x89 (66 bytes)
[ 98.763020] mmc2: queuing unknown CIS tuple 0x12 (0 bytes)
[ 98.775276] mmc2: queuing unknown CIS tuple 0x04 (0 bytes)
[ 98.863370] mmc2: bad CIS tuple 0x20 (0 bytes)
[ 98.863795] mmc2: Error resetting SDIO communications (-22)
[ 98.864301] sdioh_start Failed, error = -22
[ 98.864686] ANDROID-ERROR)
failed to power up wifi chip, retry again (0 left) **
[ 98.865520] wifi_platform_set_power = 0
[ 98.865872] ======== PULL WL_REG_ON(-1) LOW! ========
[ 98.866328] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 98.866780] [WLAN_RFKILL]: wifi shut off power.
[ 98.867186] ANDROID-ERROR)
failed to power up wifi chip, max retry reached **
[ 98.867864] wl_android_wifi_on: Success
[ 98.868216] dhd_open : wl_android_wifi_on failed (-22)
[ 98.868686] dhd_stop: Enter ffffffc0eacc2000
[ 98.869071] wl_android_wifi_off in 1
[ 98.869476] wl_android_wifi_off in 2: g_wifi_on=0, on_failure=1
[ 98.870017] dhd_wl_ioctl: returning as busstate=0
[ 98.870464] dhd_dbg_detach_pkt_monitor, 2204
[ 98.870852] dhd_net_bus_devreset: dhd_bus_devreset: -35
[ 98.874611] sdioh_disable_func_intr: error for read SDIO_CCCR_IENx : 0xffffff92
[ 98.875275] wifi_platform_set_power = 0
[ 98.875626] ======== PULL WL_REG_ON(-1) LOW! ========
[ 98.876081] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 98.876526] [WLAN_RFKILL]: wifi shut off power.
[ 98.876933] wl_android_wifi_off out
[ 98.877530] dhd_stop: Exit
[ 98.877790] dhd_open: Exit ret=-1
root@rockpi4c:~# rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth bt_default unblocked unblocked
1 wlan phy0 unblocked unblocked
2 wlan brcmfmac-wifi unblocked unblocked
3 bluetooth hci0 unblocked unblocked
root@rockpi4c:~# nmcli r wifi on
root@rockpi4c:~# nmcli dev wifi
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
root@rockpi4c:~# nmcli dev wifi rescan
Error: Scanning not allowed while unavailable or activating.
root@rockpi4c:~# iwlist wlan0 scan
wlan0 Interface doesn't support scanning.
root@rockpi4c:~# ifconfig wlan0 up
SIOCSIFFLAGS: Operation not permitted
Nice, after updating system and installing https://wiki.radxa.com/Penta_SATA_HAT and rebooting system again, penta sata hat started working, but one more reboot - and rock pi is bricked what a piece of …
What do you mean by ROCK Pi is bricked? What power are you using? 12V DC power from the sata hat or the USB C on the ROCK Pi?
By “bricked” I mean it’s not catching any address by DHCP. Since I don’t have DP monitor, network access is the only way I can configure OS.
I am using 12V DC power through SATA hat shipped with kit.
I also remembered now that before the last reboot I noticed that rockpi-penta service was failed due to following:
Dec 01 19:17:54 rockpi4c python3[7025]: this = _mraa.new_Pwm(pin, owner, chipid)
Dec 01 19:17:54 rockpi4c python3[7025]: ValueError: Error initialising PWM on pin
So I enabled interfaces as per https://wiki.radxa.com/Rockpi4/Debian#Common_Hardware_Interfaces.2C_I2C.2C_PWM.2C_SPI.2C_UART.2C_etc
Any ideas? I could even provide ssh access to fresh debian installation on that board.
Yes, please do a fresh Debian installation and provide a ssh access to me via PM.
Wrote to @jack 6d ago, but got no answer. Thinking of giving up and leaving rock pi connected to lan through Ethernet.
Thanks a lot for not helping!