Setup Guide

ledtool --set --led=<led> --mode=<mode> [normal]
(or)
ledtool -s -D <led> -M <mode>
Syntax: ledtool <option>
-h, --h Show the help text
-l, --list List the LEDs
-g, --get Get operation
-s, --set Set operation
-t, --test Test using the pre-programmed configuration or use supplied config
-D, --led= LED
-I, --iteration= Iteration command execution
-S, --instance=, Instance
-T, --state=, State of the LED
-V, --val=, Value to be set
-f, --config=, To specify the location of the config file e.g. /etc/dn/diag/<file_name>
-U, --cpu_ctrl, Set CPU control
-Y, --fpga_ctrl, Set FPGA control
-M, --mode, Set CPLD Mode
-m, --manual, Manual LED test
Output
list output
root@dellemc-diag-os:~# ledtool --list
Fan : options
off solid-amber solid-green flashing-amber
System : options
flashing-green solid-green solid-amber flashing-amber
Beacon : options
off flashing-blue
Power : options
off solid-amber solid-green flashing-amber
Stacking : options
solid-green off
Stack-val : options
0-F
7-digit : options
off on flashing-green solid-green dot-off dot-on
root@dellemc-diag-os:~#
get Output
root@dellemc-diag-os:~# ledtool --get
Fan Led: off
System Led: flashing-green
Beacon Led: off
Power Led: solid-green
Stacking Led: off
Stack-valled: Value 0x38
7-digitled: on
root@dellemc-diag-os:~#
lpctool
To access devices on the LPC bus, use the lpctool.
The lpctool allows access on the LPC bus by using I/O transactions at the processor level. This access does not include LPC interfaces
in other devices. Other DIAG-OS tools use lpctool to read LPC-connected registers.
40
Dell EMC DIAG-OS tools