Setup Guide

write Output
/opt/dellemc/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@dellemc-diag-os:~# ledtool --test
LED Test Started... Will take few mins to complete.
Overall LED test result ====>> Passed
root@dellemc-diag-os:~#
CLI options
root@dellemc-diag-os:~# ledtool
DellEmc Diag - Led Tool
version 2.0, x.xx.x.x-x
build, 2019/07/03,
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> [-S <instance>] [-T <state>] [-V <value>]
Execute repeatedly command by count:=
ledtool --iteration=max/<count> [option1] [option2]...
(or)
ledtool -I max/<count> [option1] [option2]...
Give control to CPU:=
ledtool --set --cpu_ctrl
(or)
ledtool -s -U
Give control to FPGA:=
ledtool --set --fpga_ctrl
(or)
ledtool -s -Y
Test using config file:=
ledtool --test [--config=<config_file>]
(or)
ledtool -t [-f <config_file>]
Test LED manually
ledtool --test --manual
(or)
ledtool -t -m
Set led pre and post seetings :=
Dell EMC DIAG-OS tools
39