The keyboard is not detected for 10-20 seconds

Asked by Pawel

Hi,

I have a problem with logging into Ubuntu, i.e. in the login window I cannot enter the password for 10-20 seconds (most often with a cold start) the keyboard does not work. After several seconds, the keyboard starts and I can enter the password. I tested on "clean" versions of Ubuntu 20.04.2.0 LTS, 20.10 (also with Kernel 5.10), 21.04. The problem occurs on the HP Pavilion 15-eg0016nw laptop with an Intel Core i7-1135G7 processor (also occurs on the HP Pavilion 15-eg0073cl with Intel Core i7-1165G7).

During normal operation, the keyboard works without any problems - the problem is only when logging into the system.

Could you please help me?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Pawel
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

When you get logged in, run:

dmesg > /tmp/boot.txt; gedit /tmp/boot.txt

Paste the output of the command on
https://answers.launchpad.net/ubuntu/+question/696945

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Is is detected after 2.68 seconds of booting. Not sure why there is the second flurry at 58.9 seconds.... Weird. If you set the USB ports to legacy mode (if the BIOS has it) does it make a difference? Have you tried a different USB port (USB 2 instead of USB 3 for example)

Revision history for this message
Pawel (bububinio-deactivatedaccount) said :
#4

If I use a USB keyboard, it works fine and without lag. I have a problem with my laptop's built-in keyboard.

The laptop has only two SuperSpeed USB Type-A ports, I use one (USB mouse).

In bios, I can only turn on or off the action keys.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Do you have the latest BIOS?

Revision history for this message
Pawel (bububinio-deactivatedaccount) said :
#6

Yes, I also used the older versions BIOS: F.05 rev.A and F.11 rev.A. Now I'm using the latest F.12 rev.A.

Another user with the HP Pavilion 15-eg0073cl laptop (a very similar laptop model) has the same problem.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Possibly a bug?

Revision history for this message
Pawel (bububinio-deactivatedaccount) said :
#8

I added to GRUB:

"GRUB_CMDLINE_LINUX ="i8042.nopnp""

and everything works fine.

Thank you for your time (I received the solution to the problem after reporting a bug).

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

Great share. Hopefully this will help others too