This never used to be the case, but lately when I wake up my iMac, my HHKB is unresponsive until I unplug it and plug it back in. It definitely didn't do this before the past month or so, was always just connected all the time.
The way I'm waking up the computer is to click the mouse, which is wireless, and runs through a little wireless receiver which is plugged into one of the two USB ports on the back of the HHKB. So that tells me that at the very least, the receiver is still connecting to the mouse (and the computer) enough to make it work. But even so, the HHKB stays unresponsive to typing until I unplug that cable and replug it. I'm doing that from the keyboard end, btw, since it's easier to reach.
Also of note: occasionally, the mouse will suddenly stop working right in the middle of whatever I'm doing. The fix is to just unplug and replug that little wireless receiver, then all is well again.
I'm not connecting via a hub of any kind, just one of the iMac's built-in USB ports. I've tried restarting the computer.
--------------------------------------------------------------------------------------------
edit 1/18/18 -- this seems to be the solution to the problem, pasting it in immediately belowRegistering just for this post....
I had the same problem with my HHKB Pro2 Type S for months. A thread on reddit from u/cotton100 saved me -
https://www.reddit.com/r/MechanicalKeyboards/comments/65gnvf/hhkb_not_waking_after_sleep_macos_sierra_10124/dmyhzpl/
Quote:
I asked PFU and they replied that I should turn off the switch 6 if there is at least one device connected to the computer/mac that supports "Wake Up" feature. And this is specified somewhere in the document even though I couldn't find yet. So, try turning off the switch 6 and waking up Mac with other device...
I have tested this and it all worked properly. Point to note, you cannot connect your mouse to your HHKB USB in this case.