Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Problem with wifi on ubuntu

42

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
42

Problem with wifi on ubuntu

Posted at 8/27/2017 08:32:42      View:7124 | Replies:6        Print      Only Author   [Copy Link] 1#
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 ?

Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 8/28/2017 10:03:44        Only Author  2#
get anything in "/system/etc/firmware/" ?
Reply

Use props Report

42

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
42
Posted at 8/30/2017 05:03:39        Only Author  3#
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 ?
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 8/30/2017 09:47:23        Only Author  4#
yes, just copy it.
Reply

Use props Report

42

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
42
Posted at 8/31/2017 04:42:05        Only Author  5#
It did the trick, thanks !

Xavier
Reply

Use props Report

14

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
14
Posted at 2/10/2022 16:14:31        Only Author  6#
xav Posted at 8/31/2017 04:42
It did the trick, thanks !

Xavier

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

Use props Report

14

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
14
Posted at 4/8/2022 12:29:41        Only Author  7#
I realized that I have not included the entire /system folder.
Wordle
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list