Ever since I upgraded my iPad Pro to iOS 11 I have been having problems with my Apple Smart Keyboard. Every so often the iPad seems to think that this “accessory” isn’t a proper accessory and “isn’t supported”.
Sometimes it’s a simple matter of detaching the iPad from the keyboard and re-attaching. Sometimes I have to shut down and hard restart the iPad.
A Google search hasn’t illuminated any clear solutions to the problem.