/openbmc/phosphor-led-manager/test/ |
H A D | utest.cpp | 1 #include "led-test-map.hpp" 2 #include "manager.hpp" 10 using namespace phosphor::led; 22 /** @brief Assert Single LED to On */ 25 Manager manager(bus, singleLedOn); in TEST_F() local 34 manager.setGroupState(group, true, ledsAssert, ledsDeAssert); in TEST_F() 39 {"One", phosphor::led::Layout::Action::On, 0, 0, in TEST_F() 40 phosphor::led::Layout::Action::Blink}, in TEST_F() 54 /** @brief Assert Single LED to Blink */ 57 Manager manager(bus, singleLedBlink); in TEST_F() local [all …]
|
H A D | utest-group-priority.cpp | 2 #include "manager.hpp" 5 #include <xyz/openbmc_project/Led/Physical/server.hpp> 11 using namespace phosphor::led; 34 static const phosphor::led::GroupMap groups1 = { 52 Manager manager(bus, groups1); in TEST_F() local 62 phosphor::led::Manager::getNewMap(assertedGroups); in TEST_F() 70 static const phosphor::led::GroupMap groups2 = { 94 Manager manager(bus, groups2); in TEST_F() local 110 phosphor::led::Manager::getNewMap(assertedGroups); in TEST_F() 145 static const phosphor::led::GroupMap groups_ocp_6_1_power_control = { in TEST_F() [all …]
|
/openbmc/phosphor-led-manager/manager/ |
H A D | led-main.cpp | 6 #include "json-parser.hpp" 8 #include "led-gen.hpp" 10 #include "config-validator.hpp" 11 #include "manager.hpp" 27 CLI::App app("phosphor-led-manager"); in main() 31 app.add_option("-c,--config", configFile, "Path to JSON config"); in main() 39 /** @brief Dbus constructs used by LED Group manager */ in main() 40 auto& bus = phosphor::led::utils::DBusHandler::getBus(); in main() 46 phosphor::led::validateConfigV1(systemLedMap); in main() 48 /** @brief Group manager object */ in main() [all …]
|
H A D | manager.hpp | 18 namespace phosphor namespace 20 namespace led namespace 22 using namespace phosphor::led::utils; 24 static constexpr auto phyLedPath = "/xyz/openbmc_project/led/physical/"; 25 static constexpr auto phyLedIntf = "xyz.openbmc_project.Led.Physical"; 27 /** @class Manager 30 class Manager class 33 /** @brief Only need the default Manager */ 34 Manager() = delete; 35 ~Manager() = default; [all …]
|
H A D | meson.build | 3 'led-main.cpp', 4 'manager.cpp', 7 'config-validator.cpp', 10 if get_option('use-json').disabled() 12 'led-gen.hpp', 16 '-i', 18 '-o', 21 output: 'led-gen.hpp', 26 if get_option('use-lamp-test').allowed() 29 '/xyz/openbmc_project/led/groups/lamp_test', [all …]
|
/openbmc/docs/architecture/ |
H A D | LED-architecture.md | 1 # LED Support for OpenBMC 3 This document describes how to add LED support for your machine based upon the 4 OpenBMC [LED Architecture][led d-bus readme] document. LED group management is 8 ## D-Bus 11 Service xyx.openbmc_project.LED.GroupManager 12 Path /xyz/openbmc_project/led/groups/<label> 13 Interfaces xyz.openbmc_project.Led.Group 22 PUT /xyz/openbmc_project/led/groups/<group>/attr/Asserted 25 The LED group state can be changed by setting the Asserted value to boolean 0 29 curl -b cjar -k -X PUT -H "Content-Type: application/json" -d '{"data": 1}' \ [all …]
|
/openbmc/openbmc/meta-fii/meta-mori/recipes-phosphor/leds/ |
H A D | mori-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for mori" 2 LICENSE = "Apache-2.0" 3 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 4 PROVIDES:append = " virtual/phosphor-led-manager-config-native" 7 SRC_URI = "file://led.yaml" 14 # Overwrite the example led layout yaml file prior 15 # to building the phosphor-led-manager package 18 DEST=${D}${datadir}/phosphor-led-manager 19 install -D ${SRC}/led.yaml ${DEST}/led.yaml 22 FILES:${PN}:append = " ${datadir}/phosphor-led-manager/led.yaml"
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/leds/ |
H A D | phosphor-led-manager-config-example-native_git.bb | 1 SUMMARY = "Phosphor LED Group Management with example data" 2 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 # Copies example led layout yaml file 13 DEST=${D}${datadir}/phosphor-led-manager 14 install -D ${SRC}/led.yaml ${DEST}/led.yaml 17 require phosphor-led-manager.inc
|
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-phosphor/leds/ |
H A D | rx20-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for VEGMAN-Rx20" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 SRC_URI += "file://led.yaml" 14 # Overwrite the example led layout yaml file prior 15 # to building the phosphor-led-manager package 18 DEST=${D}${datadir}/phosphor-led-manager 19 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
H A D | vegman-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for VEGMAN" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 SRC_URI += "file://led.yaml" 14 # Overwrite the example led layout yaml file prior 15 # to building the phosphor-led-manager package 18 DEST=${D}${datadir}/phosphor-led-manager 19 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
/openbmc/openbmc/meta-amd/meta-daytonax/recipes-phosphor/leds/ |
H A D | daytonax-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for DaytonaX" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 SRC_URI += "file://led.yaml" 14 # Overwrite the example led layout yaml file prior 15 # to building the phosphor-led-manager package 18 DEST=${D}${datadir}/phosphor-led-manager 19 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/leds/ |
H A D | gbs-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for GBS" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 SRC_URI += "file://led.yaml" 14 # Overwrite the example led layout yaml file prior 15 # to building the phosphor-led-manager package 18 DEST=${D}${datadir}/phosphor-led-manager 19 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/leds/ |
H A D | ethanolx-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for EthanolX" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 SRC_URI += "file://led.yaml" 14 # Overwrite the example led layout yaml file prior 15 # to building the phosphor-led-manager package 18 DEST=${D}${datadir}/phosphor-led-manager 19 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/leds/ |
H A D | romulus-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for Romulus" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 SRC_URI += "file://led.yaml" 14 # Overwrite the example led layout yaml file prior 15 # to building the phosphor-led-manager package 18 DEST=${D}${datadir}/phosphor-led-manager 19 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
/openbmc/openbmc/meta-ibm/meta-genesis3/recipes-phosphor/leds/ |
H A D | gen3-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for Romulus" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 SRC_URI += "file://led.yaml" 14 # Overwrite the example led layout yaml file prior 15 # to building the phosphor-led-manager package 18 DEST=${D}${datadir}/phosphor-led-manager 19 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/images/ |
H A D | obmc-phosphor-image.bbappend | 1 OBMC_IMAGE_EXTRA_INSTALL:append:gbs = " phosphor-host-postd" 2 OBMC_IMAGE_EXTRA_INSTALL:append:gbs = " phosphor-sel-logger" 3 OBMC_IMAGE_EXTRA_INSTALL:append:gbs = " google-ipmi-sys" 4 OBMC_IMAGE_EXTRA_INSTALL:append:gbs = " google-ipmi-i2c" 5 OBMC_IMAGE_EXTRA_INSTALL:append:gbs = " gbs-hotswap-power-cycle" 7 OBMC_IMAGE_EXTRA_INSTALL:append:gbs = " gbs-cpld-ver-check" 9 OBMC_IMAGE_EXTRA_INSTALL:append:gbs = " net-tools" 10 OBMC_IMAGE_EXTRA_INSTALL:append:gbs = " gbs-boot-status-led" 11 OBMC_IMAGE_EXTRA_INSTALL:append:gbs = " phosphor-nvme" 12 OBMC_IMAGE_EXTRA_INSTALL:append:gbs = " gbs-detect-gpio-present" [all …]
|
/openbmc/openbmc/meta-intel-openbmc/meta-common/recipes-phosphor/leds/ |
H A D | intel-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for Intel" 4 inherit obmc-phosphor-utils 7 LICENSE = "Apache-2.0" 8 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 10 PROVIDES += "virtual/phosphor-led-manager-config-native" 12 SRC_URI += "file://led.yaml" 18 DEST=${D}${datadir}/phosphor-led-manager 19 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
/openbmc/openbmc/meta-phosphor/conf/distro/include/ |
H A D | phosphor-defaults.inc | 5 # obmc-bmc-state-manager 9 VIRTUAL-RUNTIME_obmc-bmc-state-manager ?= "phosphor-state-manager-bmc" 11 # obmc-chassis-state-manager 15 VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "phosphor-state-manager-chassis" 17 # obmc-host-state-manager 21 VIRTUAL-RUNTIME_obmc-host-state-manager ?= "phosphor-state-manager-host" 23 # obmc-discover-system-state 25 # Provides an implementation of phosphor-discover-system-state, which, if the 28 VIRTUAL-RUNTIME_obmc-discover-system-state ?= "phosphor-state-manager-discover" 30 # obmc-fan-presence [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/leds/ |
H A D | witherspoon-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for Witherspoon" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 SRC_URI += "file://led.yaml" 15 # Copies led layout yaml file 18 DEST=${D}${datadir}/phosphor-led-manager 19 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
H A D | swift-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for Mihawk" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 SRC_URI += "file://led.yaml" 14 # Copies example led layout yaml file 17 DEST=${D}${datadir}/phosphor-led-manager 18 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/leds/ |
H A D | ncplite-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for NCPLite" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 SRC_URI += "file://led.yaml" 14 # Copies example led layout yaml file 17 DEST=${D}${datadir}/phosphor-led-manager 18 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
/openbmc/openbmc/meta-ibm/meta-palmetto/recipes-phosphor/leds/ |
H A D | palmetto-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for Palmetto" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 PROVIDES += "virtual/phosphor-led-manager-config-native" 10 SRC_URI += "file://led.yaml" 14 # Copies example led layout yaml file 17 DEST=${D}${datadir}/phosphor-led-manager 18 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
/openbmc/openbmc/meta-inventec/meta-starscream/recipes-phosphor/leds/ |
H A D | starscream-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for Starscream" 4 #Common code for packages distributed without a license that want Apache-2.0. 5 LICENSE = "Apache-2.0" 6 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 10 PROVIDES += "virtual/phosphor-led-manager-config-native" 12 SRC_URI += "file://led.yaml" 16 # Copies example led layout yaml file 19 DEST=${D}${datadir}/phosphor-led-manager 20 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|
/openbmc/openbmc/meta-fii/meta-mori/recipes-phosphor/image/ |
H A D | obmc-phosphor-image.bbappend | 2 OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-ipmi-blobs" 3 OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-ipmi-blobs-binarystore" 4 OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-ipmi-ethstats" 5 OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-ipmi-net" 6 OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-ipmi-host" 7 OBMC_IMAGE_EXTRA_INSTALL:append:mori = " google-ipmi-sys" 8 OBMC_IMAGE_EXTRA_INSTALL:append:mori = " google-ipmi-i2c" 9 OBMC_IMAGE_EXTRA_INSTALL:append:mori = " phosphor-sel-logger" 14 OBMC_IMAGE_EXTRA_INSTALL:append:mori = " openssl-bin" 18 OBMC_IMAGE_EXTRA_INSTALL:append:mori = " i2c-tools" [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/leds/ |
H A D | yosemite4-led-manager-config-native.bb | 1 SUMMARY = "Phosphor LED Group Management for Yosemite4" 3 LICENSE = "Apache-2.0" 4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 11 PROVIDES += "virtual/phosphor-led-manager-config-native" 13 SRC_URI += "file://led.yaml" 17 DEST=${D}${datadir}/phosphor-led-manager 18 install -D ${SRC}/led.yaml ${DEST}/led.yaml
|