|
发表于 2018-5-28 15:36:54
浏览:15108
|
回复:5
打印
只看该作者
[复制链接]
楼主
请各位大师解惑,以下是命令日志:
shell@firefly:/ # echo 1 >/sys/class/rkwifi/driver
shell@firefly:/ # ifconfig wlan0 up
[ 68.497286] dhd_open: Enter de876800
[ 68.497356]
[ 68.497356] Dongle Host Driver, version 1.201.59.5 (r506368)
[ 68.497356] Compiled in drivers/net/wireless/bcmdhd on May 25 2018 at 16:14:11
[ 68.497443] wl_android_wifi_on in 1
[ 68.497466] wl_android_wifi_on in 2: g_wifi_on=0
[ 68.497485] wifi_platform_set_power = 1
[ 68.497503] ======== PULL WL_REG_ON HIGH! ========
[ 68.497523] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 68.497544] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 1
[ 68.497565] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
[ 68.601445] [WLAN_RFKILL]: wifi turn on power. 43
[ 68.808252] sdio_reset_comm():
[ 68.811499] mmc_host mmc2: Bus speed (slot 0) = 37500000Hz (slot req 200000Hz, actual 199468HZ div = 94)
[ 68.811605] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out 400000Hz for init[mmc2]
[ 68.832899] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[ 68.835995] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 68.839111] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 68.844713] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[ 68.851538] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[ 69.032203] mmc_host mmc2: Bus speed (slot 0) = 37500000Hz (slot req 37500000Hz, actual 37500000HZ div = 0)
[ 69.032346] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out normal clock [mmc2]
[ 69.033840]
[ 69.033840]
[ 69.033840] dhd_bus_devreset: == WLAN ON ==
[ 69.034269] F1 signature read @0x18000000=0x1541a9a6
[ 69.042613] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4
[ 69.046637] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[ 69.047120] dhdsdio_probe_init: set use_rxchain 0 from config.txt
[ 69.047407] dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt
[ 69.047445] dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/fw_bcm43438a1.bin
[ 69.047470] Final fw_path=/system/etc/firmware/fw_bcm43438a1.bin
[ 69.047490] Final nv_path=/system/etc/firmware/nvram_ap6212a.txt
[ 69.047510] Final conf_path=/system/etc/firmware/config.txt
[ 69.125619] NVRAM version: AP6212A_NVRAM_V1.0.1_20160606
[ 69.126600] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 69.186990] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 69.187158] bcmsdh_oob_intr_register: Enter
[ 69.187173] bcmsdh_oob_intr_register: HW_OOB enabled
[ 69.187186] bcmsdh_oob_intr_register OOB irq=169 flags=4
[ 69.187276] bcmsdh_oob_intr_register: enable_irq_wake
[ 69.188814] dhd_conf_set_band: Set band 0
[ 69.189116] dhd_preinit_ioctls: Set tcpack_sup_mode 0
[ 69.189143] wifi_platform_get_mac_addr
[ 69.189155] ======== bcm_wlan_get_mac_address ========
[ 69.189168] [WLAN_RFKILL]: rockchip_wifi_mac_addr: enter.
[ 69.189187] [WLAN_RFKILL]: falsh wifi_custom_mac_addr=[00:00:00:00:00:00]
[ 69.189200] [WLAN_RFKILL]: This mac address is not valid, ignored...
[ 69.192581] Firmware up: op_mode=0x0005, MAC=10:d0:7a:01:67:18
[ 69.192600] dhd_conf_set_country: Set country CN, revision 0
[ 69.219954] Country code: CN (CN/0)
[ 69.220587] dhd_conf_set_roam: Set roam_off 1
[ 69.233476] Firmware version = wl0: Oct 8 2016 15:31:47 version 7.46.57.4.ap.r4 (A1 Station/P2P) FWID 01-3621395e es6.c5.n4.a3
[ 69.233500] sDelv@ri e.ly1.59.5 # 506368)
[ 69.233500] Firmware: wl0: Oct 8 2016 15:31:47 version 7.46.57.4.ap.r4 (A1 Station/P2P) FWID 01-3621395e es6.c5.n4.a3
[ 69.233522] dhd_txglom_enable: enable 0
[ 69.233532] dhd_conf_set_disable_proptx: set disable_proptx 0
[ 69.235572] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[ 69.236283] wl_android_wifi_on: Success
[ 69.273776] dhd_open: Exit ret=0
shell@firefly:/ #
shell@firefly:/ #
shell@firefly:/ #
shell@firefly:/ #
shell@firefly:/ #
shell@firefly:/ #
shell@firefly:/ #
shell@firefly:/ #
shell@firefly:/ #
shell@firefly:/ #
shell@firefly:/ # busybox ifconfig
eth0 Link encap:Ethernet HWaddr 96:30:A0:BE:C7:69
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:594 (594.0 B)
Interrupt:88 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 10:D0:7A:01:67:18
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
shell@firefly:/ #
plicant -D nl80211 -i wlan0 -c /etc/wifi/wpa_supplicant.conf -B <
shell@firefly:/ # ps
USER PID PPID VSIZE RSS WCHAN PC NAME
root 1 0 8864 720 c0118e30 000355f4 S /init
root 2 0 0 0 c0055ec4 00000000 S kthreadd
root 3 2 0 0 c005cc58 00000000 S ksoftirqd/0
root 4 2 0 0 c0050590 00000000 S kworker/0:0
root 5 2 0 0 c0050590 00000000 S kworker/0:0H
root 7 2 0 0 c005cc58 00000000 S migration/0
root 8 2 0 0 c00a62e4 00000000 S rcu_preempt
root 9 2 0 0 c00a61e4 00000000 S rcu_bh
root 10 2 0 0 c00a61e4 00000000 S rcu_sched
root 11 2 0 0 c005cc58 00000000 S watchdog/0
root 12 2 0 0 c005cc58 00000000 S watchdog/1
root 13 2 0 0 c005cc58 00000000 S migration/1
root 14 2 0 0 c005cc58 00000000 S ksoftirqd/1
root 15 2 0 0 c0050590 00000000 S kworker/1:0
root 16 2 0 0 c0050590 00000000 S kworker/1:0H
root 17 2 0 0 c005cc58 00000000 S watchdog/2
root 18 2 0 0 c005cc58 00000000 S migration/2
root 19 2 0 0 c005cc58 00000000 S ksoftirqd/2
root 20 2 0 0 c0050590 00000000 S kworker/2:0
root 21 2 0 0 c0050590 00000000 S kworker/2:0H
root 22 2 0 0 c005cc58 00000000 S watchdog/3
root 23 2 0 0 c005cc58 00000000 S migration/3
root 24 2 0 0 c005cc58 00000000 S ksoftirqd/3
root 25 2 0 0 c0050590 00000000 S kworker/3:0
root 26 2 0 0 c0050590 00000000 S kworker/3:0H
root 27 2 0 0 c00507d8 00000000 S khelper
root 28 2 0 0 c0303124 00000000 S kdevtmpfs
root 29 2 0 0 c00507d8 00000000 S netns
root 30 2 0 0 c0050590 00000000 S kworker/3:1
root 32 2 0 0 c0050590 00000000 S kworker/2:1
root 33 2 0 0 c0050590 00000000 S kworker/1:1
root 34 2 0 0 c002a510 00000000 S kconsole
root 35 2 0 0 c00507d8 00000000 S writeback
root 36 2 0 0 c00507d8 00000000 S bioset
root 37 2 0 0 c00507d8 00000000 S crypto
root 38 2 0 0 c0050590 00000000 S kworker/u9:0
root 39 2 0 0 c00507d8 00000000 S kblockd
root 40 2 0 0 c0485c74 00000000 S khubd
root 52 2 0 0 c05f53a8 00000000 S vmalloc
root 53 2 0 0 c00507d8 00000000 S cfg80211
root 54 2 0 0 c009e0a8 00000000 S irq/160-rk818
root 55 2 0 0 c02a54ac 00000000 S fb-vsync
root 56 2 0 0 c00557e4 00000000 S rk-fb
root 57 2 0 0 c05a30b0 00000000 S cfinteractive
root 58 2 0 0 c00507d8 00000000 S rk81x-battery-w
root 59 2 0 0 c009e0a8 00000000 S irq/38-10106000
root 60 2 0 0 c009e0a8 00000000 S irq/39-10106000
root 61 2 0 0 c009e0a8 00000000 S irq/98-10104000
root 62 2 0 0 c009c380 00000000 S khungtaskd
root 63 2 0 0 c00d7784 00000000 S kswapd0
root 64 2 0 0 c00fcdd4 00000000 S ksmd
root 65 2 0 0 c013ff88 00000000 S fsnotify_mark
root 66 2 0 0 c00507d8 00000000 S cifsiod
root 85 2 0 0 c009e0a8 00000000 S irq/76-rga
root 86 2 0 0 c00507d8 00000000 S hdmi-20034000.h
root 87 2 0 0 c009e0a8 00000000 S irq/80-10108000
root 88 2 0 0 c00507d8 00000000 S dwc_otg
root 89 2 0 0 c009e0a8 00000000 S irq/166-rtc_hym
root 90 2 0 0 c00507d8 00000000 S dm_bufio_cache
root 91 2 0 0 c00507d8 00000000 S dw-mci-card
root 92 2 0 0 c00507d8 00000000 S dw-mci-card
root 93 2 0 0 c05b8b34 00000000 S mmcqd/0
root 94 2 0 0 c05b8b34 00000000 S mmcqd/0rpmb
root 95 2 0 0 c00507d8 00000000 S dw-mci-card
root 96 2 0 0 c00507d8 00000000 S binder
root 97 2 0 0 c00507d8 00000000 S rk312x-codec
root 98 2 0 0 c0050590 00000000 S kworker/u8:2
root 99 2 0 0 c0050590 00000000 S kworker/u8:3
root 100 2 0 0 c079feb4 00000000 S krfcommd
root 102 2 0 0 c00507d8 00000000 S rk_cam_wkque_ci
root 103 2 0 0 c0028974 00000000 S ddrfreqd
root 104 2 0 0 c00507d8 00000000 S dvfs
root 105 2 0 0 c0050590 00000000 S kworker/0:1H
root 106 2 0 0 c00507d8 00000000 S deferwq
root 108 2 0 0 c00507d8 00000000 S f_mtp
root 109 2 0 0 c04e47ac 00000000 S file-storage
root 112 1 8860 564 c0118e30 000355f4 S /sbin/ueventd
root 115 2 0 0 c0050590 00000000 S kworker/u9:1
root 116 2 0 0 c01d2ed8 00000000 S jbd2/mmcblk0p11
root 117 2 0 0 c00507d8 00000000 S ext4-dio-unwrit
root 118 2 0 0 c01d2ed8 00000000 S jbd2/mmcblk0p8-
root 119 2 0 0 c00507d8 00000000 S ext4-dio-unwrit
root 120 2 0 0 c01d2ed8 00000000 S jbd2/mmcblk0p9-
root 121 2 0 0 c00507d8 00000000 S ext4-dio-unwrit
root 122 2 0 0 c01d2ed8 00000000 S jbd2/mmcblk0p13
root 123 2 0 0 c00507d8 00000000 S ext4-dio-unwrit
root 127 2 0 0 c005a7f0 00000000 S wl_event_handle
root 128 2 0 0 c005a7f0 00000000 S dhd_watchdog_th
root 129 2 0 0 c005a7f0 00000000 S dhd_dpc
root 130 2 0 0 c005a7f0 00000000 S dhd_rxf
logd 132 1 18640 1416 ffffffff b6eaf5cc S /system/bin/logd
root 133 1 9844 288 c014315c 00032950 S /sbin/healthd
root 134 1 10624 1120 c014315c b6f6699c S /system/bin/lmkd
system 135 1 9460 668 c0601da0 b6f5eaec S /system/bin/servicemanager
root 136 1 19124 1968 ffffffff b6f363d8 S /system/bin/vold
system 137 1 81596 4236 ffffffff b6f1999c S /system/bin/surfaceflinger
shell 138 1 9324 736 c00495a4 b6f325cc S /system/bin/sh
root 139 1 17664 1272 ffffffff b6ec73d8 S /system/bin/rild
root 140 1 22840 1304 ffffffff b6eff3d8 S /system/bin/netd
root 141 1 10056 860 c0666344 b6f66d50 S /system/bin/debuggerd
drm 142 1 23228 3980 ffffffff b6e9caec S /system/bin/drmserver
media 143 1 129408 10712 ffffffff b6eb2aec S /system/bin/mediaserver
install 144 1 9416 696 c0721850 b6f37e84 S /system/bin/installd
keystore 145 1 12500 1848 c0601da0 b6ea4aec S /system/bin/keystore
root 146 1 8664 100 c0666344 00011aa0 S /system/xbin/vm
root 149 1 1207548 47592 ffffffff b6d9d118 S zygote
media_rw 150 1 15408 408 ffffffff b6f49e84 S /system/bin/sdcard
shell 151 1 16984 116 ffffffff 00026ff4 S /sbin/adbd
root 160 2 0 0 c00933e4 00000000 S kauditd
root 292 2 0 0 c0050590 00000000 S kworker/0:2
system 418 149 1186400 64348 ffffffff b6d9d99c S system_server
u0_a4 593 149 597968 33324 ffffffff b6d9d99c S android.process.media
u0_a11 629 149 651944 68076 ffffffff b6d9d99c S com.android.systemui
u0_a44 671 149 595640 26100 ffffffff b6d9d99c S android.rockchip.update.service
u0_a29 795 149 611004 35128 ffffffff b6d9d99c S com.android.inputmethod.latin
system 835 149 593668 23696 ffffffff b6d9d99c S com.cghs.stresstest
radio 853 149 614836 37988 ffffffff b6d9d99c S com.android.phone
system 872 149 652324 47608 ffffffff b6d9d99c S com.android.launcher3
u0_a41 900 149 595996 25192 ffffffff b6d9d99c S com.android.printspooler
u0_a2 919 149 604520 31464 ffffffff b6d9d99c S android.process.acore
root 954 2 0 0 c0050590 00000000 S kworker/3:2
u0_a50 983 149 593316 23176 ffffffff b6d9d99c S com.android.smspush
u0_a21 1011 149 599244 30532 ffffffff b6d9d99c S com.android.deskclock
u0_a33 1041 149 595188 27448 ffffffff b6d9d99c S com.android.music
system 1080 149 593304 23912 ffffffff b6d9d99c S com.android.keychain
system 1101 149 613508 29128 ffffffff b6d9d99c S com.android.settings
system 1123 149 596856 25888 ffffffff b6d9d99c S com.rockchip.devicetest
u0_a51 1142 149 595732 23964 ffffffff b6d9d99c S com.rockchip.mediacenter
u0_a51 1161 149 596788 25960 ffffffff b6d9d99c S com.rockchip.mediacenter:service
u0_a1 1179 149 596552 28692 ffffffff b6d9d99c S com.android.providers.calendar
u0_a6 1203 149 594320 23984 ffffffff b6d9d99c S com.android.managedprovisioning
u0_a8 1226 149 594260 23296 ffffffff b6d9d99c S com.android.onetimeinitializer
u0_a17 1248 149 603572 27936 ffffffff b6d9d99c S com.android.calendar
root 1293 138 9324 756 c00495a4 b6f005cc S sh
root 1295 2 0 0 c0050590 00000000 S kworker/1:2
u0_a7 1306 149 593408 23364 ffffffff b6d9d99c S com.android.musicfx
wifi 1342 1 12576 756 c0118e30 b6e67118 S wpa_supplicant
root 1343 1293 10684 776 00000000 b6e8de84 R ps
shell@firefly:/ #
shell@firefly:/ # wpa_cli
wpa_cli v2.3-5.1.1
Copyright (c) 2004-2014, Jouni Malinen <j@w1.fi> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Using interface 'wlan0'
Interactive mode
Could not connect to wpa_supplicant: wlan0 - re-trying
到这一步就出问题了,一直是连接不上wlan0;
shell@firefly:/ # wpa_cli -i wlan0 scan
Failed to connect to non-global ctrl_ifname: wlan0 error: No such file or directory
255|shell@firefly:/ #
也无法扫描附近热点。请大牛解惑。 |
|