Disable Wake-up from UART0

49 views
Skip to first unread message

PRAMOD MAURYA

unread,
Sep 14, 2016, 9:15:22 AM9/14/16
to BeagleBoard
Hi All;
-------


I want disable/enable deep sleep using the following command:

echo enabled > /sys/devices/44000000.ocp/44e09000.serial/power/wakeup
echo "disabled > /sys/devices/44000000.ocp/44e09000.serial/power/wakeup


When i disable WAKE-UP from uart then interface face is disable but it still wake-up from the UART0::

echo "disabled > /sys/devices/44000000.ocp/44e09000.serial/power/wakeup

This is the setting of the currnt wakeup sources:


cat /sys/kernel/debug/wakeup_sources
name             ................
wakeup.gpiokey   ................
44e3e00.rtc      ................
alarmtimer       ................







as you see there is no UART to see!! but i am still able to wake the system up from UART ??



root@milo:~# echo mem > /sys/power/state
[ 5309.439410] PM: Syncing filesystems ... done.
[ 5309.448122] Freezing user space processes ... (elapsed 0.004 seconds) done.
[ 5309.460957] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 5309.470180] Suspending console(s) (use no_console_suspend to debug)
[ 5309.531079] PM: suspend of devices complete after 53.350 msecs
[ 5309.532112] PM: late suspend of devices complete after 1.017 msecs
[ 5309.533249] PM: noirq suspend of devices complete after 1.119 msecs
[ 5309.533326] PM: Successfully put all powerdomains to target state
[ 5309.533326] PM: Wakeup source UART
[ 5309.547912] PM: noirq resume of devices complete after 14.450 msecs
[ 5309.548769] PM: early resume of devices complete after 0.708 msecs
[ 5309.549692] c_can_platform 481d0000.d_can can0: setting BTR=2a01 BRPE=0000
[ 5309.549843] net eth0: initializing cpsw version 1.12 (0)
[ 5309.552140] net eth0: phy found : id is : 0x7c0f1
[ 5309.552202] libphy: PHY 4a101000.mdio:01 not found
[ 5309.552209] net eth0: phy 4a101000.mdio:01 not found on slave 1
[ 5309.774800] PM: resume of devices complete after 226.004 msecs
[ 5309.853396] Restarting tasks ... [ 5309.857207] usb 2-1: USB disconnect, device number 9























as you see in line 10, the system is still waking up from UART0 !!!

any idea waht is going wrong???


Reply all
Reply to author
Forward
0 new messages