Reference Guide

0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
write Output
/opt/dell/diag/bin# ./i2ctool --write --bus=/dev/i2c-2 --addr=0x48 --reg=0x14 --val=1
ledtool
The ledtool allows you to control the state of the front and back panel light emitting diodes (LEDs). ASIC and Phys control
the port LEDs and are beyond the scope of this tool.
You can manually control the front and back panel LEDs normally controlled through the CPLD or FPGA access. When set, bits
in these registers control the state of the LED.
Tests
To test the LEDs, use the ledtool --test command.
root@dell-diag-os:/opt/ngos/bin# ./ledtool --test
LED Test Started... Will take few mins to complete.
LED Tool: Overall test results --------------------- >>> Passed
CLI options
DellEmc Diag - Led Tool
version 1.0, x.xx.x.x-x
build, 2017/05/23,
Usage:
List the LEDs:=
ledtool --list
(or)
ledtool -l
Get the state of (specific) LED(s):=
ledtool --get [--led=<led>]
(or)
ledtool -g [-D <led>]
Set the state of specific LED(color and blink):=
ledtool --set --led=<led> [--instance=<instance>] {--state=<state> | --val=<value>}
(or)
ledtool -s -D <led> [-I <instance>] {-T <state> | -V <value>}
Execute repeatedly command by count:=
ledtool --iteration=max/<count> [option1] [option2]...
(or)
ledtool -I max/<count> [option1] [option2]...
Test using config file:=
ledtool --test [--config=<config_file>]
(or)
ledtool -t [-f <config_file>]
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
54
Dell EMC DIAG OS tools