Keyboard issue after suspend

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
entrey
Level 1
Level 1
Posts: 2
Joined: Sat Jun 19, 2021 1:15 pm

Keyboard issue after suspend

Post by entrey »

Hi!

I have switched from Win10 some about a month ago and using Linux Mint 20.1 since.

Earlier, as a Win user, i used to turn my PC into Suspend Mode from time to time, but it appeared that I'm encounter some strange issue if trying to do so inside Mint.
So the problem is that after wakinging my PC out of suspend mode the keyboard stop responding. For example i can see the green light above NumLock button, but i cannot turn it off. Therefore there is no way to type my password on a Welcome Sreen.
What i can do is activate screen keyboard with my mouse (which is working normally) and type password with the help of it. But even after I get inside desktop interface the keyboard will not respond to any keystrokes, so the only option i found is climb under the table, find the keyboard connection cable, unplug it and plug back in. After such manipulation everything start to works normally.

The keyboard works fine in all use cases except the abovementioned when I try to turn on the PC after being suspended.

Thanks for any advice.

Result of inxi -Fxxxrz:

Code: Select all

System:
  Kernel: 5.4.0-74-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop Mobo: Gigabyte model: B75M-D3P v: x.x serial: <filter> 
  BIOS: American Megatrends v: F5 date: 07/03/2012 
CPU:
  Topology: Quad Core model: Intel Core i5-3570K bits: 64 type: MCP 
  arch: Ivy Bridge rev: 9 L2 cache: 6144 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 27138 
  Speed: 1596 MHz min/max: 1600/3800 MHz Core speeds (MHz): 1: 1597 2: 1596 
  3: 1596 4: 1596 
Graphics:
  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics 
  vendor: Gigabyte driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0162 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) 
  v: 4.2 Mesa 20.2.6 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio 
  vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  chip ID: 8086:1e20 
  Sound Server: ALSA v: k5.4.0-74-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: e300 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: enp2s0f0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 24.06 GiB (2.6%) 
  ID-1: /dev/sda vendor: Seagate model: ST1000VX000-1CU162 size: 931.51 GiB 
  speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: CV22 scheme: MBR 
Partition:
  ID-1: / size: 915.40 GiB used: 24.06 GiB (2.6%) fs: ext4 dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyssa main upstream import backport
  2: deb http://mirror.mirohost.net/ubuntu focal main restricted universe multiverse
  3: deb http://mirror.mirohost.net/ubuntu focal-updates main restricted universe multiverse
  4: deb http://mirror.mirohost.net/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/sublime-text.list 
  1: deb https://download.sublimetext.com/ apt/stable/
Info:
  Processes: 211 Uptime: 1h 12m Memory: 7.65 GiB used: 1.98 GiB (25.9%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
Result of dmesg | grep -i keyboard

Code: Select all

[    2.820331] hid-generic 0003:05D5:8001.0001: input,hidraw0: USB HID v1.10 Keyboard [KYE 4D device Ergomedia] on usb-0000:00:14.0-3/input0
[    8.497049] systemd[1]: Starting Set the console keyboard layout...
[   87.204462] hid-generic 0003:05D5:8001.0004: input,hidraw0: USB HID v1.10 Keyboard [KYE 4D device Ergomedia] on usb-0000:00:14.0-3/input0
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
entrey
Level 1
Level 1
Posts: 2
Joined: Sat Jun 19, 2021 1:15 pm

Re: Keyboard issue after suspend

Post by entrey »

Did some additional research and this time found a couple of old posts pointing to the same problem.

For example this one.

I also have tried this solution but unfortunately it doesn't help in my particular case.

Still researching...
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Keyboard issue after suspend

Post by Larry78723 »

Are we talking about a wired or wireless keyboard?
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
Locked

Return to “Cinnamon”