Skip to contentSkip to conversation

case LEDs

parisc-linux Alexandru Pirvulescu 4 participants 6 messages Nov 21, 2000 – Nov 27, 2000

lore
Share & tools
lore
#0 lore raw

Hello

Is there any possibility to activate the case LEDs? I mean the heartbeat and the network activity
I have a A180 machine

Alex

#1 lore raw
Quoted 4 lines · Alexandru Pirvulescu

Hello

Is there any possibility to activate the case LEDs? I mean the heartbeat and the network activity. I have a A180 machine.

Yes.
I was already asked this weekend to dig up technical info on LED and soft power control. I guess this is my reminder to do that. :^)

grant

#2 lore raw
Quoted 3 lines · Grant Grundler

Yes.
I was already asked this weekend to dig up technical info on LED and soft power control. I guess this is my reminder to do that. :^)

Isn't there a PDC call (pdc_chassis?) to do this? Or is the heartbeat LED done by hardware?

- Alex

Signature · 4 lines
Alex deVries, Principal Solutions Architect, The Puffins at Linuxcare
613.562.2759 tel
[email protected], http://www.linuxcare.com/
Linuxcare, Support for the revolution.
#3 lore raw

I think that the heartbeat LED is software because it starts with the kernel boot and if the kernel stops the LED stops
blinking too. Is better to implement a software monitoring tool because you have to watch the software for hanging.

Alex

PS. There is a function in the kernel source in linux/arch/parisc/kernel/process.c named machine_heartbeat(). Any connection with the heartbeat from the chassis?

----- Original Message -----
From: "Alex deVries" <[email protected]>
To: "Grant Grundler" <[email protected]>
Cc: "Alexandru Pirvulescu" <[email protected]>; <[email protected]>
Sent: Wednesday, November 22, 2000 4:27 AM
Subject: Re: [parisc-linux] case LEDs

Quoted 17 lines
Quoted 3 lines · Grant Grundler

Yes.
I was already asked this weekend to dig up technical info on LED and soft power control. I guess this is my reminder to do that. :^)

Isn't there a PDC call (pdc_chassis?) to do this? Or is the heartbeat LED done by hardware?

- Alex

--
Alex deVries, Principal Solutions Architect, The Puffins at Linuxcare 613.562.2759 tel
[email protected], http://www.linuxcare.com/
Linuxcare, Support for the revolution.

#4 lore raw
In reply to Alex deVries
Quoted 9 lines · Alex deVries
Quoted 3 lines · Grant Grundler

Yes.
I was already asked this weekend to dig up technical info on LED and soft power control. I guess this is my reminder to do that. :^)

Isn't there a PDC call (pdc_chassis?) to do this? Or is the heartbeat LED done by hardware?

- Alex

A couple of months ago, I asked the same question, got answer to look in the mkLinux sources. I did, and I think it was a register (outb(0xblabla);).

Wrote a driver (and for WAX, got a Intel Flash 32 EISA running), can't release it now, because of some copyright issues...

Bas

#5 lore raw
In reply to Alex deVries
Quoted 3 lines · Alex deVries
Quoted 2 lines · Grant Grundler

I was already asked this weekend to dig up technical info on LED and soft power control. I guess this is my reminder to do that. :^)

I dug up the info but it's not in a form I'm willing to publishing. However, someone did volunteer to look at this and I've provided them with this info. So it will make into our CVS source tree and get published that way.

Quoted 1 line

Isn't there a PDC call (pdc_chassis?) to do this?

Not AFAICT. PDC_CHASSIS is documented in the pdc32.pdf found on
http://www.parisc-linux.org/documentation.html

But my gut feeling is parisc specific code could make some PDC_CHASSIS calls to set up "sysstat" field (eg initialize, shutdown, run states).

Does anyone know if the chassis codes used by HPUX are published? It would be cool if parisc-linux used the same codes where possible...

Quoted 1 line

Or is the heartbeat LED done by hardware?

Code I've looked at before seems to all do it in software.

grant

Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253