Built-in keyboard and trackpad disconnected when I open laptop?
I am running MacOS Catalina 10.15.5 on my 2019 Macbook Pro.
Often, when I open my laptop, the keyboard and trackpad are unresponsive. If I don't close the laptop, a window will pop up after 15-30 seconds that says "Bluetooth keyboard setup. There isn't a keyboard connected."
I've tried resetting the SMC and NVRAM and rebooting in safe mode, to no avail. One thing to note is that the fingerprint reader/power button still works even if the rest of the keys on the keyboard don't—I can triple-click the power button to open the accessibility options.
I'm pretty certain this is a software issue—maybe to do with the T2 chip—because waiting usually solves the problem. Meaning, when I open the lid and nothing works, I can wait a few seconds (sometimes one or two minutes), and then everything is back working. Or I have to close my laptop for several seconds, and when I open it back up, the keyboard and trackpad usually work again.
This problem consistently happens, so if you have a solution it would be much appreciated.