Lines Matching full:led
1 # phosphor-led-sysfs
7 Say we have 'identify' LED in our system, which may be declared in devicetree.
19 We can add an LED via the helper program. The main service is then started via
23 ./add-led-action --path /sys/class/leds/identify
29 busctl tree xyz.openbmc_project.LED.Controller
32 `- /xyz/openbmc_project/led
33 `- /xyz/openbmc_project/led/physical
34 `- /xyz/openbmc_project/led/physical/identify
36 busctl introspect xyz.openbmc_project.LED.Controller /xyz/openbmc_project/led/physical/identify
39 xyz.openbmc_project.Led.Physical interface - - -
40 .Color property s "xyz.openbmc_project.Led.Physical.Pal... e…
43 .State property s "xyz.openbmc_project.Led.Physical.Act... e…
51 Query the LED State
54 busctl get-property xyz.openbmc_project.LED.Controller \
55 /xyz/openbmc_project/led/physical/identify \
56 xyz.openbmc_project.Led.Physical State \
57 s "xyz.openbmc_project.Led.Physical.Action.Off"
60 Set the LED State
63 busctl set-property xyz.openbmc_project.LED.Controller \
64 /xyz/openbmc_project/led/physical/identify \
65 xyz.openbmc_project.Led.Physical State s \
66 "xyz.openbmc_project.Led.Physical.Action.Off"