I'm new to the Linux world and I recently installed Zorin OS 18 on my laptop (Lenovo Ideapad Slim 3 - 16ABR8). There's no other OS installed on it. My problem is the keyboard doesn't respond after the laptop has gone in sleep mode. I have to plug another keyboard to be able to login. The bluetooth mouse has no issue.
Do you have any idea on how to fix this, please?
My kernel info (if this is it) : Linux z-IdeaPad-Slim-3-16ABR8 6.14.0-33-generic #33~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 19 17:02:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
New to the GnuLinux world, but with a bit of luck, already need to roll up your sleeves and delve into configuration files.
Launch terminal with the app menu or keyboard shortcut ctl+alt+t
and run
nautilus admin:///
This will open it as Root.
Navigate to "Other location" in the left pane, then "Computer" in the right pane.
You will land in the Root directory.
Double click on etc folder, then default folder.
Now, right click on the grub file and select to open with text editor.
Move to the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Add the following two parameters: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.reset i8042.nomux=1"
it should look exactly like the above - you can use copy and paste.
Save the file.
Close out the Root instance of Nautilus (Files) file manager.
In terminal, run
sudo update-grub
Do a full reboot, then test sleep cycle and wake, see if the keyboard is responding.
If the method of Aravisian doesn't work you could try to add this kernel parameter instead to /etc/default/grub
i8042.nopnp
As I read that sometimes the f keys don't work then after suspend you could also try a similar script as linked in the arch wiki. I think the script needs to be adapted for Zorin.
Source: Arch wiki
Go to point 7:
Known issues> 7.1 keyboard
Unfortunately, your solution, Aravisian, didn't work for me. Neither did yours, Forpli, if I applied it the right way. I simply entered a line at the end of the file with "i8042.nopnp" and saved it. I don't know how to do the part of the Arch Wiki that says to make a script. How do you make a script?