[Bug 94673] [BDW] Stress. Platform is not able to recover successfully from S4 after 23 iterations
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 23 17:23:30 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94673
--- Comment #1 from Elio <elio.martinez.monroy at intel.com> ---
S4 is called using the following instructions :
#!/bin/bash
cat /sys/power/state | grep disk
if [ $? -eq 0 ]; then
date
sleep 10
# Clear old alarm
echo '[CMD]echo 0 > /sys/class/rtc/rtc0/wakealarm'
echo 0 > /sys/class/rtc/rtc0/wakealarm
RC=$?
if [ ${RC} -ne 0 ]; then
check_rc "[CMD]echo 0 > /sys/class/rtc/rtc0/wakealarm" ${RC}
return 1
fi
echo '[CMD]echo +40 > /sys/class/rtc/rtc0/wakealarm'
echo +40 > /sys/class/rtc/rtc0/wakealarm
RC=$?
if [ ${RC} -ne 0 ]; then
check_rc "[CMD]echo 40 > /sys/class/rtc/rtc0/wakealarm" ${RC}
return 1
fi
# to change to /sys/class/rtc/rtcN/wakeup in future kernel
dmesg -c >> dmesg
echo '[CMD]echo disk > /sys/power/state #S4'
echo disk > /sys/power/state #S4
dmesg -c >> dmesg
else
echo '[NOTE][CMD] S4 is not supported'
fi
echo "[CMD]suspend_resume end"
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160323/34ffb756/attachment.html>
More information about the intel-gfx-bugs
mailing list