Why does SysRq's reboot work, but not shutdown?

If I type Alt + Print Screen + R, E, I, S, U, then B, it shuts down. If I try O instead of B, it doesn’t – I merely see the log printed in Plymouth’s dmesg throughput / the TTY.

Hi,

Try that

sudo tee /etc/sysctl.d/99-sysrq.conf << EOF > /dev/null
kernel.sysrq = 566
EOF
sudo systemctl restart systemd-sysctl.service
1 Like

I don’t recall REISUB working until I set kernel.sysrq = 1; I haven’t seen 566 before but it looks like different numbers unlock different features.

Mine is set to 438, adding 128 would enable shutdown.

I think ‘1’ would enable all keys.

@Espionage724 and @josevillani, indeed, I’ve already enabled it with 1 in a configuration file (not sysctl). By default, it was 16, which solely permits synchronisation. The kernel certainly accepts the command, but it’s ineffectual:

The cause is kernel 6.15.3:

For a reason unbeknownst to me, when it’s hung, solely B works. In 6.14.11, O operates as expected.