Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: Hinrich Aue <hinrich_aue@yahoo.de>, parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Power LED
Date: Tue, 19 Feb 2002 12:11:01 +0100	[thread overview]
Message-ID: <200202191210.08123.deller@gmx.de> (raw)
In-Reply-To: <20020219085057.17411.qmail@web21206.mail.yahoo.com>

On Tuesday 19 February 2002 09:50, Hinrich Aue wrote:
> I use 2.4.17-pa26
>
> I tried to increase push-time to 5*HZ.
> But as you said, the machine doesn't seem to recognize
> when I release the button. 

Yep.

> So the shutdown is
> initiated correctly, but after 5 sec the machine shuts
> down, ignoring whether the runlevel 6 is reached or
> not.

process_shutdown() calls after 5 seconds poweroff(), which in
turn calls deferred_poweroff() again. deferred_poweroff() then
sends the SIGINT signal to the init process which then
initiates the normal shutdown. There is no other kernel-code
which powers off your computer directly.
This works perfectly for me on the 715/64 and many others here.
Maybe your PDC (BIOS/Firmware) handles that differentlly ? Maybe
you could verify that you have the most recent PDC version ?

> BTW why does the halt command not shut down the
> machine?

I've not found any direct PDC (BIOS/Firmware) call which does this.
pdc_soft_power_shutdown() doesn't seem to do want it's name
suggests. It instead seems to set a flag in the PDC so that when 
you reboot your system it will shut off during the main PDC tests. 
So there seems to be a way to turn off the system immediately,
but it seem to be _very_ system dependant too.

> I heared it would work. :-<
> Is it possible to change the bit 0 if CPU diagnose
> register 25 by hand?

I tried it, but it didn't worked.
If we would find a way to reset bit 0 in reg 25 we would
have a solution.

Helge

  reply	other threads:[~2002-02-19 11:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-19  8:50 [parisc-linux] Power LED Hinrich Aue
2002-02-19 11:11 ` Helge Deller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-02-18 10:15 Hinrich Aue
2002-02-18 11:49 ` Helge Deller
2002-02-18 19:29   ` Hinrich Aue
2002-02-18  7:37 Hinrich Aue
2002-02-18  9:21 ` Helge Deller
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=200202191210.08123.deller@gmx.de \
    --to=deller@gmx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox