各位好,我使用Marvell8787,在freescale imx51平台上使用,用wpa_supplicant手动可以连接路由器。
但是,当修改相关部分,使平板的UI上的wifi打开可自动搜索AP时发生错误,logcat信息如下,请高手指教,不胜感激。# logcat -c
# logcat
WLAN FW already running! Skip FW download
WLAN FW is active
--------- beginning of /dev/log/main
D/Tethering( 2199): wlan0 is not a tetherable iface, ignoring
D/Tethering( 2199): uap0 is not a tetherable iface, ignoring
D/Tethering( 2199): wfd0 is not a tetherable iface, ignoring
ADDRCONF(NETDEV_UP): wlan0: link is not ready
E/wpa_supplicant( 2561): Failed to initialize control interface 'wlan0'.
E/wpa_supplicant( 2561): You may have another wpa_supplicant process already running or the file was
E/wpa_supplicant( 2561): left by an unclean termination of wpa_supplicant in which case you will need
E/wpa_supplicant( 2561): to manually remove this file before starting wpa_supplicant again.
I/wpa_supplicant( 2561): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
I//system/bin/wpa_supplicant( 2560): mkdir[ctrl_interface]: Read-only file system
I/logwrapper( 2560): /system/bin/wpa_supplicant terminated by exit(255)
E/WifiHW  ( 2199): Unable to open connection to supplicant on "wlan0": No such file or directory
D/WifiStateTracker( 2199): Reset connections and stopping DHCP
D/WifiStateTracker( 2199): Disabling interface
D/dalvikvm( 2482): GC_CONCURRENT freed 252K, 47% free 3098K/5831K, external 1207K/1719K, paused 3ms+2ms
E/WifiHW  ( 2199): Supplicant not running, cannot connect
E/WifiHW  ( 2199): Supplicant not running, cannot connect
E/WifiHW  ( 2199): Supplicant not running, cannot connect
V/WifiStateTracker( 2199): Supplicant died unexpectedly
D/WifiStateTracker( 2199): Reset connections and stopping DHCP
D/WifiStateTracker( 2199): Disabling interface
D/NetworkStateTracker( 2199): setDetailed state, old =DISCONNECTED and new state=DISCONNECTED
D/WifiStateTracker( 2199): Reset connections and stopping DHCP
D/WifiStateTracker( 2199): Disabling interface
E/Tethering( 2199): attempting to remove unknown iface (wlan0), ignoring
E/Tethering( 2199): attempting to remove unknown iface (uap0), ignoring
E/Tethering( 2199): attempting to remove unknown iface (wfd0), ignoring
D/dalvikvm( 2199): GC_CONCURRENT freed 875K, 44% free 4272K/7623K, external 2765K/3965K, paused 5ms+5ms