Input problems in Manjaro after waking up from sleep mode

I have installed Linux Manjaro on my laptop (Sony).
When put Manajro in sleep mode manually (or simply by closing monitor of my laptop) and open it, the keyboard is not working and sometimes the mouse is not working properly.
My laptop has touch screen and I can manage to login by touch screen and virtual keyboard but still in Manjaro desktop I have keyboard and mouse issue.(Not working)

I realize that after I login again by the mentioned way, if I go to System Setting> Input Devices> Keyboard and change something and apply the change, the keyboard start working. I have to do this every time my laptop goes in sleeping mode. (sometime after 2 sleeping mode, times keyboard and mouse are nothing working at all)

Does anybody knows how should I solve this issue?

My system Info:

GNU/Linux
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.15.60-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-4200U CPU @ 1.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4400

One way to solve the issue would be to create a script do unload and reload the drivers and run it after resume through a systemd service.

1 Like

This might help, from archived forum Writing Systemd Service Units - Programming - Manjaro Linux Forum

1 Like