Good news
Found the old solution that works:
http://www.mydellmini.com/forum/general ... ke-up.html
Tried, and the annoying sleep/wakeup "bbbbbbbb"-ees are gone. And the first real key-press is no longer lost
If you would like to test, the ApplePS2Controller kext with the fix is attached. To install, you need to:
0) Make a backup copy of your existing /S/L/E/ApplePS2Controller.kext
1) Move /S/L/E/ApplePS2Controller.kext to trash (admin access required)
2) Place the new kext on Desktop and install it with KextBeast
3) Restart
4) Open TextEdit or Terminal or Safari/Mozilla, leave it in focus and test sleep/wakeup; test if the first key pressed registers OK.
I will send the patched source code to blueking, so hopefully, if things test out all right, he will include the patch to his keyboard remapping project.