Firefly Open Source Community

Title: Problem with wifi on ubuntu [Print This Page]

Author: xav    Time: 8/27/2017 08:32
Title: 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 :
  1. sudo ifconfig wlan0 up
Copy the code
I got : "SIOCSIFFLAGS: Operation not permitted". It seems the wifi adapter is powered off because there is no rfkill lock and :
  1. dmesg | tail
Copy the code
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
  1. journalctl -ex
Copy the code

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 ?


Author: isle    Time: 8/28/2017 10:03
get anything in "/system/etc/firmware/" ?
Author: xav    Time: 8/30/2017 05:03
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. ... Build_Ubuntu_rfs/en) but there was no mention of it..
Need I just to copy it from your default filesystem ?
Author: isle    Time: 8/30/2017 09:47
yes, just copy it.
Author: xav    Time: 8/31/2017 04:42
It did the trick, thanks !

Xavier
Author: myz    Time: 2/10/2022 16:14
xav Posted at 8/31/2017 04:42
It did the trick, thanks !

Xavier

怎么搞定的啊,我出现了同样的问题,教教我
Author: daniaeverett    Time: 4/8/2022 12:29
I realized that I have not included the entire /system folder.
Wordle
Author: katata    Time: 10/1/2025 13:14
Ugh, WiFi issues are the worst, especially after all that setup! Hope you figure out that "device not ready" problem soon. While you're waiting for a solution or taking a break from troubleshooting, maybe a quick game of planet clicker could help clear your head!
Author: tomscot704    Time: 1/14/2026 06:06
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.
Author: carlfor974    Time: 1/28/2026 19:00
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!
Author: benclar349    Time: 1/29/2026 20:11
Your article really caught my attention, thank you for sharing it. Wish me the best of luck for the upcoming Reliable C_P2W22_2504 exam dumps.zip exam!
Author: gracead886    Time: 1/29/2026 21:28
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!
Author: zoeturn876    Time: 1/30/2026 05:51
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!
Author: hughsco269    Time: 2/1/2026 03:14
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!




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1