<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span><div>Hi, Andrey</div><div><br></div><div>Q:</div><div>Do you mean that wakeup by keyboard doesn't work only if PC was</div><div>suspended by pressing special suspend key on your keyboard?</div></div><div><br></div><div>Answer:</div><div>No.</div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">Wakeup by keyboard doesn't work only if I pressing the keyboard (fast enough) during the suspend.</span></div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">It has nothing to do with suspending method.</span></div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""><br></span></div><div>Q:</div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">And if it was suspended by from operating system or by pressing button<br>on case wakeup by keyboard does work?</span></div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""><br></span></div><div>Answer:</div><div>The problem has nothing to do with suspending method.</div><div><span style="font-family: "" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">Whatever the suspending method is( from desktop or echo mem > /sys/power/stat ), if I do NOT hit the keyboard during the suspend, then</span></div><div>wakeup by keyboard does work.</div><div>But if I hit the keyboard fast enough during the suspend, then after the suspend the keyboard seems dead. </div><div>And <span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">wakeup by keyboard does NOT work any more.</span></div><div><br></div><div>Thanks for your time.</div><div><br></div><div>Jim</div><div><br></div>
<div><br></div><hr style="width: 210px; height: 1px; display: none;" color="#b5c4df" size="1" align="left">
<div><span></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:andrej.skvortzov@gmail.com">Andrey Skvortsov</a></div><div><b>Date:</b> 2017-08-30 15:45</div><div><b>To:</b> <a href="mailto:jingyun@cpu-os.ac.cn">jingyun@cpu-os.ac.cn</a></div><div><b>CC:</b> <a href="mailto:kernelnewbies@kernelnewbies.org">kernelnewbies</a></div><div><b>Subject:</b> Re: USB keyboard can NOT wakeup from S3( suspend to RAM )</div></div></div><div><div>On 17-08-16 18:03, jingyun@cpu-os.ac.cn wrote:</div>
<div>> hi, there</div>
<div>> </div>
<div>> thx in advance;</div>
<div>> </div>
<div>> I encounter a strange (maybe) bug:</div>
<div>> During the suspending of my linux box(which runs debian 9), I hit the key of the USB interfaced keyboard;</div>
<div>> after making sure the box enter suspend state for a while ( which I can tell from the power LED blinks), </div>
<div>> I can NOT wakeup it by hit that keyboard any more.</div>
<div>> But if I do NOT hit the key during the suspending, I CAN wake it up by hitting the keyboard.</div>
<div> </div>
<div>Do you mean that wakeup by keyboard doesn't work only if PC was</div>
<div>suspended by pressing special suspend key on your keyboard?</div>
<div>And if it was suspended by from operating system or by pressing button</div>
<div>on case wakeup by keyboard does work?</div>
<div> </div>
<div>> After that I tried Ubuntu 16.04(runs 4.4 version kernel ) and Ubuntu 14.04 ( 3.13 kernel).</div>
<div>> And I found all of them got the same problem;</div>
<div>> </div>
<div>> Do not know if this is the right place to ask. Just a try.</div>
<div>> </div>
<div>> Thanks again.</div>
<div>> </div>
<div>> Jim</div>
<div> </div>
<div> </div>
<div>-- </div>
<div>Best regards,</div>
<div>Andrey Skvortsov</div>
</div></blockquote>
</body></html>