Problem with wifi on ubuntu

Hi,

I managed to configure a custom xubuntu filesystem thanks to the tutorial with a lot of packages installed through qemu… Once the .img is done it boots and everything seems to work except the wifi.
The network manager keeps telling the “device is not ready”. Restarting it doesn’t change anything.
With :

sudo ifconfig wlan0 up

I got : “SIOCSIFFLAGS: Operation not permitted”. It seems the wifi adapter is powered off because there is no rfkill lock and :

dmesg | tail

returns :

[ 2048.920017] dhd_wl_ioctl: returning as busstate=0
[ 2048.920031] dhd_net_bus_devreset: dhd_bus_devreset: -35
[ 2048.923774] sdioh_disable_func_intr: error for read SDIO_CCCR_IENx : 0xffffff92
[ 2048.923798] wifi_platform_set_power = 0
[ 2048.923811] ======== PULL WL_REG_ON LOW! ========
[ 2048.923826] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 2048.923847] [WLAN_RFKILL]: wifi shut off power.
[ 2048.923860] wl_android_wifi_off out
[ 2048.949115] dhd_stop: Exit
[ 2048.949136] dhd_open: Exit ret=-1

and with

journalctl -ex

I got :

Aug 27 00:20:04 firefly kernel: ======== PULL WL_REG_ON LOW! ========
Aug 27 00:20:04 firefly kernel: [WLAN_RFKILL]: rockchip_wifi_power: 0
Aug 27 00:20:04 firefly kernel: [WLAN_RFKILL]: wifi shut off power.
Aug 27 00:20:04 firefly kernel: wl_android_wifi_on: Failed
Aug 27 00:20:04 firefly kernel: dhd_open : wl_android_wifi_on failed (-35)
Aug 27 00:20:04 firefly kernel: dhd_stop: Enter ffffffc0edcb4000
Aug 27 00:20:04 firefly kernel: wl_android_wifi_off in 1
Aug 27 00:20:04 firefly kernel: wl_android_wifi_off in 2: g_wifi_on=0, on_failur
Aug 27 00:20:04 firefly kernel: dhd_wl_ioctl: returning as busstate=0
Aug 27 00:20:04 firefly kernel: dhd_net_bus_devreset: dhd_bus_devreset: -35
Aug 27 00:20:04 firefly kernel: sdioh_disable_func_intr: error for read SDIO_CCC
Aug 27 00:20:04 firefly kernel: wifi_platform_set_power = 0
Aug 27 00:20:04 firefly kernel: ======== PULL WL_REG_ON LOW! ========
Aug 27 00:20:04 firefly kernel: [WLAN_RFKILL]: rockchip_wifi_power: 0
Aug 27 00:20:04 firefly kernel: [WLAN_RFKILL]: wifi shut off power.
Aug 27 00:20:04 firefly kernel: wl_android_wifi_off out
Aug 27 00:20:04 firefly kernel: dhd_stop: Exit
Aug 27 00:20:04 firefly kernel: dhd_open: Exit ret=-1

Last, with serial debugging:

[ 2.359684] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0
[ 2.360214] dhd_conf_set_txglom_params: txglom_bucket_size=0
[ 2.360710] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0, bus_txglom=0
[ 2.361398] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0
[ 2.361945] dhd_bus_devreset: WLAN OFF DONE
[ 2.362395] wifi_platform_set_power = 0
[ 2.362735] ======== PULL WL_REG_ON LOW! ========
[ 2.363156] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 2.363576] [WLAN_RFKILL]: wifi shut off power.
[ 2.364059] dhd_module_init: Exit err=0

The kernel is 4.4.55 (and everything worked with the vanilla filesystem)

Any idea ?

get anything in “/system/etc/firmware/” ?

Wow thanks now I realize I miss the entire /system folder..
How am I supposed to install the firmware stuff ? I followed the guidelines (http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_Ubuntu_rfs/en) but there was no mention of it..
Need I just to copy it from your default filesystem ?

yes, just copy it.

It did the trick, thanks !

Xavier

xav Posted at 8/31/2017 04:42
It did the trick, thanks !

Xavier

怎么搞定的啊,我出现了同样的问题,教教我

I realized that I have not included the entire /system folder.
Wordle

In diesem Zeitalter des Internets gibt es viele Möglichkeiten, SAP C_P2WIE_2404 Zertifizierungsprüfung vorzubereiten. ZertSoft bietet die zuverlässigsten Zertifizierungsfragen und Antworten, die Ihnen helfen, SAP C_P2WIE_2404 Zertifizierungsprüfung zu bestehen. ZertSoft haben eine Vielzahl von SAP C_P2WIE_2404 Zertifizierungsprüfungen. Wir werden alle Ihrer Wünsche über IT-Zertifizierungen erfüllen.

This article is absolutely extraordinary, thank you for your share! The C_BCSBS_2502 new practice questions book questions were key to my promotion and salary increase, and today I’m sharing them for free!

What an outstanding piece of writing, I truly appreciate your sharing. Boost your IT abilities with free Mule-101 review guide. Wishing you all the best!

Through this article, my work thinking has significantly improved. Thanks to the DevOps-Foundation valid study materials, I received a promotion and a pay raise. Now it’s open to everyone for free. Wishing you all the best in your career!

Your article is a work of art, thank you for sharing it with us! The CIS-Discovery Customized Lab Simulation questions were essential to my promotion and salary boost, and today, I’m sharing them with you for free!