Closed bgkoh closed 10 months ago
Did you connect anything to pin 19 and 10?
Something like a button or vibration sensor is needed.
I've done just like this.
Hmm. Ok. If the code is right, my sw-420 sensor could be a problem.
Well, the code might be buggy. I haven't tested the integration after last update.
config PM_WAKE_SENSOR
is default n
for that reason. Please check if you have enabled it in your .config.
Your pm_wake_sensor
device tree node looks correct. The hhkb_pro2_connector
node doesn't need to define D10 and D19 because it is only used to discover the wiring of the JST connector.
Yes, you are right. The problem was CONFIG_PM_WAKE_SENSOR. After set it up, it works. Thanks a lot.
On HHKB2 Pro custom build,
with
,
, and
It doesn't wake up hhkb from sleep.