Keyboard won't work after resuming Fedora 30

After a suspension the keyboard won’t work on my Sony Vaio. I have to use the virtual keyboard and then restart.