-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PC Engines APU* LED support #2114
Comments
|
Hi @ktk, The led driver nodes should be there for your APU already... And it is easy to operate via shell script: https://www.freebsd.org/cgi/man.cgi?query=led&sektion=4 Cheers, |
|
@fichtner oh great didn't realize that thanks! Will update the posts in the forum accordingly. Also I will try to see if I can port BlinkLED! Will report here as well for reference. |
|
Best way of integrating would be to rewrite the management parts in the MVC framework. That would automatically provide an API for future use... :) https://docs.opnsense.org/development/examples/helloworld.html |
|
@fichtner tnx will check that out! |
|
@fichtner just checked on 17.7, I only see: |
|
I don't think the drivers disappeared, but seeing igb* maybe the new APU leds are not found... I have to check on Monday on an old APU1 to see if they are available there, ok? |
|
@fichtner sure thanks! |
|
please ping me when I'm slacking off :) |
|
Also having an APU1 board so I can check for /dev/led as well |
|
there is no led on APU1d4 (release: OPNsense 17.7.12-amd64, FreeBSD 11.0-RELEASE-p17): |
|
Same issue here... so that is really an issue with all APUs.... I'll take a look at the apuled integration. |
|
Here's what worked for me on the APU.2C2 via the serial port: After login, go to the shell (8), then: blinks the LED for igb0. To turn it off: |
|
@seamusdemora interesting, on what version are you? |
|
Hi all, we have support for PC Engine APU leds and hidden front button control. |
|
Patch to src: Additional port: Patch into core: You can see how it really works on this video |
|
And in addition about daemon: |
|
@seamusdemora I mean three green LEDs and small button on front of APU. You tried blink orange LED on RJ45 conneсtor. |
|
Ah! So sorry... my APU faces me connector-forward... I forget that there are actually LEDs on the other side :P |
|
If our solution is suitable for opnsense mainstream, we can make pull-requests. |
Unless I missed something it looks like OPNsense does not include default support for onboard LEDs on PC Engines APU* boards.
It looks like there is a kernel module available for them called apuled. According to the FreeBSD issue it supports APU1, APU2 and APU3.
Would be great if this could be shipped/included in the default configuration for serial builds so one can enable it. On ALIX boards/pfsense a popular package was BlinkLED, which would probably easy to re-implement once I have the LEDs available.
Thanks for the awesome work!
The text was updated successfully, but these errors were encountered: