[Soekris] Operation of the error LED on a net4801

Stuart Henderson stu at spacehopper.org
Sun Jul 2 23:20:37 UTC 2006


On 2006/07/02 23:34, Adam Egan wrote:
> Sorry if this is a bit of a simple question, but I was just wondering
> if anybody could explain to me how it is that the error LED can be
> controlled from within software? I want to write a C program which
> will be able to activate the LED under certain conditions. Bearing in
> mind I'm not the best coder in the world, can somebody please give me
> an idea of how to go about doing this?

It's on a gpio line, some OS have support for using it without
even C programming (e.g. gpioctl in OpenBSD, /dev/led/error in FreeBSD)



More information about the Soekris-tech mailing list