I took the plunge an finally updated my ancient 101 keyboard with a nice new
wireless with tons of functions.
I've been able to set it up to shut off with the "power key" but I'd also
like to power up using the keyboard. As it is,I still need to press the
power button on the case to start up or even wake up even though the
keyboard has Sleep/Wakeup buttons as well.
The Bios has lots of options for power managent.It's an NForce 4
ultra(wINFAST NF4UK8AA-8EKRS).I've been through the manual and done some
searching but I can't find this setting. So,can I do this?Thanks
I'm curious as to what scan code(s) the keyboard sends when you press
the Wakeup key.
This old DOS utility reports the scan code of each key:
http://www.users.on.net/~fzabkar/SCAN.COM
There will be two codes, one for make (key press), the second for
break (key release). Hitting the spacebar exits the program. Scan.com
can also be run in a Windows DOS box.
Alternatively, if yours is a Microsoft keyboard, then you can see the
scan codes using the mskey.exe diagnostic test which is included with
the Intellitype software.
Here are the codes for my Microsoft Wireless Desktop Elite PS2
keyboard, model 1011:
http://www.users.on.net/~fzabkar/MSKeyLog.TXT
In my case the Sleep key always produces these 3 pairs separated by a
1 second pause:
E0 5F <1 second pause> E0 59 <1 second pause> E0 DF
My BIOS has three options for "wake on keyboard" - disabled, "any
key", or "special key".
If I choose "disabled" or "special key", then the Sleep button works
as expected and no key will wake up the machine. OTOH, if I choose
"any key", then the machine goes to sleep but wakes up immediately. I
believe this is due to the 6-byte sleep sequence being interpreted as
an additional key.
As for what the "special" key is, I can only assume that its scan code
is as described in Microsoft's "Keyboard Scan Code Specification":
http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/scancode.doc
======================================================================
i8042-Based keyboards should deploy the following scan codes for power
management buttons, i.e., POWER and SLEEP buttons:
Power event
Set1: Make = E0, 5E Break = E0, DE
Set2: Make = E0, 37 Break = E0, F0, 37
Sleep event
Set1: Make = E0, 5F Break = E0, DF
Set2: Make = E0, 3F Break = E0, F0, 3F
Wake event
Set1: Make = E0, 63 Break = E0, E3
Set2: Make = E0, 5E Break = E0, F0, 5E
======================================================================
- Franc Zabkar