OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • APU LEDs Plugin
« previous next »
  • Print
Pages: 1 [2] 3

Author Topic: APU LEDs Plugin  (Read 24007 times)

rcmcronny

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
    • View Profile
Re: APU LEDs Plugin
« Reply #15 on: March 19, 2019, 07:41:12 pm »
So simple :) Thanks.

Works perfectly, reboot test, will be done with the next update :P

Ronny


The short text version is for version 1.0:

Install Package:
Code: [Select]
pkg add https://github.com/cloudfence/dev-packages/raw/master/os-apuled-1.0.txz
Then add the minute cron refresh for APULED, Apply and finish

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: APU LEDs Plugin
« Reply #16 on: March 20, 2019, 10:15:16 pm »
Hey Julio,

Neat, do you want to do a PR against our plugins for inclusion? I'm sure there's a bit of work and discussion coming up but it's better than a compiled daemon so ideally we should go for merging this simple script instead. :)


Cheers,
Franco
Logged

juliocbc

  • Sr. Member
  • ****
  • Posts: 336
  • Karma: 12
    • View Profile
    • Cloudfence
Re: APU LEDs Plugin
« Reply #17 on: March 21, 2019, 11:21:09 am »
Hi Franco!

Sure! Done!

https://github.com/opnsense/plugins/pull/1269

Cheers!
« Last Edit: March 21, 2019, 11:55:16 am by juliocbc »
Logged
Cloudfence Open Source Team

Ricardo

  • Full Member
  • ***
  • Posts: 233
  • Karma: 12
    • View Profile
Re: APU LEDs Plugin
« Reply #18 on: July 13, 2019, 11:19:41 am »
(Reminder for myself)
Logged

KoS

  • Newbie
  • *
  • Posts: 34
  • Karma: 2
    • View Profile
Re: APU LEDs Plugin
« Reply #19 on: April 05, 2020, 11:04:24 pm »
Hi Franco

I assume the APULED plugin should show up on my OPNsense 20.1.3 plugin page as I can see it in the 20.1 repo (https://github.com/opnsense/plugins/tree/stable/20.1)? Or where can I see which are the "current" plugins available for 20.1.3 ?

Kind regards
 KoS
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: APU LEDs Plugin
« Reply #20 on: April 06, 2020, 12:29:28 pm »
os-apuled is still in development mode due to missing community feedback.

# pkg install os-apuled-devel


Cheers,
Franco
Logged

KoS

  • Newbie
  • *
  • Posts: 34
  • Karma: 2
    • View Profile
Re: APU LEDs Plugin
« Reply #21 on: April 06, 2020, 02:29:22 pm »
Thank you Franco. I'll try it.

Is there a way to see which of the plugins are in the normal repo and which are only available as dev?
I am new to OPNsense and haven't found it yet. e.g. something like http://packages.debian.org/).

How/where shall I provide feedback on the plugin? github? create a new issue on github?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: APU LEDs Plugin
« Reply #22 on: April 06, 2020, 02:54:34 pm »
Feedback anywhere is nice, just let us know you're using the plugin successfully and want to have it released. :)

I added the "(development only)" notes to https://github.com/opnsense/plugins#a-list-of-currently-available-plugins


Cheers,
Franco
Logged

KoS

  • Newbie
  • *
  • Posts: 34
  • Karma: 2
    • View Profile
Re: APU LEDs Plugin
« Reply #23 on: April 18, 2020, 05:55:12 pm »
I am using the plugin successfully :-)

FYI, due to a change in the APU Bios I had to add the line
Code: [Select]
debug.acpi.avoid="\_SB_.PCI0.GPIO" to loader.conf to make the general APULED module work again.
(see https://github.com/opnsense/core/issues/2114#issuecomment-609365754 and https://github.com/pcengines/coreboot/issues/329#issuecomment-526217280)
-> It survived the OPNsense upgrade from 20.1.3 to 20.1.4

I want to do changes on the module, e.g. I would suggest to have the 1st LED always blinking to have "heartbeat", as I had in the past APU boards that freezed and if the LED is always on, you would not notice that the device got stuck. Should I "pre-discuss" it somewhere or just provide a pull-request in Github?
Logged

juliocbc

  • Sr. Member
  • ****
  • Posts: 336
  • Karma: 12
    • View Profile
    • Cloudfence
Re: APU LEDs Plugin
« Reply #24 on: April 29, 2020, 01:53:01 pm »
Hi kos!

Thank you!

I think you can submit a PR on the Github: https://github.com/opnsense/plugins/pulls
Logged
Cloudfence Open Source Team

Ricardo

  • Full Member
  • ***
  • Posts: 233
  • Karma: 12
    • View Profile
Re: APU LEDs Plugin
« Reply #25 on: June 19, 2020, 01:34:25 pm »
Quote from: KoS on April 18, 2020, 05:55:12 pm
I am using the plugin successfully :-)

FYI, due to a change in the APU Bios I had to add the line
Code: [Select]
debug.acpi.avoid="\_SB_.PCI0.GPIO" to loader.conf to make the general APULED module work again.
(see https://github.com/opnsense/core/issues/2114#issuecomment-609365754 and https://github.com/pcengines/coreboot/issues/329#issuecomment-526217280)
-> It survived the OPNsense upgrade from 20.1.3 to 20.1.4

I want to do changes on the module, e.g. I would suggest to have the 1st LED always blinking to have "heartbeat", as I had in the past APU boards that freezed and if the LED is always on, you would not notice that the device got stuck. Should I "pre-discuss" it somewhere or just provide a pull-request in Github?

That is a long running story, unfortunately with no result. Somebody demoed a youtube video that it works under linux. But under Freebsd i think it was never done.
Logged

guest30486

  • Guest
Re: APU LEDs Plugin
« Reply #26 on: September 27, 2021, 01:27:01 pm »
Do LEDs work with the 21.7 version and apu4d4?
Logged

senser

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
    • View Profile
Re: APU LEDs Plugin
« Reply #27 on: November 05, 2021, 06:41:43 pm »
Works for me on OPNsense 21.7.4-amd64. But under plugins it sais the plugin is (misconfigured).
Logged

firedog

  • Newbie
  • *
  • Posts: 2
  • Karma: 1
    • View Profile
Re: APU LEDs Plugin
« Reply #28 on: March 03, 2023, 11:48:55 am »
Hi,

sorry for chiming in,

Quote from: juliocbc on November 08, 2018, 03:16:10 am
I made a simple plugin to get APUs boxes more shiny!

I've compiled the LED's module from this source code: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189772

I know that isn't a good idea to put a binary (compiled) in a plugin package, but I don't know exactly how put this module with the plugin yet... maybe build a custom port and put it as plugin dependence... Anyway ideas are very welcome!

did you succeed to compile that source code against freeBSD 14 current? If yes would you be so kind and make the binary available?

Thank you and have a nice day,
firedog
Logged
Never change a running system ;-)

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: APU LEDs Plugin
« Reply #29 on: March 03, 2023, 11:55:30 am »
It has been included in OPNsense for ages.


Cheers,
Franco
Logged

  • Print
Pages: 1 [2] 3
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • APU LEDs Plugin
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2