Ubuntu 17.10 Keyboard not working after login following upgrade from 17.04 (Gnome version)
Solution 1:
That is creepy that someone edited my comment for me. I don't like that at all. Feel free to add your own, don't edit my comment.
Original comment: Removing the package fwupd fixed the issue for me. You can remove it with sudo apt remove fwupd
Bug report: https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1717340