Linux PARISC architecture development
 help / color / mirror / Atom feed
* Re: [parisc-linux] Power LED
@ 2002-02-15  7:02 James S
  2002-02-15  7:13 ` Christian Suder
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: James S @ 2002-02-15  7:02 UTC (permalink / raw)
  To: parisc-linux

>> what causes the power led to go out on the 712 systems ?
>> is it software controlled ?
>
>I don't think so.
>The power button is under software control but I think
>the LED is wired to the power supply directly.
>
>grant

was just wondering - mine goes out after the system starts loading - flashes
before that

when it had hp-ux on it, it stayed on

another question...

is it possible to hook the power button to the shutdown command like it is
in hp-ux ?

Thanks

James S

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [parisc-linux] Power LED
@ 2002-02-19  8:50 Hinrich Aue
  2002-02-19 11:11 ` Helge Deller
  0 siblings, 1 reply; 24+ messages in thread
From: Hinrich Aue @ 2002-02-19  8:50 UTC (permalink / raw)
  To: parisc-linux

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. So the shutdown is
initiated correctly, but after 5 sec the machine shuts
down, ignoring whether the runlevel 6 is reached or
not.
BTW why does the halt command not shut down the
machine?
I heared it would work. :-<
Is it possible to change the bit 0 if CPU diagnose
register 25 by hand?






__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [parisc-linux] Power LED
@ 2002-02-18 10:15 Hinrich Aue
  2002-02-18 11:49 ` Helge Deller
  0 siblings, 1 reply; 24+ messages in thread
From: Hinrich Aue @ 2002-02-18 10:15 UTC (permalink / raw)
  To: parisc-linux

------------------------------------------
>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

But if I push the power button, the init process
doesn't seem do change the runlevel, and power off
immediatly.
I can see the message "Shutdown requested..." and then
- power off -.
I think this souldn't be so.
Also I think it is a bit dangerous if everyone can
switch of the system, clean or unclean, just by
pushing the button.
Maybe a 5 second push-time would be good (like ATX)
but with a gracefull shutdown.
After all the halt script does not power off my
715/80.
I have to switch it off manually.

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [parisc-linux] Power LED
@ 2002-02-18  7:37 Hinrich Aue
  2002-02-18  9:21 ` Helge Deller
  0 siblings, 1 reply; 24+ messages in thread
From: Hinrich Aue @ 2002-02-18  7:37 UTC (permalink / raw)
  To: parisc-linux

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.


__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [parisc-linux] Power LED
@ 2002-02-15  5:08 James S
  2002-02-15  6:14 ` Grant Grundler
  2002-02-15 22:41 ` Christoph Plattner
  0 siblings, 2 replies; 24+ messages in thread
From: James S @ 2002-02-15  5:08 UTC (permalink / raw)
  To: parisc-linux

this might be a daft question.......


what causes the power led to go out on the 712 systems ?

is it software controlled ?



James S

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2002-02-27  0:18 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-15  7:02 [parisc-linux] Power LED 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 23:34       ` [parisc-linux] MySQL Server Tilo Jandt
2002-02-16  0:13         ` Helge Deller
2002-02-16  5:46           ` Jochen Friedrich
2002-02-26 22:40             ` [parisc-linux] Sound Tilo Jandt
2002-02-26 22:48               ` andi
2002-02-26 22:56               ` Matt Taggart
     [not found]                 ` <001101c1bf1b$6205bd10$0801a8c0@epsilon>
2002-02-27  0:18                   ` Matt Taggart
2002-02-15  7:19 ` [parisc-linux] Power LED Richard Hirst
2002-02-15 11:17 ` Thibaut VARENE
  -- 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-18  7:37 Hinrich Aue
2002-02-18  9:21 ` Helge Deller
2002-02-15  5:08 James S
2002-02-15  6:14 ` Grant Grundler
2002-02-15 22:41 ` Christoph Plattner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox