service_stop is a legacy function and it should never be used with
procd services which are automatically stopped by /etc/rc.common
Also remove unnecessary boot() which just runs the "start" function.
The tr command does not take regular expressions and should not be
used with ranges such as [a-z] which furthermore can cause issues if
unquoted as they are interpreted by the shell.
-------------------------------------------------------------------------------
* 15ba90f Add support for external LED application.
* da6eb1d Add functionality to change default brightness for SK9822 LEDs.
-------------------------------------------------------------------------------
commit 15ba90f01914113e7c5e8f8a6df6279c882e8265
Author: Markus Gothe <markus.gothe@genexis.eu>
Date: 2021-05-11 09:52:55 +0200
Add support for external LED application.
Add support for a callback script/application to control LEDs.
This commits adds the ability to control a LED via an external application.
The API is simple and is described in
'iopsys-brcm63xx-arm/tiger/base-files/sbin/external_led_ctrl.sh'.
To avoid unnecessary execution of the callback-script, logic has been added
to keep track on when to update the LEDs.
Base directory -> /
src/gpio_led.c | 133 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 132 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit da6eb1d6c0fd03d45cbf5213acd5c2ff07b45bf5
Author: Markus Gothe <markus.gothe@genexis.eu>
Date: 2021-05-11 09:40:00 +0200
Add functionality to change default brightness for SK9822 LEDs.
This commit adds the 'sk9822_brightness_file' option. The option can be used
to adjust the default maximum brightness for the SK9822 LED driver.
Base directory -> /
src/gpio_led.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
As Broadcom has moved to standard interfaces, peripheral_manager no
longer depends on Broadcom headers or executables.
Remove the dependency and preprocessor options.
-------------------------------------------------------------------------------
* d9c2222 Revert "If state is the same as what has already been applied, don't do"
-------------------------------------------------------------------------------
commit d9c22221f6cb414126978c92295fdcc0885e3285
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2021-03-23 17:24:33 +0100
Revert "If state is the same as what has already been applied, don't do"
This reverts commit 4763b55173a50c572ef91ae4c9889d37200a3997.
Base directory -> /
src/gpio_led.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
-------------------------------------------------------------------------------
K99umount has been moved to K90umount as of OpenWrt 19.07, to make
room for init scripts that may need to run after umount. We need to
stop all services before unmounting the filesystems. The stop()
function is dead code when procd is being used and can be removed.
-------------------------------------------------------------------------------
* 4763b55 If state is the same as what has already been applied, don't do anything.
* 27b0656 sk9822: Add brightness capability
* 44a458c Add advanced LED indicators for button-press
-------------------------------------------------------------------------------
commit 4763b55173a50c572ef91ae4c9889d37200a3997
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2021-02-19 13:15:03 +0100
If state is the same as what has already been applied, don't do anything.
This is a workaround for a bug in the Broadcom CLED driver which causes
flickering of LED:s when brightness is repeatedly set.
Base directory -> /
src/gpio_led.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 27b06566339f22ec0fdc3c71bb9e45c7b22cad86
Author: Markus Gothe <markus.gothe@genexis.eu>
Date: 2021-01-29 10:38:07 +0100
sk9822: Add brightness capability
When using the sk9822 interface we can set the brightness via an updated
kernel module.
This commit adds support for using the updated API.
Base directory -> /
src/gpio_led.c | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 44a458c77543da8f7b97cc5e7c11fa16b986831e
Author: Markus Gothe <markus.gothe@genexis.eu>
Date: 2021-01-29 10:42:27 +0100
Add advanced LED indicators for button-press
On some products it's necessary to disable the button indicators for certain
buttons or only enable a short-press indicator when the long-press event
occurs.
This commit adds a third state to solve this as well as options to disable
the press indicators for a specific button.
Base directory -> /
src/button.c | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* c1598f9 added support for Linux LED
-------------------------------------------------------------------------------
commit c1598f9dc8f2d67fbfcfd831052f40b3cde3d19c
Author: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: 2019-04-12 14:11:06 +0200
added support for Linux LED
Base directory -> /
src/gpio_led.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 74 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* 5eaa810 Prevent adding the same button twice.
* d9307f7 if config read from /lib/db/config/hw then do not allow any changes.
* a930a09 Read button config from two places.
-------------------------------------------------------------------------------
commit 5eaa810747ec7c130df2a2e6ac3a1df664c8f06b
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-26 19:02:20 +0200
Prevent adding the same button twice.
Base directory -> /
src/button.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit d9307f796d8b30170fdff7451c4efc35ed3cd428
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-26 18:54:53 +0200
if config read from /lib/db/config/hw then do not allow any changes.
Base directory -> /
src/button.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit a930a095a0f2f4a338de846fd5a01de609588365
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-09-26 18:40:05 +0200
Read button config from two places.
First read /lib/db/config/hw then /etc/config/button
Base directory -> /
src/button.c | 317 ++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 182 insertions(+), 135 deletions(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* a9e0b8e wlctl needs to have the interface as argument.
-------------------------------------------------------------------------------
commit a9e0b8ea80511ef16ef71c59412bcd9b90beb7fe
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-06-09 16:54:25 +0200
wlctl needs to have the interface as argument.
On systems with multiple wifi chips we need to specify what chip the led is
connected to.
Also fix an issue with address could only be 0-9 and we need 0-31.
Base directory -> /
src/wlctl_led.c | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------