I am having an intermittent problem with my desktop locking up when going into sleep mode (suspend to ram). I have been thinking for 2 months that the problem was a new mechanical keyboard (Corsair K70 LUX non-rgb). When I got this keyboard I began having problems on my laptop first, and then moved the keyboard to my desktop and the problem followed. However, I have now given up on the keyboard, disconnected it, removed any references to it in config files (ie wakeup rules) and still my computer locked up.
Exact symptom: (as best as I can explain)
Whether I put the computer to sleep mode via menu options or just leave the computer to go into sleep on its own, everything seems to be going well until the very last moment when the CPU fan starts going full speed. At that point monitors are off, keyboard is unresponsive, all other LEDs are off; the only thing I can do is press the power button on the pc to restart it. This has been an intermittent problem, but getting more frequent, although still not everytime.
Equipment and OS:
I first got the Corsair keyboard at Christmas 2019 and connected it to my laptop while away from home.
Acer Aspire E1-572P-6616 running Mint 19.1 / Cinnamon. Since moving the keyboard to my desktop I no longer had any power issues on the laptop.
Desktop: AMD FX-6300, 8GB, Radeon HD 7850, Asus M5A99X EVO (Yes, it’s old. But has been working great (till now) for me except when it struggled to run Cities: Skylines on steam.) I have had this power issue with both Debian 10 / KDE and now Manjaro / KDE.
Backup keyboard: trusty old HP PS/2 keyboard.
Steps taken so far:
Internet searches: couldn’t find much other than installing the community version of the driver (ckb-next)
USB wake up rules - both enabled or disabled for the keyboard
Switching USB ports (does that actually do anything?)
Installing ckb-next from aur
Updating keyboard firmware (through the official Corsair software via Windows)
Setting keyboard poling rate to different settings and trying BIOS mode on the keyboard (and wow the desktop did not like that - wouldn’t suspend at all)
Unplugging keyboard from pc before going to sleep mode (sometimes seemed to work).
I have now undone most of the above steps and still had the issue today. (Having had several boots without even connecting the keyboard).
At least one of the results online for similar problems had responders asking to see journal entries. I could post that, but there can be 30-40 lines per second and I’m not sure what is relevant and what isn’t.
One thing I did notice is that the very last entry after a successful sleep would be something like:
Feb 21 10:46:29 sd40-desktop-manjaro kernel: Filesystems sync: 0.863 seconds
After any failed sleep, that line would not be there.
Today, after the failed sleep, I noticed this:
Feb 28 15:10:28 sd40-desktop-manjaro kernel: Filesystems sync: 0.251 seconds
Feb 28 15:10:28 sd40-desktop-manjaro kernel: [drm:si_dpm_set_power_state [radeon]] ERROR si_restrict_performance_levels_before_switch failed
I’m at my wits’ end on this one. Is it a hardware issue? Or maybe I should re-install Manjaro (last resort)? Maybe I’m now looking at a completely separate cause from the keyboard issue? Maybe it was never on account of the keyboard (but no problems until getting that keyboard)?
Thanks