当前位置: 技术问答>linux和unix
android休眠唤醒后wifi无法连接!!!!!!!!!!!!!
来源: 互联网 发布时间:2016-11-23
本文导语: 各位大虾,我的android上的wifi第一次启动时能正常使用,若是不让它休眠能一直正常使用,但是若系统休眠一次再唤醒后,wifi将无法使用。 休眠挂起时的log如下: I/wpa_supplicant( 3460): CTRL-EVENT-STATE-CHANGE id=-1 state=1 V/W...
各位大虾,我的android上的wifi第一次启动时能正常使用,若是不让它休眠能一直正常使用,但是若系统休眠一次再唤醒后,wifi将无法使用。
休眠挂起时的log如下:
I/wpa_supplicant( 3460): CTRL-EVENT-STATE-CHANGE id=-1 state=1
V/WifiMonitor( 1895): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=1]
V/WifiStateTracker( 1895): Changing supplicant state: SCANNING ==> INACTIVE
D/NetworkStateTracker( 1895): setDetailed state, old =SCANNING and new state=IDLE
D/ConnectivityService( 1895): ConnectivityChange for WIFI: DISCONNECTED/IDLE
D/DataConnectionTracker( 1964): enableApnType(default), isApnTypeActive = false and state = IDLE
D/ ( 1895): force_suspend 000force_suspend_set true
D/ ( 1895): force_suspend 111
D/ ( 1895): force_suspend done
D/PowerManagerService( 1895): setPowerState: mPowerState=3 newState=0 noChangeLights=false
D/PowerManagerServicesave exit: isCheckpointed 1
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.248598000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.255538000 UTC)
( 1895): oldKeyboardBright=false newKeyboardBrsuspend: exit suspend, ret = -22 (2011-04-16 02:54:29.265686000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.271290000 UTC)
ight=false
D/PowerManagerService( 1895): oldSsuspend: exit suspend, ret = -22 (2011-04-16 02:54:29.280595000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.287352000 UTC)
creenBright=true newScreenBright=false
D/PowerMsuspend: exit suspend, ret = -22 (2011-04-16 02:54:29.295543000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.303735000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.310550000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.315783000 UTC)
anagerService( 1895): oldButtonBright=false nesuspend: exit suspend, ret = -22 (2011-04-16 02:54:29.325689000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.332115000 UTC)
wButtonBright=false
D/PowerManagerService( 1895suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.340853000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.348371000 UTC)
): oldScreenOn=true newScreenOn=false
D/PowerManagerService( 1895): oldBatteryLow=false newBatteryLow=false
W/InputManagerService( 1895): Window already focusesuspend: exit suspend, ret = -22 (2011-04-16 02:54:29.368312000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.376116000 UTC)
d, ignoring focus gain of: com.android.internal.suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.385592000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.391200000 UTC)
view.IInputMethodClient$Stub$Proxy@45fa1d48
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.400506000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.407235000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.415493000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.419331000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.431205000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.433971000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.441164000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.448043000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.453852000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.465565000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.468356000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.475479000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.480525000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.490607000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.493361000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.499460000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.510630000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.513393000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.520583000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.525928000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.535540000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.538316000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.544398000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.555637000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.558428000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.565547000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.570933000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.580563000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.583339000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.589421000 UTC)
request_suspend_state: sleep (0->3) at 2600970535002 (2011-04-16 02:54:29.595048000 UTC)
PM: Syncing filesystems ... D/Sensor ( 1895): active
D/Sensor ( 1895): wake
done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
s5pc100_spk_event 0
s5pc100_hp_event 0
wm8750_suspend
rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
skd_ts_suspend
hp_switch_suspend
s5pc100-battery s5pc100-battery: s3c_bat_suspend
del_timer auto_deepsleep_timer
mmc0: card 0001 removed
power_suspend
休眠挂起时的log如下:
I/wpa_supplicant( 3460): CTRL-EVENT-STATE-CHANGE id=-1 state=1
V/WifiMonitor( 1895): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=1]
V/WifiStateTracker( 1895): Changing supplicant state: SCANNING ==> INACTIVE
D/NetworkStateTracker( 1895): setDetailed state, old =SCANNING and new state=IDLE
D/ConnectivityService( 1895): ConnectivityChange for WIFI: DISCONNECTED/IDLE
D/DataConnectionTracker( 1964): enableApnType(default), isApnTypeActive = false and state = IDLE
D/ ( 1895): force_suspend 000force_suspend_set true
D/ ( 1895): force_suspend 111
D/ ( 1895): force_suspend done
D/PowerManagerService( 1895): setPowerState: mPowerState=3 newState=0 noChangeLights=false
D/PowerManagerServicesave exit: isCheckpointed 1
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.248598000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.255538000 UTC)
( 1895): oldKeyboardBright=false newKeyboardBrsuspend: exit suspend, ret = -22 (2011-04-16 02:54:29.265686000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.271290000 UTC)
ight=false
D/PowerManagerService( 1895): oldSsuspend: exit suspend, ret = -22 (2011-04-16 02:54:29.280595000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.287352000 UTC)
creenBright=true newScreenBright=false
D/PowerMsuspend: exit suspend, ret = -22 (2011-04-16 02:54:29.295543000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.303735000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.310550000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.315783000 UTC)
anagerService( 1895): oldButtonBright=false nesuspend: exit suspend, ret = -22 (2011-04-16 02:54:29.325689000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.332115000 UTC)
wButtonBright=false
D/PowerManagerService( 1895suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.340853000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.348371000 UTC)
): oldScreenOn=true newScreenOn=false
D/PowerManagerService( 1895): oldBatteryLow=false newBatteryLow=false
W/InputManagerService( 1895): Window already focusesuspend: exit suspend, ret = -22 (2011-04-16 02:54:29.368312000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.376116000 UTC)
d, ignoring focus gain of: com.android.internal.suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.385592000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.391200000 UTC)
view.IInputMethodClient$Stub$Proxy@45fa1d48
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.400506000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.407235000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.415493000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.419331000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.431205000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.433971000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.441164000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.448043000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.453852000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.465565000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.468356000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.475479000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.480525000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.490607000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.493361000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.499460000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.510630000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.513393000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.520583000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.525928000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.535540000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.538316000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.544398000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.555637000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.558428000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.565547000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.570933000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.580563000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.583339000 UTC)
suspend: exit suspend, ret = -22 (2011-04-16 02:54:29.589421000 UTC)
request_suspend_state: sleep (0->3) at 2600970535002 (2011-04-16 02:54:29.595048000 UTC)
PM: Syncing filesystems ... D/Sensor ( 1895): active
D/Sensor ( 1895): wake
done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
s5pc100_spk_event 0
s5pc100_hp_event 0
wm8750_suspend
rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
skd_ts_suspend
hp_switch_suspend
s5pc100-battery s5pc100-battery: s3c_bat_suspend
del_timer auto_deepsleep_timer
mmc0: card 0001 removed
power_suspend
|
Unable to lookup media '/devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:0001'
你的MMC0唤醒后 没找到哦,你可以这样试一下,唤醒后,Netcfg查看网络设备,是否WIFI无线网卡设备还正常,这个正常才能保证WPA_SUPPLICANT以及DHCPCD的开启重新连接上网
你的MMC0唤醒后 没找到哦,你可以这样试一下,唤醒后,Netcfg查看网络设备,是否WIFI无线网卡设备还正常,这个正常才能保证WPA_SUPPLICANT以及DHCPCD的开启重新连接上网