At one time or another, all of us have had to force our computers to shut down by pushing and holding the power button down until they powered off. Is this mechanism hardware-based, firmware-based, or both? Today’s SuperUser Q&A post has the answer to a curious reader’s question.

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

The Question

SuperUser reader user4493605 wants to know what firmware or hardware mechanisms enable forced shutdowns:

What firmware or hardware mechanisms enable forced shutdowns?

What I am interested in is whether this forced shutdown mechanism is hardcoded into the computer’s underlying firmware or built into the computer on a hardware level. If the mechanism is firmware-based, then it is logical to assume that a CPU-level error would prevent this mechanism from properly triggering, which leads me to believe that this is a hardware function.

To summarise, is the universal forced shutdown mechanism built in at the hardware or firmware level? Can someone elaborate on the mechanism’s nature, variants, and general history.

The Answer

SuperUser contributor DavidPostill has the answer for us:

Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

Both the motherboard (hardware) and the BIOS (firmware) are involved in the process.

Source: How Does the Power Button Work?

Source: How Do These Modern Power Buttons on Devices Work? (Answer by Olin Lathrop)

Image Credit: Josh Swannack (Flickr)