Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • Re: Avoiding power cycling by using /proc/sysrq-trigger

$
0
0
Some additional notes:

1) One may ask "Why not just use the SysRq key directly, the way it was originally designed to be used?". Well, two things are relevant:

a) I have never been able to get SysRq to work. It is not clear which key that is on modern keyboards. I know it works for some people, but it has never worked for me. Just the way it is.

b) Eventually, I want to script this whole process. Obviously, echo'ing to the file in /proc is a better way from a scripting POV.

2) The next time this comes up, I'm going to try it from a VC. That is, do "chvt 1" (*) from the desktop. That should work better than ssh'ing in.

(*) Or Ctrl/Alt/F1

Statistics: Posted by BigRedMailbox — Sun Jan 11, 2026 5:58 pm



Viewing all articles
Browse latest Browse all 3546

Trending Articles