Dell PowerSwitch S5212F-ON Open Networking Hardware Diagnostic Guide April 201 - Page 37

gpiotool, CLI options

Page 37 highlights

Fan 7 status Normal Fan 7 speed is 8348 RPM Getting Details for Fan 8 Fan 8 is Present Fan 8 Air flow type is Front To Rear Fan 8 status Normal Fan 8 speed is 8585 RPM Getting Details for Fan 9 Fan 9 is Present Fan 9 Air flow type is Front To Rear Fan 9 status Normal Fan 9 speed is 8420 RPM Getting Details for Fan 10 Fan 10 is Present Fan 10 Air flow type is Front To Rear Fan 10 status Normal Fan 10 speed is 8566 RPM Fan Controller Test LPC Passed root@dell-diag-os:~# root@dell-diag-os:~# fantool --get --lpc Fan 1 speed is 8420 RPM Fan 2 speed is 8757 RPM Fan 3 speed is 8474 RPM Fan 4 speed is 8738 RPM Fan 5 speed is 8474 RPM Fan 6 speed is 8757 RPM Fan 7 speed is 8366 RPM Fan 8 speed is 8604 RPM Fan 9 speed is 8420 RPM Fan 10 speed is 8566 RPM [2]+ Done dhclient -q eth0 root@dell-diag-os:~# root@dell-diag-os:~# fantool --get --fan=2 --lpc Fan 2 speed is 8738 RPM root@dell-diag-os:~# gpiotool The gpiotool controls the state of the GPIO lines from the CPU or any other device that drives the GPIO lines. The CPU GPIO alines the map in Linux to /sys/class/gpio entries, which are manipulated through the standard read/write interfaces. There is chip numbering to support multiple GPIO chips, or chips at an offset. For devices such as the complex programmable logic device (CPLD) or field programmable gate arrays (FPGA), gpiotool accesses those devices to drive the GPIO lines using the standard bus interfaces such as i2c, mem, or pci. CLI options DellEmc Diag - GPIO Tool version 1.4, x.xx.x.x-x build, 2017/05/23, Syntax: gpiotool Show the help-text:= gpiotool --h (or) gpiotool -h List available gpio chips and pins:= gpiotool --list (or) gpiotool -l Set GPIO pin:= gpiotool --set [--chip=] --pin= --val= (or) gpiotool -s [-c ] -H -V Get GPIO pins value:= Dell EMC DAIG-OS tools 37

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

Fan 7 status Normal
Fan 7 speed is 8348 RPM
Getting Details for
Fan 8
Fan 8 is Present
Fan 8 Air flow type is Front To Rear
Fan 8 status Normal
Fan 8 speed is 8585 RPM
Getting Details for
Fan 9
Fan 9 is Present
Fan 9 Air flow type is Front To Rear
Fan 9 status Normal
Fan 9 speed is 8420 RPM
Getting Details for
Fan 10
Fan 10 is Present
Fan 10 Air flow type is Front To Rear
Fan 10 status Normal
Fan 10 speed is 8566 RPM
Fan Controller Test LPC
.........................
Passed
root@dell-diag-os:~#
root@dell-diag-os:~# fantool --get --lpc
Fan 1 speed is 8420 RPM
Fan 2 speed is 8757 RPM
Fan 3 speed is 8474 RPM
Fan 4 speed is 8738 RPM
Fan 5 speed is 8474 RPM
Fan 6 speed is 8757 RPM
Fan 7 speed is 8366 RPM
Fan 8 speed is 8604 RPM
Fan 9 speed is 8420 RPM
Fan 10 speed is 8566 RPM
[2]+
Done
dhclient -q eth0
root@dell-diag-os:~#
root@dell-diag-os:~# fantool --get --fan=2 --lpc
Fan 2 speed is 8738 RPM
root@dell-diag-os:~#
gpiotool
The
gpiotool
controls the state of the GPIO lines from the CPU or any other device that drives the GPIO lines.
The CPU GPIO alines the map in Linux to
/sys/class/gpio
entries, which are manipulated through the standard read/write interfaces.
There is chip numbering to support multiple GPIO chips, or chips at an
offset.
For devices such as the complex programmable logic device
(CPLD) or
field
programmable gate arrays (FPGA),
gpiotool
accesses those devices to drive the GPIO lines using the standard bus
interfaces such as
i2c
,
mem
, or
pci
.
CLI options
DellEmc Diag - GPIO Tool
version 1.4, x.xx.x.x-x
build, 2017/05/23,
Syntax: gpiotool <option>
Show the help-text:=
gpiotool --h
(or)
gpiotool -h
List available gpio chips and pins:=
gpiotool --list
(or)
gpiotool -l
Set GPIO pin:=
gpiotool --set [--chip=<chip>] --pin=<pin> --val=<value> (or)
gpiotool -s [-c <chip>] -H <pin> -V <value>
Get GPIO pins value:=
Dell EMC DAIG-OS tools
37