All of lore.kernel.org
 help / color / mirror / Atom feed
From: Helge Deller <helge.deller@sap.com>
To: Hinrich Aue <hinrich_aue@yahoo.de>, parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Power LED
Date: Mon, 18 Feb 2002 10:21:17 +0100	[thread overview]
Message-ID: <E16cjzT-0000FF-00@linuxlab.wdf.sap-ag.de> (raw)
In-Reply-To: <20020218073706.35199.qmail@web21205.mail.yahoo.com>

On Monday 18 February 2002 08:37, Hinrich Aue wrote:
> When I push the power-button on my 715/80, it prints a
> message on the screen, that a shuwdown is requested,
> and then shuts down immediatly. On the next start up a
> fsck is required.
> It seems to be software controlled, or it would not
> print that message(I think).
> Maybe a shutdown signal is emmited from the kernel at
> one point, but the runlevel isn't changed before.
> So it should be possible to isolate that signal and
> use it seperately in the atx style.
> (I'm not a kernel hacker, but maybe this is a starting
> point?)
> Just speculating.

715/64, 715/80 and 715/100 belong to the so-called
715/new machines and all of those support the soft-power
switch, else you wouldn't have received the 
"Shutdown requested..." message. 
In your case I assume, that your filesystems wasn't clean
before you did shutdown your system....

BTW, the shutdown is initiated by the kernel by sending
a SIGINT to the PID (cad_pid) of the init process. This
is done in the file power.c:
http://cvs.parisc-linux.org/linux/arch/parisc/kernel/power.c?rev=1.5&content-type=text/vnd.viewcvs-markup
After receiving this signal the init process switches the runlevel,
shuts down your system cleanly and runs /sbin/poweroff
or /sbin/halt. This is already the case and is also done
that way for ATX systems.

Regards,
Helge
-- 
Helge Deller
SAP AG - LinuxLab and Unix Platforms
email: helge.deller@sap.com

  reply	other threads:[~2002-02-18  9:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-18  7:37 [parisc-linux] Power LED Hinrich Aue
2002-02-18  9:21 ` Helge Deller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-02-19  8:50 Hinrich Aue
2002-02-19 11:11 ` Helge Deller
2002-02-18 10:15 Hinrich Aue
2002-02-18 11:49 ` Helge Deller
2002-02-18 19:29   ` Hinrich Aue
2002-02-15  7:02 James S
2002-02-15  7:13 ` Christian Suder
2002-02-15  7:26   ` Helge Deller
2002-02-15 12:46     ` Carlos O'Donell Jr.
2002-02-15 22:45     ` Christoph Plattner
2002-02-15  7:19 ` Richard Hirst
2002-02-15 11:17 ` Thibaut VARENE
2002-02-15  5:08 James S
2002-02-15  6:14 ` Grant Grundler
2002-02-15 22:41 ` Christoph Plattner

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=E16cjzT-0000FF-00@linuxlab.wdf.sap-ag.de \
    --to=helge.deller@sap.com \
    --cc=hinrich_aue@yahoo.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.