Dell S5148F-ON Open Networking Hardware Diagnostic Guide September 2017 - Page 44

Configuration file format, lpctool, CLI options, format

Page 44 highlights

Configuration file format CONTROL_CONFIG | 2 #Control Config | method | | | | | I2C Device Flag | lpc | - | 0 | 0x04D8 | 0x210 | 0x211 | 0x212 | 0x213 | 0x55 | 0xAA | 0x5A | 0xA5 Led Control Flag | lpc | - | 0 | 0x04Dc | 0x210 | 0x211 | 0x212 | 0x213 | 0x55 || 0xAA | 0x55 | 0xAA [Power] Power Led | lpc | - | 0 | 0x130 [green] 1 | 5:4 | 0 [/green] [amber] 1 | 5:4 | 1 [/amber] [flashing-amber] 1 | 5:4 | 2 [/flashing-amber] [off] 1 | 5:4 | 3 [/off] [/Power] The ledtool config file is in a more xml style format Each entity is specified in a [ entity ] tag format and closed with a [ \entity ] tag Each entity is the listed the following in a '|' seperated list: Name of the Led - this si the name that is printed in dany access to the led. the entity is the name used to access the led bus to access the led - this can be lpc, mem or /dev/i2c-bus number address - Address of the access to control the led Register - the register to access to control the led Next is a display of the state entities for this LED display. The state can be colors, on or off, or even color-blinks. XML-style tags on separate lines also specify the state entity. The data displays in a | separated list as: • Number of instances - For normal LEDs, the instance is 1, but for fans, the instance can be more than 1. • Bit ranges - The bit number or the range of bits from low to high contiguous bits. If you need spread bits, use multiple settings within the state tag. • Value - The value to write to this bit or set of bits. lpctool To access devices on the LPC bus, use the lpctool. The lpctool allow 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 DiagOS tools use lpctool to read LPC-connected registers. CLI options DellEmc Diag - LPC Tool version 1.0, x.xx.x.x-x build, 2017/05/23, Syntax: lpctool Show the help-text:= lpctool --h lpctool -h Read the specified address:= (or) 44 Dell EMC DiagOS tools

  • 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
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95

Configuration
file
format
CONTROL_CONFIG | 2
#Control Config | method | <Mux Selection> | <Address> | <Register> | <Take Contt
rol> | <Release Control>
I2C Device Flag
| lpc | - | 0 | 0x04D8 | 0x210 | 0x211 | 0x212 | 0x213 | 0x55 |
0xAA | 0x5A | 0xA5
Led Control Flag | lpc | - | 0 | 0x04Dc | 0x210 | 0x211 | 0x212 | 0x213 | 0x55 ||
0xAA | 0x55 | 0xAA
[Power]
Power Led
| lpc | - | 0 | 0x130
[green]
1 | 5:4 | 0
[/green]
[amber]
1 | 5:4 | 1
[/amber]
[flashing-amber]
1 | 5:4 | 2
[/flashing-amber]
[off]
1 | 5:4 | 3
[/off]
[/Power]
The ledtool config file is in a more xml style format
Each entity is specified in a [ entity ] tag format and closed with a [ \entity ] tag
Each entity is the listed the following in a '|' seperated list:
Name of the Led - this si the name that is printed in dany access to the led. the entity is
the name used to access the led
bus to access the led - this can be lpc, mem or /dev/i2c-bus number
address - Address of the access to control the led
Register - the register to access to control the led
Next is a display of the state entities for this LED display. The state can be colors, on or
off,
or even color-blinks. XML-style tags on
separate lines also specify the state entity. The data displays in a | separated list as:
Number of instances — For normal LEDs, the instance is 1, but for fans, the instance can be more than 1.
Bit ranges — The bit number or the range of bits from low to high contiguous bits. If you need spread bits, use multiple settings within
the state tag.
Value — The value to write to this bit or set of bits.
lpctool
To access devices on the LPC bus, use the
lpctool
.
The
lpctool
allow 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 DiagOS tools use
lpctool
to read LPC-connected registers.
CLI options
DellEmc Diag - LPC Tool
version 1.0, x.xx.x.x-x
build, 2017/05/23,
Syntax: lpctool <option>
Show the help-text:=
lpctool --h
(or)
lpctool -h
Read the specified address:=
44
Dell EMC DiagOS tools