dan-and / linux-sunxi

Linux source for Allwinner/Boxchip F20 (sun3i), A10 (sun4i), A12/A13 (sun5i), A20 (sun7i) SoCs -- You can visit it a chat at https://gitter.im/dan-and/linux-sunxi --
http://linux-sunxi.org/Linux
Other
17 stars 17 forks source link

Wifi and systemd 216 #29

Open kivutar opened 8 years ago

kivutar commented 8 years ago

I'm trying to get wifi working with the following stack:

I can modprobe bcmdhd and see the wifi interface listed in connman technologies but when I do a connman scan, I get the following error message:

Error /net/connman/technology/wifi: No carrier

And in my dmesg

[  482.102710] wl_android_wifi_off in
[  482.120123] dhd_open, firmware path 
[  482.122249] wl_android_wifi_on in
[  482.129228] dhd_customer_gpio_wlan_ctrl: callc customer specific GPIO to remove WLAN RESET
[  482.236017] sdio wifi power state: on
[  482.349326] =========== WLAN going back to live  ========
[  482.351116] sdio_reset_comm():
[  482.359717] [mmc-msg] sdc3 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[  482.369969] [mmc-msg] sdc3 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[  482.379259] [mmc-msg] sdc3 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[  482.384265] [mmc-msg] sdc3 set round clock 400000, src 24000000
[  482.448007] [mmc-msg] sdc3 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[  482.467240] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[  482.473281] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[  482.479297] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[  482.486665] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[  482.513578] [mmc-msg] sdc3 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[  482.522213] [mmc-msg] sdc3 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[  482.527568] [mmc-msg] sdc3 set round clock 46153846, src 600000000
[  482.591221] [mmc-msg] sdc3 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[  482.594652] bcmsdh_config_hw_oob_intr: Enter
[  482.602876] dhd_bus_select_firmware_name_by_chip: firmware_path=/system/etc/firmware/fw_bcm40181a2.bin
[  482.607904] Final fw_path=/system/etc/firmware/fw_bcm40181a2.bin
[  482.612574] Final nv_path=/lib/firmware/ap6210/nvram_ap6210.txt
[  482.620324] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to insert WLAN RESET
[  482.736784] sdio wifi power state: off
[  482.846598] =========== WLAN placed in RESET ========
[  482.849110] wl_android_wifi_on: Failed
[  482.851369] wl_android_wifi_off in

Any idea?

Some users got it working with sunxi-3.4 and systemd215 (or maybe it was an older version of dbus or udev).