When I last put the computer into suspend, I used the menu point entry 'Suspend' in the top right menu (I use gnome-flashback). In this case, wake up by keypress worked correctly, so probably you found the root of the problem with the fn+f1-key.
I then produced the logs you asked for: 'dmesg > dmesg-before.log' and 'lsmod > lsmod.log' Finally I ran showkey, the output is below. But pressing fn+f1 while in showkey immediately led to a suspend, from which two keypresses were necessary to get to normal operation. Afterwards the following was the content of the terminal: juergen@regulus:~$ sudo showkey kb mode was ?UNKNOWN? [ if you are trying this under X, it might not work since the X server is also reading /dev/console ] press any key (program terminates 10s after last keypress)... keycode 28 release keycode 142 press keycode 142 release I then made a 'dmesg > dmesg-after.log' to enable comparison of normal awake (dmesg-before.log) and awake with two keypresses (dmesg- after.log). ** Attachment added: "dmesg-after.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1930110/+attachment/5501925/+files/dmesg-after.log -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1930110 Title: Wake-up after suspend only on second keypress Status in linux package in Ubuntu: New Bug description: My computer is a HP Z240 tower workstation, Ubuntu version: Description: Ubuntu 18.04.5 LTS Release: 18.04 I can and do suspend my computer by pressing Fn-Key + F1-key on the HP keyboard. The F1 key is marked with a crescent moon to indicate this functionality. The suspend state is indicated by a blinking led on the computer case. From 16.04 I was used, that in suspend state any keypress on the keyboard would wake up the computer again immediately: The screen would (if turned on) display what was last visible when suspend was executed through the abovementioned function key. The led on the computer case would light steadily. Now a keypress on the suspended computer leads to a short activation of the harddisk, the led on the computer case will light steadily but the monitor (also if on) remains dark. After about 2-5 seconds the harddisk stands still again, the computer becomes silent and the led on the computer case is blinking again, as in suspend mode. I presume the computer is now again in suspend mode. When this state is reached, a second keypress leads to a correct awake from suspend, the harddisk spins, the led on the case lights steadily and the monitor displays what is expected. The computer can then be used as expected. Note: I have 64 GByte of RAM and only 32GB Swap partition, so I presume (and hope) that hibernation (RAM to Disk) plays no role here, only suspend and wake-up from suspend. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1930110/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp