APU2C4 LEDs
-
pfSense: 2.5.2-RELEASE (amd64)
System: APU2C4apuled0: <APU2> at iomem 0xfed81610-0xfed8161b,0xfed81664-0xfed81667 on isa0 [2.5.2-RELEASE][root@pfSense]/root: ls /dev/led led1 led2 led3
Situation: LEDs not useful anymore
In versions prior to 2.5.x one could use the LEDs to show various information. I set up mine to show the gateway status. In case something went wrong with the internet access, i asked employees on the remote site to tell me the status of the LEDs.
Question: Is it possible to restore that functionality in any way? Or make use of the LEDs again at all?
-
@aweidner said in APU2C4 LEDs:
I set up mine to show the gateway status.
How did you do that?
What BIOS Version (APU) do you use? What apuled driver do you use?
Regards,
fireodo -
The driver came from here: https://github.com/pcengines/apu2-documentation/issues/250
Sorry, forgot the BIOS info.
[2.5.2-RELEASE][root@pfSense]/root: dmidecode|grep -i bios SMBIOS 2.7 present. BIOS Information BIOS is upgradeable BIOS Revision: 4.0
-
@aweidner said in APU2C4 LEDs:
The driver came from here: [githubmate]
OK, thats the right driver for freebsd 12.x
Sorry, forgot the BIOS info.
BIOS Revision: 4.0If the BIOS is greater then v4.9.0.7 - the Apuled driver dont work anymore. (even with use of
debug.acpi.avoid="\_SB_.PCI0.GPIO"
in loader.conf.local)
-
I swapped out your link for the real pcengines github site. I have no idea what 'githubmate' is but it looks like a pure spam wrapper.
So the issue here is that the driver is not included or that the gwled package is no longer built?
Steve
-
@stephenw10 said in APU2C4 LEDs:
I swapped out your link for the real pcengines github site. I have no idea what 'githubmate' is but it looks like a pure spam wrapper.
Thank you, i was not aware of that.
So the issue here is that the driver is not included or that the gwled package is no longer built?
Steve
Both i guess.
The inclusion of the driver would be helpful for a start. One could always script something that makes use of the LEDs.
GWLED was handy, because you could configure it through the menu system.
-
Hmm, well if the driver is included upstream that might be something relatively easy to include. If it's not that's unlikely to happen though. Let me see what's happening there...
-
@stephenw10 said in APU2C4 LEDs:
Hmm, well if the driver is included upstream that might be something relatively easy to include. If it's not that's unlikely to happen though. Let me see what's happening there...
The driver sourcecode can be found here: Apuled Source
-
Where is that referenced? There a discussion thread somewhere?
-
-
Mmm, so two drivers available causing some conflict in which way to go....
I would not expect to see this in pfSense at least until one of those is accepted upstream in FreeBSD.
Steve
-
Yes, there are many opinions there. The driver I compiled from source is, in my case, in use with scripts based on "echo" and "morse" so no big deal.