Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIFI 不能正常使用 #11

Open
lovemengx opened this issue Feb 17, 2024 · 0 comments
Open

WIFI 不能正常使用 #11

lovemengx opened this issue Feb 17, 2024 · 0 comments

Comments

@lovemengx
Copy link

lovemengx commented Feb 17, 2024

以下是内核启动 WIFI 时的日志输出:
[ 5.782165] ======== XRADIO WIFI OPEN ========
[ 5.787181] [XRADIO] Driver Label:XR_V02.16.91 _HT40_01.33 Feb 17 2024 10:35:49
[ 5.795746] [XRADIO] Allocated hw_priv @ c37c6c80
[ 5.801281] [XRADIO_ERR] Access_file failed, path:/data/misc/wifi/xr_wifi.conf!
[ 5.810623] sunxi-wlan soc@03000000:wlan@0: bus_index: 1
[ 5.926666] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 5.936923] [XRADIO] Detect SDIO card 1
[ 5.951799] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[ 5.979134] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 6.019771] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 6.034411] open /dev/mtd1 failed,ret=-6
[ 6.034423] remoteproc0: Can't finded boot_package head
[ 6.034428] remoteproc0: sunxi_request_firmwarefailed,ret=-19
[ 6.054089] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 6.075296] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 6.086091] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 6.097147] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 6.108870] mmc1: new high speed SDIO card at address 0001
[ 6.115965] [SBUS] XRadio Device:sdio clk=50000000
[ 6.123030] [XRADIO] XRADIO_HW_REV 1.0 detected.
[ 6.179491] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000.
[ 6.215546] [XRADIO] Bootloader complete
[ 6.324725] [XRADIO] Firmware completed.
[ 6.330654] [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09
[ 6.348111] [XRADIO] Firmware Startup Done.
[ 6.353158] [XRADIO_WRN] enable Multi-Rx!
[ 6.370051] ieee80211 phy0: Failed to initialize wep: -2
[ 6.376126] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 6.472871] [VIN_WARN]sensor_helper_probe: cannot get sensor0_cameravdd supply, setting it to NULL!
[ 6.483380] [VIN_WARN]sensor_helper_probe: cannot get sensor0_iovdd supply, setting it to NULL!
[ 6.493411] [VIN_WARN]sensor_helper_probe: cannot get sensor0_avdd supply, setting it to NULL!
[ 6.503160] [VIN_WARN]sensor_helper_probe: cannot get sensor0_dvdd supply, setting it to NULL!
[ 6.583658] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.593242] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.602769] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.612213] [VIN_DEV_I2C]gc2053_mipi sensor read retry = 2
[ 6.819401] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.828941] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.838493] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.847865] [VIN_DEV_I2C]gc2053_mipi sensor read retry = 2
[ 7.074215] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 7.083765] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 7.093316] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 7.102687] [VIN_DEV_I2C]gc2053_mipi sensor read retry = 2
[ 7.309327] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 7.318844] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 7.328392] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 7.337775] [VIN_DEV_I2C]gc2053_mipi sensor read retry = 2
[ 7.343932] [gc2053_mipi] error, chip found is not an target chip.
[ 7.363360] [VIN_ERR]registering gc2053_mipi, No such device!
[ 7.603549] udevd[893]: could not create /tmp/run/udev: No such file or directory
[ 8.251755] file system registered
[ 8.269359] configfs-gadget 4100000.udc-controller: failed to start g1: -19
[ 8.381933] read descriptors
[ 8.385211] read strings
[ 8.543205] sunxi_set_cur_vol_work()482 WARN: get power supply failed
[ 8.630668] android_work: sent uevent USB_STATE=CONNECTED
[ 8.814319] configfs-gadget gadget: high-speed config #1: c
[ 8.820726] android_work: sent uevent USB_STATE=CONFIGURED
[ 11.049029] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=54:0d:42:ee:1a:22
[ 11.057317] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=54:0d:42:ee:1a:22
[ 11.070863] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
[ 11.089296] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

在使用扫描的时候,会出现如下问题:
root@TinaLinux:/# iw wlan0 scan
scan aborted!

[ 374.889081] [SCAN_WRN] Timeout waiting for scan complete notification.
[ 374.896412] [SCAN_WRN] xradio_scan_timeout:scan timeout cnt=1
[ 374.902934] [SCAN_ERR] Scan failed (-110).
[ 375.902951] [WSM_ERR] [FW-DEBUG] DbgId = 4
[ 375.907562] [WSM_ERR] [FW-DEBUG] 0x000F4242

从日志信息来看,通信和下载 WIFI 固件都没有问题,也尝试过使用 wifi -o sta 之后再 wifi -s,也不行。
[ 374.889081] [SCAN_WRN] Timeout waiting for scan complete notification.
[ 374.896412] [SCAN_WRN] xradio_scan_timeout:scan timeout cnt=1
[ 374.902934] [SCAN_ERR] Scan failed (-110).
[ 375.902951] [WSM_ERR] [FW-DEBUG] DbgId = 4
[ 375.907562] [WSM_ERR] [FW-DEBUG] 0x000F4242
[ 375.912376] [SCAN_WRN] Scan timeout already occured. Don't cancel work
[ 730.729141] [SCAN_WRN] Timeout waiting for scan complete notification.
[ 730.736667] [SCAN_WRN] xradio_scan_timeout:scan timeout cnt=2
[ 730.743224] [SCAN_ERR] Scan failed (-110).
[ 731.743199] [WSM_ERR] [FW-DEBUG] DbgId = 4
[ 731.747803] [WSM_ERR] [FW-DEBUG] 0x000F4241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant