Get FRU LED State
更新时间: 2025/06/26
在Gitcode上查看源码

08h-获取FRU-LED状态(Get-FRU-LED-State)

修订记录

openUBMC版本号修订日期修订内容
25.062025/06/26初稿,新增命令详情

基本信息

功能说明

获取FRU LED状态。

权限

ReadOnly

命令信息

请求信息

字节顺序域取值说明
NetFnPICMG 2Ch
CMD08h
1PICMG Identifier, Indicates that this is a PICMG-defined group extension command. A value of 00h is used
2FRU Device ID
3LED ID
00h=BLUE LED (Bottom of Board)
01h=LED 1 Topmost
02h=LED 2 Second from top
03h=LED 3 Third from top
04h-FEh=OEM defined LEDs
FFh-Reserved

响应信息

字节顺序域取值说明
1Completion Code
2PICMG Identifier, Indicates that this is a PICMG-defined group extension command. A value of 00h is used
3LED States:
[7:4]-Reserved
[3]-1b if LED has a hardware restriction that is not currently met
This bit shall be 0 if the LED Color Capabilities command response for this LED does not provide an LED Flags byte or provides an LED Flags byte equal to 0
[2]-1b if Lamp Test has been enabled
[1]-1b if override state has been enabled
[0]-1b if IPM Controller has a Local Control state
4Local Control LED Function
00h=LED is off. This is a default value if the IPM Controller does not support Local Control
01h-FAh=LED is BLINKING. The off duration is specified by the value of this byte, and the on duration is specified by the value of byte 5. Both values specify the time in tens of milliseconds
(10 ms–2.5 s)
FB-FEh=Reserved
FFh=LED is on
5Local Control On-duration
The LED on-time in tens of milliseconds if (01h ≤ Byte 4 ≤ FAh) and ignored otherwise
Otherwise, this field is ignored and is set to 0h
6Local Control Color
Bit numbers
[7:4] Reserved, must be set to 0.
[3:0] Hex Value Function
0h Reserved
1h BLUE
2h RED
3h GREEN
4h AMBER
5h ORANGE
6h WHITE
7h-Fh Reserved
(7)Override state LED Function. This byte is required if either override state or Lamp Test is in effect.
00h=LED override state is off
01h-FAh=LED override state is BLINKING. The off duration is specified by the value of this byte and the on duration is specified by the value of byte 8. Both values specify the time in tens of milliseconds (10 ms–2.5 s)
FBh-FEh=Reserved
FFh=LED override state is on
(8)Override State On-duration. This byte is required if either override state or Lamp Test is in effect.
The LED on-time in tens of milliseconds if (01h ≤ Byte 7 ≤ FAh) and ignored otherwise.
(9)Override State Color. This byte is required if either override state or Lamp Test is in effect.
Bit numbers
[7:4] Reserved, is set to 0.
[3:0] Hex Value Function
0h Reserved
1h BLUE
2h RED
3h GREEN
4h AMBER
5h ORANGE
6h WHITE
7h-Fh Reserved
(10)Lamp Test Duration. This byte is optional if Lamp Test is not in effect.
This byte contains the Lamp Test time in hundreds of milliseconds and the value must be < 128. Other values reserved.

命令样例

获取FRU LED状态

请求:

ipmicmd -k "0f 00 2c 08 00 00 02" smi 0

响应:

0f 2d 00 08 00 00 01 00 00 00

返回到索引