History log of /openbmc/phosphor-led-manager/manager/lamptest/ (Results 1 – 11 of 11)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
94e894cb17-Jun-2024 Manojkiran Eda <manojkiran.eda@gmail.com>

Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://githu

Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://github.com/codespell-project/codespell

Change-Id: I3a5360efb5b6a71d5eabb557accf939cd6abc864
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>

show more ...

e3515c7115-Oct-2022 Sunny Srivastava <sunnsr25@in.ibm.com>

Reset lamps after reboot

In case lamp test has been triggered and reboot takes place,
even after reboot the lamps are found to be in the on state.

The commit switches off the lamps in case such sit

Reset lamps after reboot

In case lamp test has been triggered and reboot takes place,
even after reboot the lamps are found to be in the on state.

The commit switches off the lamps in case such situation is
found and restores the LEDs to the state in which they were
before lamp test was triggered.

Change-Id: I3d199b7066751e89bd6faffc38af3e36877ca003
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>

show more ...

180090cf10-Oct-2022 PriyangaRamasamy <priyanga24@in.ibm.com>

Resolve issues in lamp test feature

This commit implements the following changes in lamp test

1. Reset lamp test timer on assert to assert case
2. Reject stopping lamp test when there is a request

Resolve issues in lamp test feature

This commit implements the following changes in lamp test

1. Reset lamp test timer on assert to assert case
2. Reject stopping lamp test when there is a request to
deassert lamp test.

Test:
Case 1: Start lamp test (False to True).
Result: 4mins of lamp test execution and Asserted is set back to
false after 4mins.

Case 2: Stop lamp test (False to False).
Result: Lamp test is not performed and Asserted remains false.

Case 3: Stop request when lamp test is still on (True to false)
Result: Stop request not allowed and lamp test continues to execute.
Asserted stays true until the lamp test ends.

Case 4: Retrigger lamp test (True to True).
Result: 4mins timer restarts. Asserted should be back to false after
4mins.

Change-Id: Ib6086f223d5c5ce80b872ed5f35645893ce79cf9
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>

show more ...

605600eb20-Oct-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: Ie509bd0c9f5a19db463c4bb51ede752e778439b3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

1f0b715a17-Jul-2023 George Liu <liuxiwei@inspur.com>

Use the lower camel case of the C++ standard

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ied901f0cc7cc6606e199dad0e31a35f838c32ab9

785f505417-Jul-2023 George Liu <liuxiwei@inspur.com>

lamp test: Fix calling GetSubTreePaths method

The caller should catch the exception when calling the
GetSubTreePaths method to prevent the process coredump

Signed-off-by: George Liu <liuxiwei@inspu

lamp test: Fix calling GetSubTreePaths method

The caller should catch the exception when calling the
GetSubTreePaths method to prevent the process coredump

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I5bd8adb6191fa7f61dabd8be18b1753f4c65c2c5

show more ...

857da38310-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I918b0a2e9d18c9810ee2940dbe78072754c75a94
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

3e073ba622-Jul-2022 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: use shorter type aliases

The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are

sdbusplus: use shorter type aliases

The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are for:
* bus_t
* exception_t
* manager_t
* match_t
* message_t
* object_t
* slot_t

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I223d58649a21565678bd7ef78d955b30d3fd6d84

show more ...

158b2c1417-Mar-2022 Patrick Williams <patrick@stwcx.xyz>

led-layout: use common types everywhere

Rather than scattered map and set typedefs, centralize the two common
structures into 'ledlayout.hpp': ActionSet, GroupMap. Use them
everywhere where previou

led-layout: use common types everywhere

Rather than scattered map and set typedefs, centralize the two common
structures into 'ledlayout.hpp': ActionSet, GroupMap. Use them
everywhere where previous raw maps and sets were used.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0ed5203146a6486a49caf4000f545ded0088dc15

show more ...

ed80e88517-Mar-2022 Patrick Williams <patrick@stwcx.xyz>

action: use PDI type

Rather than define our own enumeration for the LED Actions,
reuse the one from Led.Physical's dbus interface.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I46

action: use PDI type

