New to Linux - Keyboard INOP after Suspend / Lock Screen - GRUB?

Ubuntu Support Template

Ubuntu Version:
Ubuntu 24.04.3 LTS

Problem Description:

I have the same issue as this –> Keyboard unresponsive after resume from suspend (lid close) - #10 by pepijngbr

My work-around is using on-screen keyboard to get back into the OS and then reboot.

I think this might be a fix –> https://askubuntu.com/questions/1418676/keyboard-not-working-after-suspend-on-ubuntu-22-04

I am not planning to use any advanced features or be a developer, I just want to be able to close and open my lid and log back into my laptop that I just purchased. I just need some guidance or walk-through on editing GRUB

Relevant System Information:

Lenovo IdeaPad Slim 3 Touchscreen Business Laptop, 15.6" FHD Linux Laptop, 8-Core AMD Ryzen 7 Processor, 16GB RAM, 512GB SSD, Keypad, SD Card Reader, Linux Ubuntu OS

https://www.amazon.com/dp/B0G2BS4GVS?ref=ppx_yo2ov_dt_b_fed_asin_title

I believe this is a known issue on some Lenovo laptops with Ubuntu after suspend, and it’s not actually a GRUB problem. The solution suggested in the AskUbuntu link you shared usually works.

Are you having any difficulties applying that solution so we can help you? Or did you already try it and it didn’t work?

Yes - I am having difficulty applying that fix. I was able to get into “the Grub” but was unsure how to save it - i added some text where it seemed appropriate, but didn’t confirm a save option or when trying to close out it said processes were still running.

So… I tried to watch a few different videos - they all used different strategies and plowed right through the complex stuff. if there is a good “how to” resource on doing something similar, I can probably figure it out. Similarly, there was a help screen that showed commands that looked like ^X ^S - I assume this means “shift+letter” or maybe “ctrl+letter” but I couldn’t get it to do anything.

Sorry for the delay - I love Linux - just need to get over this hump and back to work on my legal cases. Thanks for the assistance!

What you were seeing (^X, ^O, etc.) means Ctrl + letter, not Shift.

Here’s the simplest, step-by-step way to apply the fix safely:

  1. Open a terminal and run:
sudo nano /etc/default/grub
  1. Find the line that looks like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  1. Change it to:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash atkbd.reset"
  1. Save the file:

    • Press Ctrl + O (this writes the file)
    • Press Enter to confirm
  2. Exit nano:

    • Press Ctrl + X
  3. Update GRUB:

sudo update-grub
  1. Reboot:
sudo reboot

That’s it — no GRUB menu editing needed, and nothing dangerous here.
If anything feels unclear while doing the steps, feel free to ask before continuing. Happy to help you get back to work :slightly_smiling_face:

1 Like

THANKS! I succeeded with that “fix” but still have the same issue… will continue to research - might reach out to the people who sold it to me.

Have also detected…

Suspend Request - (it does) - then immediately wakes

Technology is so frustrating, but I like that Linux doesn’t constantly interrupt me or slow me down

Going to try this next…

https://www.reddit.com/r/Lenovo/comments/1q02pr7/solved_keyboard_not_working_after_suspendsleep_on/

DID NOT WORK :frowning: - Reaching out to the configurator of the device for assistance.

Here is my suggestion to any future user with this issue and/or fellow Lenovo IdeaPad Slim3 owner…

Temporary work-around - enable on-screen keyboard while troubleshooting.

  1. Disable all sleep / suspend features in Power Settings and rely on typical on / off usage.

  2. You may need to go into /etc/systemd/logind.conf to enable / disable functions for lid open / close preferences.

  • I setup as… If plugged into power, lid close = lock. If on battery, lid close is shutdown.
  1. There is a BIOS setting to allow lid-open to power-on if you want this to be added.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.