Keyboard semi-disconnect, fixed by closing and opening the lid

I often have to reset quite a few times on boot. Eventually the system works reliably. I didn’t know that moving the lid might help.