Linux PARISC architecture development
 help / color / mirror / Atom feed
* [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

* Re: [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
  1 sibling, 0 replies; 24+ messages in thread
From: Grant Grundler @ 2002-02-15  6:14 UTC (permalink / raw)
  To: James S; +Cc: parisc-linux

"James S" wrote:
> 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

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

* 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

* Re: [parisc-linux] Power LED
  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  7:19 ` [parisc-linux] Power LED Richard Hirst
  2002-02-15 11:17 ` Thibaut VARENE
  2 siblings, 1 reply; 24+ messages in thread
From: Christian Suder @ 2002-02-15  7:13 UTC (permalink / raw)
  To: James S; +Cc: parisc-linux

On Fri, 15 Feb 2002 02:02:19 -0500
"James S" <smith-james@home.com> wrote:

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

The LED and the powerswitch work as expected on my 712/80 at least since
the 0.9.3 ISO timeframe. I remember the LED was not working at some point
in the past, though,

	Christian 





> 
> Thanks
> 
> James S
> 
> 
> 
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

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

* Re: [parisc-linux] Power LED
  2002-02-15  7:02 [parisc-linux] Power LED James S
  2002-02-15  7:13 ` Christian Suder
@ 2002-02-15  7:19 ` Richard Hirst
  2002-02-15 11:17 ` Thibaut VARENE
  2 siblings, 0 replies; 24+ messages in thread
From: Richard Hirst @ 2002-02-15  7:19 UTC (permalink / raw)
  To: James S; +Cc: parisc-linux

On Fri, Feb 15, 2002 at 02:02:19AM -0500, James S wrote:
> is it possible to hook the power button to the shutdown command like it is
> in hp-ux ?

I was testing a fresh install with 2.4.17-pa23 kernel last night on 712.
When I hit the power button it did a orderly shutdown and then powered
off.  Very nice.

Richard

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

* Re: [parisc-linux] Power LED
  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
  0 siblings, 2 replies; 24+ messages in thread
From: Helge Deller @ 2002-02-15  7:26 UTC (permalink / raw)
  To: Christian Suder, James S; +Cc: parisc-linux

On Friday 15 February 2002 08:13, Christian Suder wrote:
> On Fri, 15 Feb 2002 02:02:19 -0500
> "James S" <smith-james@home.com> wrote:
> > is it possible to hook the power button to the shutdown command like it
> > is in hp-ux ?
>
> The LED and the powerswitch work as expected on my 712/80 at least since
> the 0.9.3 ISO timeframe. 

It depends.
I know the power button works correctly on my c3000 and 715/64. Both
systems shuts down the computer cleanly.
But on another Apollo/50 machine (712/50 or 715/50 - I don't remember) 
pressing the power-button turns off the machine immediately. This is a bug
and should be fixed if possible.

Helge

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

* Re: [parisc-linux] Power LED
  2002-02-15  7:02 [parisc-linux] Power LED James S
  2002-02-15  7:13 ` Christian Suder
  2002-02-15  7:19 ` [parisc-linux] Power LED Richard Hirst
@ 2002-02-15 11:17 ` Thibaut VARENE
  2 siblings, 0 replies; 24+ messages in thread
From: Thibaut VARENE @ 2002-02-15 11:17 UTC (permalink / raw)
  To: James S; +Cc: 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

We had the same problem here, and we solved it as follow:

When in Boot Admin, check the 'chassis' command.
We suppose that Chassis Codes must be turned 'on' so that the LED does 
not go out after booting.


Thibaut VARENE
PA/Linux ESIEE Team
http://www.esiee.fr/puffin

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

* Re: [parisc-linux] Power LED
  2002-02-15  7:26   ` Helge Deller
@ 2002-02-15 12:46     ` Carlos O'Donell Jr.
  2002-02-15 22:45     ` Christoph Plattner
  1 sibling, 0 replies; 24+ messages in thread
From: Carlos O'Donell Jr. @ 2002-02-15 12:46 UTC (permalink / raw)
  To: parisc-linux

> I know the power button works correctly on my c3000 and 715/64. Both
> systems shuts down the computer cleanly.
> But on another Apollo/50 machine (712/50 or 715/50 - I don't remember) 
> pressing the power-button turns off the machine immediately. This is a bug
> and should be fixed if possible.
> 
> Helge
>

The 715/50 Apollo has a hard wired power button, and a full array
of leds on the front to indicate power/heartbeat/rx-tx/disk access.

My 712/60 definatley has a soft button (since I routinely pull
the rear power plug when my "tinkering" causes a kernel crash), 
and the led stays on after booting.

c.

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

* Re: [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
  1 sibling, 0 replies; 24+ messages in thread
From: Christoph Plattner @ 2002-02-15 22:41 UTC (permalink / raw)
  To: James S; +Cc: parisc-linux, grundler

YES !!! The LED is software controlled !

I know, that my LED on the 712/60 flashed, as long as I am in
the PDC boot loader, after booting the OS, the LED stays on,
shutting down the switched off the LED.

I think the LED is normally controlled by the PDC LED control,
where RUN/WARNING/CAUTION/FATAL/.... can be defined, but on the
712 I never tried it. On the E55 I could control the LEDs in this
way, which is definitly different to the 720/730 and to the
machines with LCD.

Bye
Christoph P.


James S wrote:
> 
> this might be a daft question.......
> 
> what causes the power led to go out on the 712 systems ?
> 
> is it software controlled ?
> 
> James S
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

-- 
-------------------------------------------------------
private:	christoph.plattner@gmx.at
company:	christoph.plattner@alcatel.at

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

* Re: [parisc-linux] Power LED
  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
  1 sibling, 1 reply; 24+ messages in thread
From: Christoph Plattner @ 2002-02-15 22:45 UTC (permalink / raw)
  To: Helge Deller; +Cc: Christian Suder, James S, parisc-linux

On the Apollo machine (720/50, 730, etc) the Power-Switch is NOT 
under software control. The switch is simple a "shortcut to ground"
and is a direct input line of the power supply unit (I know this,
because I have troubles with my power supply and studied the electrical
wirering, etc.).

On E55 I also think, that the switch is controlling the power supply
also, as I can switch off at any moment in Linux and HP-UX.

In the 712, the switch is definitly under software control, as the
software can simple ignore it ... and much more...

Bye
Christoph P.


Helge Deller wrote:
> 
> On Friday 15 February 2002 08:13, Christian Suder wrote:
> > On Fri, 15 Feb 2002 02:02:19 -0500
> > "James S" <smith-james@home.com> wrote:
> > > is it possible to hook the power button to the shutdown command like it
> > > is in hp-ux ?
> >
> > The LED and the powerswitch work as expected on my 712/80 at least since
> > the 0.9.3 ISO timeframe.
> 
> It depends.
> I know the power button works correctly on my c3000 and 715/64. Both
> systems shuts down the computer cleanly.
> But on another Apollo/50 machine (712/50 or 715/50 - I don't remember)
> pressing the power-button turns off the machine immediately. This is a bug
> and should be fixed if possible.
> 
> Helge
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

-- 
-------------------------------------------------------
private:	christoph.plattner@gmx.at
company:	christoph.plattner@alcatel.at

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

* [parisc-linux] MySQL Server
  2002-02-15 22:45     ` Christoph Plattner
@ 2002-02-15 23:34       ` Tilo Jandt
  2002-02-16  0:13         ` Helge Deller
  0 siblings, 1 reply; 24+ messages in thread
From: Tilo Jandt @ 2002-02-15 23:34 UTC (permalink / raw)
  To: parisc-linux

Hi,

I've got a problem whe installing the MySQL-server.
Last time when I updated my system with apt-get the MySQL Server should also
be updated but after downloading the File, extracting and preconfigurating
the update proces stopped after "Stopping Mysql-server".
I waited 2 hours but nothing happend. The MySQL couldn't be started and if I
remove the new mysql-server and install the old one with dpkg the same
procedure happens.
Every time after the preconfiguration the install hangs.

I don't know what to do. I cleaned up my system and wan't to new install
MySQL, but everytime the same procedure. Does anyone solved this problem or
does anyone have any idea?

Thanx,
Tilo

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

* Re: [parisc-linux] MySQL Server
  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
  0 siblings, 1 reply; 24+ messages in thread
From: Helge Deller @ 2002-02-16  0:13 UTC (permalink / raw)
  To: Tilo Jandt, parisc-linux

In case you have libc6-2.2.5 installed you might try
to downgrade to libc6-2.2.4-7 again. 
Could be worth a try...

Helge

On Saturday 16 February 2002 00:34, Tilo Jandt wrote:
> Hi,
>
> I've got a problem whe installing the MySQL-server.
> Last time when I updated my system with apt-get the MySQL Server should
> also be updated but after downloading the File, extracting and
> preconfigurating the update proces stopped after "Stopping Mysql-server".
> I waited 2 hours but nothing happend. The MySQL couldn't be started and if
> I remove the new mysql-server and install the old one with dpkg the same
> procedure happens.
> Every time after the preconfiguration the install hangs.
>
> I don't know what to do. I cleaned up my system and wan't to new install
> MySQL, but everytime the same procedure. Does anyone solved this problem or
> does anyone have any idea?
>
> Thanx,
> Tilo

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

* Re: [parisc-linux] MySQL Server
  2002-02-16  0:13         ` Helge Deller
@ 2002-02-16  5:46           ` Jochen Friedrich
  2002-02-26 22:40             ` [parisc-linux] Sound Tilo Jandt
  0 siblings, 1 reply; 24+ messages in thread
From: Jochen Friedrich @ 2002-02-16  5:46 UTC (permalink / raw)
  To: Helge Deller; +Cc: Tilo Jandt, parisc-linux

Hi Helge,

> In case you have libc6-2.2.5 installed you might try
> to downgrade to libc6-2.2.4-7 again.
> Could be worth a try...

the MySQL server never worked for me. With the old libc6, one thread keeps
looping (100% CPU time) and with the new one it simply hangs.

> > Last time when I updated my system with apt-get the MySQL Server should
> > also be updated but after downloading the File, extracting and
> > preconfigurating the update proces stopped after "Stopping Mysql-server".
> > I waited 2 hours but nothing happend. The MySQL couldn't be started and if
> > I remove the new mysql-server and install the old one with dpkg the same
> > procedure happens.
> > Every time after the preconfiguration the install hangs.

rm /var/run/mysqld/mysqld.pid

Cheers,
--jochen

^ 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

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

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

^ 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

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

On Monday 18 February 2002 11:15, Hinrich Aue wrote:
> ------------------------------------------
>
> >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&conte
> >nt-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.

Yes, that's wrong. But you seem to be the only one
who has such problems with 715/new. As I said in another
mail my Scorpio (715/50) machine shuts down immediately too - 
but this machine doesn't support the soft-power switch either.
BTW, which kernel are you using ?

> Also I think it is a bit dangerous if everyone can
> switch of the system, clean or unclean, just by
> pushing the button.

That's right, but that's also the behaviour on Non-ATX PC's.

> Maybe a 5 second push-time would be good (like ATX)
> but with a gracefull shutdown.

That's not that easy.
On some systems the switch will send a key-down signal from
the first press on, independantly if you released the button again or
not. Other machines just send the signal while the button
is down and stops it again if it was released.

That said, this is how I wrote the code. 
In process_shutdown() you'll find:
       /* wait until the button was pressed for 1 second */
        if (shutdown_timer == HZ) {
                static char msg[] = "Shutting down...";
	    printk(KERN_INFO "%s\n", msg);

This means, that the kernel will just shutdown, if you pressed
the button for at least 1 second. You might change that to 5*HZ if
you want the 5 second push-time. 
But, as I said, the kernel can't recognize on some systems if
you have released the button again and so it will always 
time-out and initiate the shutdown request. Your 715/80 seems
to fall into this category of systems.

Regards,
Helge

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

* [parisc-linux] Power LED
  2002-02-18 11:49 ` Helge Deller
@ 2002-02-18 19:29   ` Hinrich Aue
  0 siblings, 0 replies; 24+ messages in thread
From: Hinrich Aue @ 2002-02-18 19:29 UTC (permalink / raw)
  To: parisc-linux

Am Montag, 18. Februar 2002 12:49 schrieben Sie:
> On Monday 18 February 2002 11:15, Hinrich Aue wrote:
> > ------------------------------------------
> >
> > >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&con
> > >te nt-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.
>
> Yes, that's wrong. But you seem to be the only one
> who has such problems with 715/new. As I said in another

Why me?????
That's strange behavior.

> mail my Scorpio (715/50) machine shuts down immediately too -
> but this machine doesn't support the soft-power switch either.
> BTW, which kernel are you using ?

I use 2.4.17-pa26

>
> > Also I think it is a bit dangerous if everyone can
> > switch of the system, clean or unclean, just by
> > pushing the button.
>
> That's right, but that's also the behaviour on Non-ATX PC's.
>
> > Maybe a 5 second push-time would be good (like ATX)
> > but with a gracefull shutdown.
>
> That's not that easy.
> On some systems the switch will send a key-down signal from
> the first press on, independantly if you released the button again or
> not. Other machines just send the signal while the button
> is down and stops it again if it was released.
>
> That said, this is how I wrote the code.
> In process_shutdown() you'll find:
>        /* wait until the button was pressed for 1 second */
>         if (shutdown_timer == HZ) {
>                 static char msg[] = "Shutting down...";
> 	    printk(KERN_INFO "%s\n", msg);
>
> This means, that the kernel will just shutdown, if you pressed
> the button for at least 1 second. You might change that to 5*HZ if
> you want the 5 second push-time.
> But, as I said, the kernel can't recognize on some systems if
> you have released the button again and so it will always
> time-out and initiate the shutdown request. Your 715/80 seems
> to fall into this category of systems.
>
> Regards,
> Helge

Hinrich

^ 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

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

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

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

* [parisc-linux] Sound
  2002-02-16  5:46           ` Jochen Friedrich
@ 2002-02-26 22:40             ` Tilo Jandt
  2002-02-26 22:48               ` andi
  2002-02-26 22:56               ` Matt Taggart
  0 siblings, 2 replies; 24+ messages in thread
From: Tilo Jandt @ 2002-02-26 22:40 UTC (permalink / raw)
  To: parisc-linux

Hi,

does anyone get the Sound on a 712/60 work?
Is it possible to play MP3's using XMMS on this system or is it to hard for
it?
Or doesn't Debian support this soundcard at this time ?

cya,
Tilo

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

* Re: [parisc-linux] Sound
  2002-02-26 22:40             ` [parisc-linux] Sound Tilo Jandt
@ 2002-02-26 22:48               ` andi
  2002-02-26 22:56               ` Matt Taggart
  1 sibling, 0 replies; 24+ messages in thread
From: andi @ 2002-02-26 22:48 UTC (permalink / raw)
  To: Tilo Jandt; +Cc: parisc-linux

On Tue, 2002-02-26 at 23:40, Tilo Jandt wrote:
> Hi,
> 
> does anyone get the Sound on a 712/60 work?
> Is it possible to play MP3's using XMMS on this system or is it to hard for
> it?
> Or doesn't Debian support this soundcard at this time ?

playing mp3s on my 712/60 works fine with xmms and mpg123, the cpu is
powerful enough to handle mp3 decoding.

andi

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

* Re: [parisc-linux] Sound
  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>
  1 sibling, 1 reply; 24+ messages in thread
From: Matt Taggart @ 2002-02-26 22:56 UTC (permalink / raw)
  To: Tilo Jandt; +Cc: parisc-linux

"Tilo Jandt" writes...

> Hi,
> 
> does anyone get the Sound on a 712/60 work?

Yes.

> Is it possible to play MP3's using XMMS on this system or is it to hard for
> it?

Yes, no.

> Or doesn't Debian support this soundcard at this time ?

Yes. You need the harmony driver, which was recently added to defconfig and 
should be in recent pre-build kernels ftp site and kernel-image packages in 
the Debian archive.

-- 
Matt Taggart        Linux Development Lab
taggart@fc.hp.com   HP Linux Systems Operation

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

* Re: [parisc-linux] Sound
       [not found]                 ` <001101c1bf1b$6205bd10$0801a8c0@epsilon>
@ 2002-02-27  0:18                   ` Matt Taggart
  0 siblings, 0 replies; 24+ messages in thread
From: Matt Taggart @ 2002-02-27  0:18 UTC (permalink / raw)
  To: Tilo Jandt; +Cc: parisc-linux

cc'd to the list...

"Tilo Jandt" writes...

> I've got Kernel 2.4.17-pa27.
> How do I install the harmony driver? I'm not so skilled with Debian HPPA and
> don't know what to do.

You need to enable CONFIG_SOUND_HARMONY in the kernel config when you build a 
kernel. If you're using a prebuilt kernel from the ftp site the tarball 
contains the config file it was built with. If you are using

ftp://ftp.parisc-linux.org/kernels/32/32-2.4.17-pa27.tar.gz

that kernel contains the harmony driver and it should just work. I've used 
xmms and mpg321 and they work great.

Good luck,

-- 
Matt Taggart        Linux Development Lab
taggart@fc.hp.com   HP Linux Systems Operation

^ 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