Keyboard not working after waking up from sleep

I recently dual booted my laptop and when I like leave my laptop idle for 5 mins, it goes to sleep, but when waking it up from sleep, the keyboard is non responsive and I need to use a virtual keyboard to login and even after logging in, I can not type, I saw a issue that is similar to mine, it stated the issue was fixed in 5.4 kernal patch, but I am using 5.9 right now.

$ inxi -F
System:    Host: aditya-lappy Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.20.5 Distro: Manjaro Linux 
Machine:   Type: Laptop System: Sony product: SVE1413XPNB v: C10HDT52 serial: <superuser required> 
           Mobo: Sony model: VAIO serial: <superuser required> UEFI: Insyde v: R0200D5 date: 09/26/2016 
Battery:   ID-1: BAT1 charge: 10.4 Wh condition: 35.0/45.0 Wh (78%) 
CPU:       Info: Dual Core model: Intel Core i5-3320M bits: 64 type: MT MCP L2 cache: 3 MiB 
           Speed: 1197 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 1197 2: 1198 3: 1197 4: 1197 
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
           Device-2: Acer USB2.0 Camera type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.10 driver: loaded: intel unloaded: modesetting resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 20.3.3 
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k5.9.16-1-MANJARO 
Network:   Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k 
           IF: wlp1s0 state: up mac: b8:76:3f:fa:6b:77 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: enp3s0 state: down mac: 30:f9:ed:da:c1:7a 
Drives:    Local Storage: total: 465.76 GiB used: 15.07 GiB (3.2%) 
           ID-1: /dev/sda vendor: Hitachi model: HTS545050A7E380 size: 465.76 GiB 
Partition: ID-1: / size: 144.84 GiB used: 15.03 GiB (10.4%) fs: ext4 dev: /dev/sda8 
           ID-2: /boot/efi size: 252 MiB used: 41.8 MiB (16.6%) fs: vfat dev: /dev/sda3 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 56.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 181 Uptime: 49m Memory: 3.72 GiB used: 1.91 GiB (51.3%) Shell: Bash inxi: 3.2.02

UPDATE: I changed my keyboard settings to default. It started working now.

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