I started using opensuse LEAP with 42.3, then upgraded to 15.0.
I noticed the following: when I shut down the system (until today - only via plasma menu, today I tried poweroff command), the power is not removed completely: the keyboard numlock LED keep lighting. Until today that wasn’t a problem: I always could turn computer back on by power button. But today I had a problem: the video card refused to turn on, the screen was black even at the POST stage.
I managed to recover it ONLY by turning power off by power supply switch. Then I turned it back on, pressed power button and all worked.
That raises the question: why isn’t power totally removed from the system and how can I tell system to do so?
I googled and found nothing relevant.
Also it may be worth noting that when I ran Windows (7) on that computer there were no such effects.
Yes, I also have this issue occasionally with a Laptop which has a Btrfs system partition on a SSHD (Hybrid HDD) drive …
No idea what’s going on – if and when it happens, I use <Ctrl+Alt+F1> and then <Alt+SysRq+o> to power-off …
I patch and upgrade my system from the command line (zypper patch, etc.). And, because I’m lazy, I wrote a bash alias to allow me to reboot from the command line:
sudo systemctl reboot
I also have/had
sudo systemctl poweroff
if I want to power off the machine from the CL.
These worked fine in 42.3, and, in the beginning, in 15.0. But for the last few months or so, the system hangs when I reboot using the alias or from the KDE menu (or try to shutdown). The system hangs at a login prompt. I can see this because I don’t run plymouth. Since I’ve added the swapoff -a command to the alias:
sudo swapoff -a; systemctl reboot
I’ve not had the problem. I don’t know why this works, but it does. I found this suggestion on the Linux StackExchange site.
Shutting down via the ‘Poweroff’ button of SDDM also doesn’t work –
Both of the KDE Plasma 5 and SDDM actions execute ‘systemctl poweroff’ as the user “root” …
The CLI command “poweroff” is actually ‘/sbin/poweroff’ «‘which -a poweroff’ from a “root” user prompt» which is a symbolic link pointing to ‘/usr/bin/systemctl’
[LEFT]
From a GUI (KDE or GNOME or whatever) Terminal window or a Virtual Terminal (tty1 … tty6)?
[/LEFT]
The power-off behaviour of some Laptops is indeed strange; the behaviour of the CLI commands isn’t “strange” …