Firefly开源社区

打印 上一主题 下一主题

[Linux] 休眠时,usb会被唤醒,如何解决?

51

积分

0

威望

0

贡献

技术小白

积分
51

休眠时,usb会被唤醒,如何解决?

发表于 2018-7-11 15:41:49      浏览:9747 | 回复:0        打印      只看该作者   [复制链接] 楼主
板子按下power休眠后,usb会被唤醒,这该怎么解决?
打印如下:
01234578987543210
wakeup gpio0x00000000:0x10000000
[  122.961170] cpufreq: cpufreq_suspend: Failed to stop governor for policy: c58dc540
[  122.961189] cpufreq: cpufreq_suspend: Failed to stop governor for policy: c58dc540
[  122.961507] bcmsdh_sdmmc_suspend Enter func->num=1
[  122.961531] bcmsdh_sdmmc_suspend Enter func->num=2
[  122.961546] bcmsdh_sdmmc_suspend Exit
[  122.963486] dwc_otg_hcd_resume, usb device mode
[  122.963648] dwc_otg_hcd_suspend, usb device mode
[  122.965541] hym8563_rtc_set_alarm:diff_sec= 55s , use time
[  122.969828] battery suspend dl=0 rl=0 c=0 v=4200 at=55 st=0x0 chg=1
[  122.972169] [WLAN_RFKILL]: Enter rfkill_wlan_suspend
[  123.046149] phy_power_on: enable = 0
[  123.046523] PM: suspend of devices complete after 86.762 msecs
[  123.047284] PM: late suspend of devices complete after 0.746 msecs
[  123.048253] PM: noirq suspend of devices complete after 0.958 msecs
[  123.048266] Disabling non-boot CPUs ...
[  123.050231] CPU2: shutdown
[  123.054084] CPU3: shutdown                               +-----------------------------+
[  123.056121] rkpm_enter:                                  |                             |
[  123.065013] Resume caused by IRQ 68                      |  Cannot open /dev/ttyUSB0!  |
[  123.068706] Suspended for 0.000 seconds                  |                             |
[  123.068937] Enabling non-boot CPUs ...                   +-----------------------------+
[  123.069348] CPU2: Booted secondary processor
[  123.070306] CPU2 is up
[  123.070640] CPU3: Booted secondary processor
[  123.071620] CPU3 is up
[  123.072070] PM: noirq resume of devices complete after 0.420 msecs
[  123.073557] PM: early resume of devices complete after 1.026 msecs
[  123.079293] phy_power_on: enable = 1
[  123.113976] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 50000000Hz, actual 50000000HZ div = 1)
[  123.114001] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out normal clock [mmc0]
[  123.114384] 1358..dw_mci_set_ios:  no card. [mmc1]
[  123.114469] mmc_host mmc2: Bus speed (slot 0) = 37500000Hz (slot req 37500000Hz, actual 37500000HZ div = 0)
[  123.114488] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out normal clock [mmc2]
[  123.114656] dwc_otg_hcd_resume, usb device mode
[  123.115093] [WLAN_RFKILL]: Enter rfkill_wlan_resume
[  123.126407] battery resume c=0 v=4200 ev=4200 rv=0 dt=55 at=110 chg=1
[  123.128940] bcmsdh_sdmmc_resume Enter func->num=1
[  123.128967] bcmsdh_sdmmc_resume Enter func->num=2
[  123.128978] bcmsdh_sdmmc_resume Exit
[  123.195633] PM: resume of devices complete after 123.879 msecs
[  123.195879] cpufreq: cpufreq_resume: Failed to start governor for policy: c58dc540
[  123.195903] cpufreq: cpufreq_resume: Failed to start governor for policy: c58dc540
[  123.197139] [BT_RFKILL]: ** disable irq
[  123.198044] Restarting tasks ... [  123.199770] dwc_otg_hcd_suspend, usb device mode
done.
[  123.200064] dwmmc_rockchip 10214000.rksdmmc: dw_mci_pm_notify:  post suspend
[  123.200117] PM: suspend exit 2011-01-01 12:11:03.073896666 UTC
[  128.056782] PM: suspend entry 2011-01-01 12:11:08.009463669 UTC
[  128.057002] PM: Syncing filesystems ... done.
[  128.066199] dwmmc_rockchip 10214000.rksdmmc: dw_mci_pm_notify:  suspend prepare
[  128.066247] Freezing user space processes ... (elapsed 0.002 seconds) done.
[  128.068389] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  128.070414] Suspending console(s) (use no_console_suspend to debug)
GPIO0_INTEN: 0x10000000
GPIO1_INTEN: 0x00020200
GPIO3_INTEN: 0x00c00000
01234578
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表