How long do you need to hold down the power button to turn off a PC?
osnews.com
osnews.com
I guess I'm the one contributing to those crashlogs.
> What further complicates matters is that Chen details how the kernel dumps created after pressing the power button for 8 seconds do, in fact, get sent to Microsoft once the computer turns on again. In fact, he is one of the people who gets to see these dumps and respond to them, so obviously they are indeed rolling in.
Appropriately for halloween, this seems somewhat spooky.
It's not like there are that many PC SKUs out there (or motherboard SKUs for custom stuff). And even if there are two weird models, how useful is only that data?
Apparently from standby the power-off time on some laptops is much longer and you get a MANUALLY_INITIATED_POWER_BUTTON_HOLD which kicks off in the ~8 seconds from the article.
https://devblogs.microsoft.com/oldnewthing/20250107-00/?p=11...
Have had it happen on the Essential Phone and my MIL's Chromebook (don't remember the model). At least with the Chromebook, you can open it with a screwdriver and pull the battery. Better than waiting however many days for the battery to fully die so the EC resets.
000b - 4 seconds
001b - 6 seconds
010b - 8 seconds
011b - 10 seconds
100b - 12 seconds
101b - 14 seconds
Others - Reserved
This bit is reset by DSW_PWROK de-assertion. (edited formatting)
; PopPowerButtonWorkCallback+0x1DF
shr ebx, 1 ; unpack elapsed milliseconds
cmp ebx, 0x1b58 ; 7000 milliseconds
jb ... ; below threshold: skip crash path