[Soekris] Error light?
phk at phk.freebsd.dk
Tue Aug 12 19:54:24 UTC 2003
In message <62B9481C-CCFC-11D7-9ADB-00039340D834 at snurkle.net>, Steven Ball writ
>I am trying to figure out how to control the error light on a net4511.
>The docs say to refer to the AMD docs, and I couldn't find anything
>useful in those docs. It would be advantageous to me to be able to
>turn this light on from software so that I could indicate a problem
>without having to log into the unit.
>Does anyone have code that does this or some pointers?
There already is a device driver in FreeBSD for doing this:
echo 1 > /dev/soekris-errled
If you're not running FreeBSD, you can find the necessary info
in the src/sys/i386/i386/elan-mmcr.c source file in a FreeBSD
source tree near you. I can't remember the details of the top
of my head.
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the Soekris-tech