Quantcast
Channel: Ultimate Boot CD
Viewing all articles
Browse latest Browse all 1577

Re: CPUstress image: Power button behavior (opinions please)

$
0
0
Victor Chew wrote:
I actually prefer the current no-action behaviour. Reason is because it is very easy to accidentally press the power button, especially if you have kids in the house. I feel the reset button or the switch on the PSU are good enough options if something gets stuck.

That's just my opinion.


I actually thinks the current no-action behavior is a bug. It's because I have the power button driver compiled in the kernel, but don't have any ACPI event handling for it. (I need ACPI support simply because the multiprocessing of my laptop wouldn't work without it.)

For now I am thinking about a case when someone leaves his computer on stress-testing while he's away, then his mother wants the computer off so she presses the power button which does nothing. I guess after that she'll unplug the power cord directly.

I simply believe the power button have to do something; there's no reason to keep a PC on when someone presses it. Ideally most operating systems will do a soft shutdown, suspend, or "wait for N seconds for user to cancel before soft shutdown". It should be one of the three. I didn't think of any use case of kids accidentally pressing it that can matter. Kid can accidentally press Reset (which is always a hard reset) the same way, or accidentally unplug the power cord.

I'm waiting for more opinions before I make the decision here.

Viewing all articles
Browse latest Browse all 1577

Trending Articles