Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: "Kenneth Westelinck" <kennywest1@hotmail.com>,
	parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] not freeing initmem and power button
Date: Tue, 16 Apr 2002 02:30:39 +0200	[thread overview]
Message-ID: <200204160223.35879.deller@gmx.de> (raw)
In-Reply-To: <F92wTQUS2cYmqJpuUdJ00006859@hotmail.com>

On Monday 15 April 2002 13:59, Kenneth Westelinck wrote:
> >The power-button should work if you update to a newer kernel (>=
> >2.4.18-pa19).
>
> Cool, does this mean: if I push the button, the system will do a clean
> shutdown? Or if I push the button, nothing happens?
>
> Is there an easy way to disable this. 

In Kernel 2.4.18-pa20 I've added a /proc/sys/kernel/power
procfs entry which lets you enable/disable the soft power switch 
at runtime:

# echo 0 > /proc/sys/kernel/power		# disables the power switch
# echo 1 > /proc/sys/kernel/power		# enables the power switch

# cat /proc/sys/kernel/power 
Software power switch support: enabled (1)

Or, you could of course also use sysctl program/interface.

Greetings,
Helge

  parent reply	other threads:[~2002-04-16  0:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-15 11:59 [parisc-linux] not freeing initmem and power button Kenneth Westelinck
2002-04-15 14:34 ` Helge Deller
2002-04-16  0:30 ` Helge Deller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-04-25  8:18 kenneth westelinck
2002-04-16  8:27 Kenneth Westelinck
2002-04-20 13:48 ` kenneth westelinck
2002-04-20 15:51   ` Helge Deller
2002-04-20 16:35     ` kenneth westelinck
2002-04-21  4:08       ` James S
2002-04-16  8:13 Kenneth Westelinck
2002-04-15  8:41 Kenneth Westelinck
2002-04-15 10:32 ` Helge Deller
2002-04-15 17:35   ` Richard Hirst
2002-04-15 19:23     ` Helge Deller
2002-04-20  5:47       ` Grant Grundler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200204160223.35879.deller@gmx.de \
    --to=deller@gmx.de \
    --cc=kennywest1@hotmail.com \
    --cc=parisc-linux@lists.parisc-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox