A completely similar problem with the Mac, the keyboard and touchpad did not work when waking up from sleep.
I soldered the motherboard and it works. Thank you​