全志A20 android4.2.2 MT7601 wifi移植 问题

fire_drangon 2014-11-18 04:10:36
硬件平台:全志A20
软件平台:android4.2.2
模块: MT7601 WIFI 模块

原来在驱动A13上面的驱动代码, 现在移植到了A20上面,驱动编译过了。
放到板子上面,没有看到加载的模块。
跟踪发现程序好像没有走到加载模块的部分就出错了。
wpa_supplicant也没有启起来

以下是我截取的关于wifi部分的log,大家能否帮忙看看是什么问题:

I/qtaguid ( 2112): Failed write_ctrl(s 0 10031) res=-1 errno=1

W/NetworkManagementSocketTagger( 2112): setKernelCountSet(10031, 0) failed with errno -1

D/WifiService( 2112): setWifiEnabled: true pid=4766, uid=1000

D/WifiHW ( 953): Enter: wifi_get_fw_path function, fw_type=0,

E/WifiStateMachine( 2112): Failed to reload STA firmware java.lang.IllegalStateException: command '10 softap fwreload wlan0 STA' failed with '400 10 Softap operation failed (No such file or directory)'

I/BluetoothAdapter( 4766): this device does not have Bluetooth support

W/CommandListener( 953): Failed to retrieve HW addr for wlan0 (No such device)

D/CommandListener( 953): Setting iface cfg

E/WifiStateMachine( 2112): Unable to change interface settings: java.lang.IllegalStateException: command '12 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 12 Failed to set address (No such device)'

E/WifiHW ( 2112): ctrl_interface != /data/misc/wifi/sockets

I/wpa_supplicant( 4895): rfkill: Cannot open RFKILL control device

E/wpa_supplicant( 4895): nl80211: Could not configure driver to use managed mode

E/wpa_supplicant( 4895): Could not read interface p2p0 flags: No such device

I/wpa_supplicant( 4895): ##### nl80211: wpa_driver_nl80211_deinit

E/wpa_supplicant( 4895): p2p0: Failed to initialize driver interface

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiHW ( 2112): Supplicant not running, cannot connect

W/BufferQueue( 952): freeAllBuffersLocked called but mQueue is not empty

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiHW ( 2112): Supplicant not running, cannot connect

W/InputEventReceiver( 4766): Attempted to finish an input event but the input event receiver has already been disposed.

W/InputEventReceiver( 4766): Attempted to finish an input event but the input event receiver has already been disposed.

W/InputMethodManagerService( 2112): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41f5fa98 attribute=null, token = android.os.BinderProxy@421578c0

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiStateMachine( 2112): Failed to setup control channel, restart supplicant

D/WifiHW ( 953): Enter: wifi_get_fw_path function, fw_type=0,

E/WifiStateMachine( 2112): Failed to reload STA firmware java.lang.IllegalStateException: command '13 softap fwreload wlan0 STA' failed with '400 13 Softap operation failed (No such device)'

W/CommandListener( 953): Failed to retrieve HW addr for wlan0 (No such device)

D/CommandListener( 953): Setting iface cfg

E/WifiStateMachine( 2112): Unable to change interface settings: java.lang.IllegalStateException: command '15 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 15 Failed to set address (No such device)'

I/wpa_supplicant( 4985): rfkill: Cannot open RFKILL control device

E/wpa_supplicant( 4985): nl80211: Could not configure driver to use managed mode

E/wpa_supplicant( 4985): Could not read interface p2p0 flags: No such device

I/wpa_supplicant( 4985): ##### nl80211: wpa_driver_nl80211_deinit

E/wpa_supplicant( 4985): p2p0: Failed to initialize driver interface

E/WifiHW ( 2112): Unable to open connection to supplicant on "wlan0": No such file or directory

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiHW ( 2112): Supplicant not running, cannot connect

D/dalvikvm( 2112): GC_FOR_ALLOC freed 1741K, 30% free 7745K/10976K, paused 123ms, total 125ms

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiStateMachine( 2112): Failed to setup control channel, restart supplicant

D/WifiHW ( 953): Enter: wifi_get_fw_path function, fw_type=0,

E/WifiStateMachine( 2112): Failed to reload STA firmware java.lang.IllegalStateException: command '16 softap fwreload wlan0 STA' failed with '400 16 Softap operation failed (No such device)'

W/CommandListener( 953): Failed to retrieve HW addr for wlan0 (No such device)

D/CommandListener( 953): Setting iface cfg

E/WifiStateMachine( 2112): Unable to change interface settings: java.lang.IllegalStateException: command '18 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 18 Failed to set address (No such device)'

I/wpa_supplicant( 5011): rfkill: Cannot open RFKILL control device

E/wpa_supplicant( 5011): nl80211: Could not configure driver to use managed mode

E/wpa_supplicant( 5011): Could not read interface p2p0 flags: No such device

I/wpa_supplicant( 5011): ##### nl80211: wpa_driver_nl80211_deinit

E/wpa_supplicant( 5011): p2p0: Failed to initialize driver interface

E/WifiHW ( 2112): Unable to open connection to supplicant on "wlan0": No such file or directory

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiHW ( 2112): Supplicant not running, cannot connect

E/WifiStateMachine( 2112): Failed to setup control channel, restart supplicant
...全文
719 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
木子方元 2016-01-20
  • 打赏
  • 举报
回复
楼主,搞定了吗?
Nemo_Lbs 2015-11-18
  • 打赏
  • 举报
回复
朋友,最后解决了吗?
fire_drangon 2014-11-19
  • 打赏
  • 举报
回复
我怀疑是wpa_supplicant 与平台相关的。 沉的好快啊。自己定一下
fire_drangon 2014-11-19
  • 打赏
  • 举报
回复
引用 3 楼 shenzhentom 的回复:
"原来在驱动A13上面的驱动代码, 现在移植到了A20上面,驱动编译过了。" <---可能没有移植好。问wifi 原厂要一个A20 上面的驱动, 再试试。
看来只能这样了。
shenzhentom 2014-11-19
  • 打赏
  • 举报
回复
"原来在驱动A13上面的驱动代码, 现在移植到了A20上面,驱动编译过了。" <---可能没有移植好。问wifi 原厂要一个A20 上面的驱动, 再试试。
fire_drangon 2014-11-19
  • 打赏
  • 举报
回复
是不是发错版块了,

80,349

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