Rather than define our own enumeration for the LED Actions,
reuse the one from Led.Physical's dbus interface.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4615bed9e87c61d2632fe790bd50892a7f51e2ab

show more ...

953315d216-Mar-2022 Patrick Williams <patrick@stwcx.xyz>

manager: move code to subdirectory

The root has become pretty cluttered. Move code for the primary
manager application to a subdirectory.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change

manager: move code to subdirectory

The root has become pretty cluttered. Move code for the primary
manager application to a subdirectory.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8503cf08c72750c88a5ce94a4d94671d6b59aafb

show more ...


/openbmc/phosphor-led-manager/.clang-format
/openbmc/phosphor-led-manager/.eslintignore
/openbmc/phosphor-led-manager/.gitignore
/openbmc/phosphor-led-manager/.shellcheck
/openbmc/phosphor-led-manager/LICENSE
/openbmc/phosphor-led-manager/MAINTAINERS
/openbmc/phosphor-led-manager/OWNERS
/openbmc/phosphor-led-manager/configs/ibm,everest/led-group-config.json
/openbmc/phosphor-led-manager/configs/ibm,rainier-1s4u/led-group-config.json
/openbmc/phosphor-led-manager/configs/ibm,rainier-2u/led-group-config.json
/openbmc/phosphor-led-manager/configs/ibm,rainier-4u/led-group-config.json
/openbmc/phosphor-led-manager/example/lamp-test/lamp-test-led-overrides.json
/openbmc/phosphor-led-manager/example/led-group-config.json
/openbmc/phosphor-led-manager/fault-monitor/fru-fault-monitor.cpp
/openbmc/phosphor-led-manager/fault-monitor/fru-fault-monitor.hpp
/openbmc/phosphor-led-manager/fault-monitor/meson.build
/openbmc/phosphor-led-manager/fault-monitor/monitor-main.cpp
/openbmc/phosphor-led-manager/fault-monitor/operational-status-monitor.cpp
/openbmc/phosphor-led-manager/fault-monitor/operational-status-monitor.hpp
/openbmc/phosphor-led-manager/led.yaml
/openbmc/phosphor-led-manager/manager/group.cpp
/openbmc/phosphor-led-manager/manager/group.hpp
/openbmc/phosphor-led-manager/manager/json-config.hpp
/openbmc/phosphor-led-manager/manager/json-parser.hpp
lamptest.cpp
lamptest.hpp
/openbmc/phosphor-led-manager/manager/led-main.cpp
/openbmc/phosphor-led-manager/manager/ledlayout.hpp
/openbmc/phosphor-led-manager/manager/manager.cpp
/openbmc/phosphor-led-manager/manager/manager.hpp
/openbmc/phosphor-led-manager/manager/meson.build
/openbmc/phosphor-led-manager/manager/serialize.cpp
/openbmc/phosphor-led-manager/manager/serialize.hpp
/openbmc/phosphor-led-manager/meson.build
/openbmc/phosphor-led-manager/meson_options.txt
/openbmc/phosphor-led-manager/scripts/led-set-all-groups-asserted.sh
/openbmc/phosphor-led-manager/scripts/parse_led.py
/openbmc/phosphor-led-manager/subprojects/cereal.wrap
/openbmc/phosphor-led-manager/subprojects/googletest.wrap
/openbmc/phosphor-led-manager/subprojects/nlohmann.wrap
/openbmc/phosphor-led-manager/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-led-manager/subprojects/phosphor-logging.wrap
/openbmc/phosphor-led-manager/subprojects/sdbusplus.wrap
/openbmc/phosphor-led-manager/subprojects/sdeventplus.wrap
/openbmc/phosphor-led-manager/test/config/led-group-config-malformed.json
/openbmc/phosphor-led-manager/test/config/led-group-config.json
/openbmc/phosphor-led-manager/test/led-test-map.hpp
/openbmc/phosphor-led-manager/test/meson.build
/openbmc/phosphor-led-manager/test/utest-led-json.cpp
/openbmc/phosphor-led-manager/test/utest-serialize.cpp
/openbmc/phosphor-led-manager/test/utest.cpp
/openbmc/phosphor-led-manager/utils.cpp
/openbmc/phosphor-led-manager/utils.hpp