<div dir="ltr"><div><div><div>Zheng,<br><br></div>I suspect it's a special keyboard as you suggested.  Here is some text from the M93/p Tiny User Guide:<br><br><i>Note: The USB 3.0 connector 4 supports the smart power on feature. If you connect a<br>Lenovo-recommended USB 1.1 keyboard to this connector, you can power on the computer or wake it up<br>from S4 hibernation mode by pressing Alt+P on the keyboard. Ensure that you use a Lenovo-recommended<br>keyboard that supports the smart power on feature.</i><br><br></div>The last sentence seems to stress that you need a Lenovo keyboard, or maybe they've partnered with others as well.  I wonder if the KB is made aware of the sleep state, and then only passes the keystroke through if it's Alt-p.<br><br></div><div>Thanks,<br></div>Marshall<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 1, 2016 at 2:26 AM, Zoran Stojsavljevic <span dir="ltr"><<a href="mailto:zoran.stojsavljevic@gmail.com" target="_blank">zoran.stojsavljevic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Zheng,<br>
<br>
Since you are asking again, I looked into this problem, in order to<br>
understand the whole PM domain more... Here is my assessment, so I<br>
would advise you to try several options for such a problem.<br>
<br>
I would advise to you the following steps (which, unfortunately, have<br>
nothing to do with Coreboot for the initial test):<br>
<br>
[1] To install the latest BIOS for ThinkCentre M6600q (Lenovo), or to<br>
use the current, present in the platform;<br>
[2] To drive CMOS settings to PM (Power Management) and check if PM is<br>
properly enabled in BIOS (this is a MUST!);<br>
[3] Then, if both steps are done, to install Ubuntu or Fedora Linux<br>
distros (I personally prefer Fedora);<br>
[4] To install the following package in given distro: pm-utils!<br>
<a href="https://pm-utils.freedesktop.org/wiki/" rel="noreferrer" target="_blank">https://pm-utils.freedesktop.<wbr>org/wiki/</a><br>
<a href="http://pm-utils.freedesktop.org/releases/pm-utils-1.4.1.tar.gz" rel="noreferrer" target="_blank">http://pm-utils.freedesktop.<wbr>org/releases/pm-utils-1.4.1.<wbr>tar.gz</a><br>
[5] Then to configure, make and install this package (I did it on my<br>
VM F24 for this purpose, traces imported):<br>
[zoran@localhost Downloads]$ cp pm-utils-1.4.1.tar.gz<br>
/home/zoran/projects/pm-utils<br>
[zoran@localhost Downloads]$ cd /home/zoran/projects/pm-utils<br>
/home/zoran/projects/pm-utils<br>
[zoran@localhost pm-utils]$ ls -al<br>
total 212<br>
drwxrwxr-x. 2 zoran zoran   4096 Sep  1 09:32 .<br>
drwxrwxr-x. 8 zoran zoran   4096 Sep  1 08:59 ..<br>
-rw-rw-r--. 1 zoran zoran 208687 Sep  1 09:32 pm-utils-1.4.1.tar.gz<br>
[zoran@localhost pm-utils]$ tar -xf pm-utils-1.4.1.tar.gz<br>
[zoran@localhost pm-utils]$ cd pm-utils-1.4.1/<br>
[zoran@localhost pm-utils-1.4.1]$ ./configure<br>
[zoran@localhost pm-utils-1.4.1]$ make<br>
[zoran@localhost pm-utils-1.4.1]$ sudo make install<br>
[zoran@localhost pm-utils-1.4.1]$ which pm-suspend<br>
/usr/local/sbin/pm-suspend <<======================== S3 state<br>
[zoran@localhost pm-utils-1.4.1]$ which pm-hibernate<br>
/usr/local/sbin/pm-hibernate <<======================= S4 state<br>
<br>
And then try to exercise given commands, and to revive platform using<br>
keyboard/mouse wake up.<br>
<br>
We'll go from there, and we'll try to debug ThinkCentre M6600q<br>
(Lenovo) if it does not work at this stage.<br>
<br>
Maybe somebody can advise you with Coreboot solution... But<br>
essentially, above proposed method by me should work!<br>
<br>
Best Regards,<br>
Zoran<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Aug 25, 2016 at 1:05 PM, Zheng Bao <<a href="mailto:fishbaoz@hotmail.com">fishbaoz@hotmail.com</a>> wrote:<br>
><br>
> All,<br>
><br>
> Some customers says ThinkCentre M6600q (lenovo) has the feature of wake up the system by pressing ALT-P on USB keyboard.<br>
><br>
> I am wondering how it is implemented? Is it done in chipset, BIOS, or a special keyboard?<br>
><br>
><br>
> Or when the BIOS wakeup, it reads the keystroke to see if it matches the pre-defined key. Does it sounds reasonable?<br>
><br>
><br>
> Zheng<br>
><br>
><br>
</div></div><span class="HOEnZb"><font color="#888888">> --<br>
> coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
> <a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br>
<br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br>
</font></span></blockquote></div><br></div>