* [gentoo-user] preventing PC sutdown by power button when running
@ 2020-12-11 4:20 thelma
2020-12-11 6:00 ` J. Roeleveld
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: thelma @ 2020-12-11 4:20 UTC (permalink / raw
To: Gentoo mailing list
How to prevent PC from shutdown when running when power button is pressed?
Is it a function in a BIOS or OS?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] preventing PC sutdown by power button when running
2020-12-11 4:20 [gentoo-user] preventing PC sutdown by power button when running thelma
@ 2020-12-11 6:00 ` J. Roeleveld
2020-12-11 6:56 ` Grant Taylor
2020-12-11 14:43 ` Jack
2 siblings, 0 replies; 10+ messages in thread
From: J. Roeleveld @ 2020-12-11 6:00 UTC (permalink / raw
To: gentoo-user
On 11 December 2020 05:20:55 CET, thelma@sys-concept.com wrote:
>How to prevent PC from shutdown when running when power button is
>pressed?
>Is it a function in a BIOS or OS?
When booted, OS.
But the 5s press is BIOS.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] preventing PC sutdown by power button when running
2020-12-11 4:20 [gentoo-user] preventing PC sutdown by power button when running thelma
2020-12-11 6:00 ` J. Roeleveld
@ 2020-12-11 6:56 ` Grant Taylor
2020-12-11 7:31 ` J. Roeleveld
2020-12-11 11:54 ` tastytea
2020-12-11 14:43 ` Jack
2 siblings, 2 replies; 10+ messages in thread
From: Grant Taylor @ 2020-12-11 6:56 UTC (permalink / raw
To: gentoo-user
On 12/10/20 9:20 PM, thelma@sys-concept.com wrote:
> How to prevent PC from shutdown when running when power button is pressed?
> Is it a function in a BIOS or OS?
Press and release, in less than four seconds, is the OS. Four seconds
or longer is the BIOS.
Try stopping acpid and seeing if that gets you the desired results.
--
Grant. . . .
unix || die
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] preventing PC sutdown by power button when running
2020-12-11 6:56 ` Grant Taylor
@ 2020-12-11 7:31 ` J. Roeleveld
2020-12-11 11:54 ` tastytea
1 sibling, 0 replies; 10+ messages in thread
From: J. Roeleveld @ 2020-12-11 7:31 UTC (permalink / raw
To: gentoo-user
On 11 December 2020 07:56:20 CET, Grant Taylor <gtaylor@gentoo.tnetconsulting.net> wrote:
>On 12/10/20 9:20 PM, thelma@sys-concept.com wrote:
>> How to prevent PC from shutdown when running when power button is
>pressed?
>> Is it a function in a BIOS or OS?
>
>Press and release, in less than four seconds, is the OS. Four seconds
>or longer is the BIOS.
>
>Try stopping acpid and seeing if that gets you the desired results.
If you want to be able to disable the whole switch, you could try adding a "killswitch".
See: https://youtu.be/yBj02EBj_dQ
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] preventing PC sutdown by power button when running
2020-12-11 6:56 ` Grant Taylor
2020-12-11 7:31 ` J. Roeleveld
@ 2020-12-11 11:54 ` tastytea
2020-12-11 12:19 ` thelma
1 sibling, 1 reply; 10+ messages in thread
From: tastytea @ 2020-12-11 11:54 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
On 2020-12-10 23:56-0700 Grant Taylor
<gtaylor@gentoo.tnetconsulting.net> wrote:
> On 12/10/20 9:20 PM, thelma@sys-concept.com wrote:
> > How to prevent PC from shutdown when running when power button is
> > pressed? Is it a function in a BIOS or OS?
>
> Press and release, in less than four seconds, is the OS. Four
> seconds or longer is the BIOS.
>
> Try stopping acpid and seeing if that gets you the desired results.
Nowadays (e)logind handles that. Setting
HandlePowerKey=ignore
in /etc/elogind/logind.conf should disable that (haven't tested).
Kind regards, tastytea
--
Get my PGP key with `gpg --locate-keys tastytea@tastytea.de` or at
<https://tastytea.de/tastytea.asc>.
[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] preventing PC sutdown by power button when running
2020-12-11 11:54 ` tastytea
@ 2020-12-11 12:19 ` thelma
0 siblings, 0 replies; 10+ messages in thread
From: thelma @ 2020-12-11 12:19 UTC (permalink / raw
To: gentoo-user
On 12/11/2020 04:54 AM, tastytea wrote:
> On 2020-12-10 23:56-0700 Grant Taylor
> <gtaylor@gentoo.tnetconsulting.net> wrote:
>
>> On 12/10/20 9:20 PM, thelma@sys-concept.com wrote:
>>> How to prevent PC from shutdown when running when power button is
>>> pressed? Is it a function in a BIOS or OS?
>>
>> Press and release, in less than four seconds, is the OS. Four
>> seconds or longer is the BIOS.
>>
>> Try stopping acpid and seeing if that gets you the desired results.
>
> Nowadays (e)logind handles that. Setting
> HandlePowerKey=ignore
> in /etc/elogind/logind.conf should disable that (haven't tested).
>
> Kind regards, tastytea
Thank, will definitely try it and let you folks know.
But right now, I've managed to break the boot-loader, so this is the
priority.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] preventing PC sutdown by power button when running
2020-12-11 4:20 [gentoo-user] preventing PC sutdown by power button when running thelma
2020-12-11 6:00 ` J. Roeleveld
2020-12-11 6:56 ` Grant Taylor
@ 2020-12-11 14:43 ` Jack
2020-12-11 15:34 ` Dale
2020-12-11 15:41 ` [gentoo-user] " Grant Edwards
2 siblings, 2 replies; 10+ messages in thread
From: Jack @ 2020-12-11 14:43 UTC (permalink / raw
To: gentoo-user
On 12/10/20 11:20 PM, thelma@sys-concept.com wrote:
> How to prevent PC from shutdown when running when power button is pressed?
> Is it a function in a BIOS or OS?
You could always unplug the wire from the power button to the motherboard.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] preventing PC sutdown by power button when running
2020-12-11 14:43 ` Jack
@ 2020-12-11 15:34 ` Dale
2020-12-11 15:41 ` [gentoo-user] " Grant Edwards
1 sibling, 0 replies; 10+ messages in thread
From: Dale @ 2020-12-11 15:34 UTC (permalink / raw
To: gentoo-user
Jack wrote:
> On 12/10/20 11:20 PM, thelma@sys-concept.com wrote:
>> How to prevent PC from shutdown when running when power button is
>> pressed?
>> Is it a function in a BIOS or OS?
> You could always unplug the wire from the power button to the
> motherboard.
>
>
I've also seen where people had two or more switches in series and they
all had to be pressed at the same time to power off. I've seen people
do that with reset buttons too. It's just a momentary switch and ebay
has them by the dozen pretty cheap. It's effective.
But, if one wants to really disable it, your way is easiest. It just
depends on how far a person wants to go with this.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] Re: preventing PC sutdown by power button when running
2020-12-11 14:43 ` Jack
2020-12-11 15:34 ` Dale
@ 2020-12-11 15:41 ` Grant Edwards
2020-12-11 17:20 ` Grant Edwards
1 sibling, 1 reply; 10+ messages in thread
From: Grant Edwards @ 2020-12-11 15:41 UTC (permalink / raw
To: gentoo-user
On 2020-12-11, Jack <ostroffjh@users.sourceforge.net> wrote:
> On 12/10/20 11:20 PM, thelma@sys-concept.com wrote:
>> How to prevent PC from shutdown when running when power button is pressed?
>> Is it a function in a BIOS or OS?
> You could always unplug the wire from the power button to the motherboard.
That seems like the simple, obvious solution to me.
--
Grant
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] Re: preventing PC sutdown by power button when running
2020-12-11 15:41 ` [gentoo-user] " Grant Edwards
@ 2020-12-11 17:20 ` Grant Edwards
0 siblings, 0 replies; 10+ messages in thread
From: Grant Edwards @ 2020-12-11 17:20 UTC (permalink / raw
To: gentoo-user
On 2020-12-11, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> On 2020-12-11, Jack <ostroffjh@users.sourceforge.net> wrote:
>> On 12/10/20 11:20 PM, thelma@sys-concept.com wrote:
>>> How to prevent PC from shutdown when running when power button is pressed?
>>> Is it a function in a BIOS or OS?
>
>> You could always unplug the wire from the power button to the motherboard.
>
> That seems like the simple, obvious solution to me.
Of course it makes it a bit difficult to turn the PC _on_ after it's
been powered down unless you change the BIOS to "always on after power
interruption", then you can turn it on by toggling the AC power.
--
Grant
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-12-11 17:20 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-11 4:20 [gentoo-user] preventing PC sutdown by power button when running thelma
2020-12-11 6:00 ` J. Roeleveld
2020-12-11 6:56 ` Grant Taylor
2020-12-11 7:31 ` J. Roeleveld
2020-12-11 11:54 ` tastytea
2020-12-11 12:19 ` thelma
2020-12-11 14:43 ` Jack
2020-12-11 15:34 ` Dale
2020-12-11 15:41 ` [gentoo-user] " Grant Edwards
2020-12-11 17:20 ` Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox