On 02-14-2024 07:45PM, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: HP PS/2 style keyboard preventing suspend: Message-ID : <0ad872d7-a427-4553-83ac-228b015f40f0@telefonica.net> Date & Time: Thu, 15 Feb 2024 01:07:10 +0100
[CER] == "Carlos E. R." <robin.listas@telefonica.net> has written:
CER> [1 <multipart/mixed (7bit)>] CER> [1.1 <text/plain; UTF-8 (base64)>] CER> On 2024-02-15 00:56, Masaru Nomiya wrote: [...] CER> > Please show the result of this; CER> > CER> > $ cat /sys/module/usbcore/parameters/autosuspend CER> > CER> > $ ls /etc/modprobe.d/disable-usb-autosuspend.conf
CER> Remember his keyboard is not on USB.
Thanks, Carlos.
I was totally mistaken. (^^;;
He has got the i8042 controller's bug.
How about this?
1. edit the /etc/default/grub as follows:
1-1. remove 'usbcore.autosuspend=-1' entry. 1-2. add the 'i8042.nomux=1 i8042.reset' entry, instead.
2.
# update-bootloader --refresh
I completed the above suggestions then powercycled the machine: cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-6.7.4-1-default root=/dev/mapper/system-root resume=/dev/system/swap nosimplefb=1 splash=0 plymouth.enable=0 mitigations=auto i8042.nomux=1 i8042.reset
where PS2-Keyboard.service is still disabled.
systemctl status PS2-Keyboard.service ○ PS2-Keyboard.service - Disable PS/2 style keyboard power when sleep state is envoked on this machine Loaded: loaded (/etc/systemd/system/PS2-Keyboard.service; disabled; preset: disabled) Active: inactive (dead) Thinkcentre-M57p:/tmp> - I attempted to suspend the machine. The machine suspended and PSU turned off. I pressed power button and machine powered on and I logged into KDE. :] - This is excellent work. Please note: It seems like possibly an open window application in a workspace could have/be, been jamming the suspend process up. I minimized the running application processes in 1 of the 2 currently used workspaces and suspend completed without incident. Since I have have implemented the above suggestion, I have had suspend fail to follow through and display message output in TTY and revert back to SDDM window. I logged into KDE and then attempted suspend again, then same events. I was going to take a photo of the messages but cannot with suspend completing. Are you aware of something like this occuring previously (in other cases) by chance? -Best Wishes