Keyboard changes configuration after PC suspend

Questions about hardware, drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
joaonuno
Level 1
Level 1
Posts: 21
Joined: Wed Jul 02, 2014 7:38 pm

Keyboard changes configuration after PC suspend

Post by joaonuno »

Hi!

Whenever the computer goes to sleep (suspend), it changes the keyboard configuration, shuffling several keys, forcing to use the virtual keyboard, which remain correct. The only way to get the correct keyboard (PT) back is to restart the computer.
How can I solve this problem?

Thanks
User avatar
hglee
Level 5
Level 5
Posts: 955
Joined: Fri Jun 22, 2018 4:31 pm

Re: Keyboard changes configuration after PC suspend

Post by hglee »

joaonuno wrote:
Sat May 01, 2021 4:54 pm
Hi!

Whenever the computer goes to sleep (suspend), it changes the keyboard configuration, shuffling several keys, forcing to use the virtual keyboard, which remain correct. The only way to get the correct keyboard (PT) back is to restart the computer.
How can I solve this problem?

Thanks


Without even the least detail of system information?


This is posted near the top of virtually every forum page:

Forum rules
Before you post please read
how to get help


Give particular attention to section [5] Details! Details! Details!



Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0*-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 14" FHD WVA Touchscreen
Intel AX200 WiFi-6 BT-5.1; 32GB DDR4@3200MHz; 2TB XPG NVMe
joaonuno
Level 1
Level 1
Posts: 21
Joined: Wed Jul 02, 2014 7:38 pm

Re: Keyboard changes configuration after PC suspend

Post by joaonuno »

Sorry! I am a novice in these things. :(
Here is some information:

Code: Select all

System:    Kernel: 5.4.0-72-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 
           wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: ASRock model: B75M-DGS serial: <filter> BIOS: American Megatrends 
           v: P1.00 date: 07/30/2012 
CPU:       Topology: Dual Core model: Intel Core i3-2100 bits: 64 type: MT MCP arch: Sandy Bridge 
           rev: 7 L2 cache: 3072 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24744 
           Speed: 3093 MHz min/max: 1600/3100 MHz Core speeds (MHz): 1: 3093 2: 3093 3: 3093 
           4: 3093 
Graphics:  Device-1: NVIDIA GK106 [GeForce GTX 650 Ti] vendor: ZOTAC driver: nouveau v: kernel 
           bus ID: 01:00.0 chip ID: 10de:11c6 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1440x900~60Hz 
           OpenGL: renderer: NVE6 v: 4.3 Mesa 20.2.6 direct render: Yes 
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: ASRock 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20 
           Device-2: NVIDIA GK106 HDMI Audio vendor: ZOTAC driver: snd_hda_intel v: kernel 
           bus ID: 01:00.1 chip ID: 10de:0e0b 
           Sound Server: ALSA v: k5.4.0-72-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock 
           driver: r8169 v: kernel port: d000 bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 447.10 GiB used: 14.54 GiB (3.3%) 
           ID-1: /dev/sda vendor: Seagate model: ST3320310CS size: 298.09 GiB speed: 3.0 Gb/s 
           serial: <filter> 
           ID-2: /dev/sdb vendor: Samsung model: HD161HJ size: 149.01 GiB speed: 3.0 Gb/s 
           serial: <filter> 
Partition: ID-1: / size: 291.92 GiB used: 14.54 GiB (5.0%) fs: ext4 dev: /dev/sda5 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
           chip ID: 8087:0024 
           Device-1: 1-1.6:3 info: MosArt type: Mouse driver: hid-generic,usbhid rev: 1.1 
           chip ID: 062a:6728 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
           chip ID: 8087:0024 
           Device-2: 2-1.5:3 info: Holtek Keyboard LKS02 type: Keyboard,HID 
           driver: hid-generic,usbhid rev: 1.1 chip ID: 04d9:1702 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 37.0 C mobo: N/A gpu: nouveau temp: 24 C 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb https: //ftp.rnl.tecnico.ulisboa.pt/pub/linuxmint-packages ulyssa main upstream import backport
           2: deb http: //ftp.rnl.tecnico.ulisboa.pt/pub/ubuntu/archive focal main restricted universe multiverse
           3: deb http: //ftp.rnl.tecnico.ulisboa.pt/pub/ubuntu/archive focal-updates main restricted universe multiverse
           4: deb http: //ftp.rnl.tecnico.ulisboa.pt/pub/ubuntu/archive 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/pinta-maintainers-pinta-stable-focal.list 
           1: deb http: //ppa.launchpad.net/pinta-maintainers/pinta-stable/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb http: //repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 206 Uptime: 4m Memory: 3.79 GiB used: 1.21 GiB (31.9%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 
joaonuno
Level 1
Level 1
Posts: 21
Joined: Wed Jul 02, 2014 7:38 pm

Re: Keyboard changes configuration after PC suspend

Post by joaonuno »

TO WHOM IT MAY CONCERN :)

I already solved the keyboard problem!
I replaced the gamer keyboard with a normal one and that's it!
It was either a driver problem or a keyboard malfunction.
Post Reply