Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
APU2C4 - Usage of the onboard LEDs
« previous
next »
Print
Pages: [
1
]
Author
Topic: APU2C4 - Usage of the onboard LEDs (Read 5433 times)
thowe
Jr. Member
Posts: 90
Karma: 11
Open Source can do a lot.
APU2C4 - Usage of the onboard LEDs
«
on:
September 06, 2017, 09:32:45 pm »
Hello everybody
I have assembled an APU2C4 from PC Engines in a nice red case and have successfully installed OPNsense 17.7.1.
Everything went smooth. System is up an running just perfect. An ideal combination - quality hardware with quality software. Thanks to everybody making this possible.
The APU has 3 LEDs on its front. One is showing power status. But the two other LEDs remain dark/unuesed. These could be used e.g. for warnings, gateway status etc. I could not find any information about the usage of the LEDs.
Is there a way to use the LEDs in OPNsense?
Thanks
Thomas
Logged
System 1: PC Engines APU2C4
System 2: PC Engines APU2E4
System 3: Proxmox-VM on Intel NUC
Alphabet Soup
Newbie
Posts: 47
Karma: 7
Re: APU2C4 - Usage of the onboard LEDs
«
Reply #1 on:
September 07, 2017, 02:26:55 am »
FreeBSD 11.0 (which the current OPNsense is built on) has support for the NIC LEDs (/dev/led/igb[0-2]); that's in the generic kernel. See 'man led' for what characters you can write to them.
I don't think the LEDs you're interested in have built-in support, as of FreeBSD 11.0 anyway.
See this forum thread for homemade drivers:
APU2 LED/switch driver for FreeBSD?
http://www.pcengines.info/forums/?page=post&id=F5BBF3CB-CFFF-4B03-B377-2E61055008EB
Once you've got either of the drivers mentioned in that thread working, you will have to figure out how/where to tweak OPNsense to do something useful with it.
Logged
ktk
Newbie
Posts: 13
Karma: 3
Re: APU2C4 - Usage of the onboard LEDs
«
Reply #2 on:
January 20, 2018, 11:03:07 am »
FYI I created an issue and asked if the FreeBSD driver could be included in OPNsense:
https://github.com/opnsense/core/issues/2114
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
APU2C4 - Usage of the onboard LEDs