Ok, so after spending an evening with an errant Surface Pro 4 here is another variation which got my keyboard working again. Maybe it'll help people.
My situation was that the keyboard hardware was not being seen in any way at all. The keyboard was not usable in UEFI, in Windows the drivers were showing that the hardware was not connected to the system. I tried all the obvious stuff, i.e. toggling the
touch cover setting in UEFI, applying various combinations holding down the power button plus the two finger salute (power+volume up), all the same old stuff everyone's seen on the forums and around t'interwebs. I got nowhere.
Here is what finally worked for me:
First, I ran the battery down to zero. Not 3% where it hibernates. I literally kicked the living proverbial out of the battery. I created a power profile that was set to never shut down, never hibernate, low and critical battery warnings set as low as possible
(2 and 1%), set the action on critical battery to nothing, set the brightness on max. I then plugged in a USB hub to which I attached an external hard drive, two Raspberry Pis, two wifi dongles and a phone. I then loaded up a particularly processor intensive
game and left the whole thing running on the battery two hours or so.
I came back to a black screen and a complete and utter refusal to display anything when I powered on (even the low battery indicator). I then plugged the device into the mains and applied the two finger salute (power+volume up) to go into UEFI. And, lo and
behold, the keyboard and trackpad worked in UEFI mode. It booted into Windows, the drivers reinstalled, and then all was right with the world.
So, the TL;DR version:
- Run the battery down so low it doesn't even have the power to display the low battery screen on pressing the power on button.
- Plug the device in.
- Boot into UEFI mode and (hopefully) keyboard and trackpad should work there.
- Boot into Windows and (hopefully) any missing drivers will sort themselves out and keyboard and trackpad will work there.
- Party like it's 1999!
Hope this saves someone else a sleepless night.
Will try that, but what happens when you close the surface pro and it goes back to sleep, does it recognize afterwards also.
I on the other hand ordered a Bluetooth keyboard from Amazon, backlit with a lot of colours, working fine for me, although the trackpad is not as good as the typecover, but still works just fine. Its magnetic and can be recharged, and fixes itself to the
surface pro just like the typecover.
I think this is the best option for a lot of people in here.
Had high expectations from MS, and sorry to say, they let me down BiG Time...