Control SG-4860 status LED?
Is there a way to control/set the status LED on the Netgate SG-4860?
I would like to be able to set the color of this LED from command line.
Does anyone have any ideas? Is this LED tied to a something that can be set manually?
It is controllable. pfSense flashes if it detects the config reset button at boot.
It's connected on GPIO pins 15 and 17 on the SoC. You can set it red with 15, green with 17 or orange with both.
There is no user code included to do that though.
I did have something at one time... no idea if it still works.
@stephenw10 Thanks for the reply.
Is there some documentation on the SoC and how I might control GPIO pins?
We are running ubuntu 16.04 (linux).
You should update!
I've never tried in Linux. I would probably start looking at OpenWRT where they have a bunch of LED control code. Back when I first started looking at this I used lcdproc as a reference where it was bit banging on the parallel port.
The actual code I previously used was very similar to this:
Though I don't recommend anyone uses my terrible code!
The gpiobase for C2K is 0x500. You can get those details from the Intel docs.
This post is deleted!