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

07h-设置FRU-LED状态(Set-FRU-LED-State)

修订记录

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

基本信息

功能说明

设置FRU LED状态。

权限

BasicSetting

命令信息

请求信息

字节顺序域取值说明
NetFnPICMG 2Ch
CMD07h
1PICMG Identifier, Indicates that this is a PICMG-defined group extension command. A value of 00h is used
2FRU Device ID
3


LED 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=All LEDs under management control are addressed
4LED Function
00h=LED off override
01h-FAh=LED BLINKING override. 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)
FBh=LAMP TEST state. Turn on LED(s) specified in byte 3 for duration specified in byte 5 (in hundreds of milliseconds) then return to the highest priority state.
FCh=LED state restored to Local Control state
FDh-FEh Reserved
FFh=LED on override
5On-duration
LED on-time in tens of milliseconds if (1 ≤ Byte 4 ≤ FAh)
Lamp Test time in hundreds of milliseconds if (Byte 4=FBh). Lamp Test time value must be less than 128. Other values when Byte 4=FBh are reserved
Otherwise, this field is ignored and is set to 0h
6Color when illuminated. This byte sets the override color when LED Function is 01h–FAh and FFh. This byte sets the Local Control color when LED Function is FCh. This byte can be ignored during Lamp Test or can be used to control the color during the lamp test when LED Function is FBh.
Bit numbers
[7:4] Reserved, is set to 0
[3:0] Hex Value Function
0h Reserved
1h Use BLUE
2h Use RED
3h Use GREEN
4h Use AMBER
5h Use ORANGE
6h Use WHITE
7h-Dh Reserved
Eh Do not change
Fh Use default color

响应信息

字节顺序域取值说明
1Completion Code
2PICMG Identifier. Indicates that this is a PICMG-defined group extension command. A value of 00h is used

命令样例

设置FRU LED状态

请求:

ipmicmd -k "0f 00 2c 07 00 00 02 01 01 05" smi 0

响应:

0f 2d 00 07 00 00

返回到索引