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