I have a Acer Switch Alpha 12 laptop where the screen is detachable from the keyboard.
When the computer wakes up, even if the keyboard is connected it is not usable. I need to disconnect and reconnect it, then it works.
I am hoping there's a script I can make run every time the computer wakes which scans for the keyboard and connects it. Similar to how with the wifi I can run sudo service network-manager restart
.