SGI: Development

sgi_led: Control your front panel LED

I threw together a quick little set of utilities and thought someone might want them, for what I dunno, but have fun with them. They turn the LED on the front of your workstation amber or back to green.

Code: Select all

ledon   turn the red/amber led on (green off).
ledoff  turn the red/amber led off (green on).
setled  both functions in one - use setled 0 for off, settled 1 for on.


Source is included. Inspired by sgi-heartbeat.tar.gz

https://github.com/jpbot/sgi_led

binary and source attached.
:O3000: :Fuel: :Tezro: :Octane2: :Octane: :Indigo: :Indigo: :Indigo: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: <--challenge S
Brilliant, works a treat, my green led is dead, so now my octane looks like a Cylon! Thanks
-----------------------------------------------------------------------
Hey Ho! Pip & Dandy!
:O2: :1600SW: :O2: :1600SW: :Octane2: :1600SW: :1600SW: :Octane2: :Octane: :Indy: :540:
Hmm. Might have to see if this can be modified for Fuel.
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Hmm. Might have to see if this can be modified for Fuel.
I haven's tried it on my fuel, but it works on my tezro, although you have to be root - no error message is printed if the access is denied.
Wow fancy package.

I didn't mention that I tested this really only on my Octane2, but it should work with most workstation systems. Big Iron might not have a LED, or it might be different than the usual power light style of the workstations.

I did just try it on my Challenge S here and it worked fine. Even logged in as guest. I wouldn't be surprised if you had to be root, but at least on that machine it wasn't necessary.

The man page for syssgi doesn't mention anything specific either.
:O3000: :Fuel: :Tezro: :Octane2: :Octane: :Indigo: :Indigo: :Indigo: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: <--challenge S
Wow! Nice! It does work for Fuel. Turns on red led in blinking mode.
:O2: :Octane2: :Fuel: