Dell N3200-ON Open Networking Hardware Diagnostic Guide July 2022 - Page 39
ledtool, write Output, Tests, CLI options
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 39 highlights
0x00 000000e0]: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 000000f0]: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x57 W root@dellemc-diag-os:~# 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=] (or) ledtool -g [-D ] Set the state of specific LED(color and blink):= ledtool --set --led= [--instance=] [--state=] [--val=] (or) ledtool -s -D [-S ] [-T ] [-V ] Execute repeatedly command by count:= ledtool --iteration=max/ [option1] [option2]... (or) ledtool -I max/ [option1] [option2]... Give control to CPU:= ledtool --set --cpu_ctrl (or) ledtool -s -U Give control to FPGA:= ledtool --set --fpga_ctrl Dell DIAG-OS tools 39