Set Sensor Event Enable
更新时间: 2026/08/06
在Gitcode上查看源码

Set Sensor Event Enable

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Enable the sensor event.

Privilege

BasicSetting

Command Information

Request Information

ByteData Field
NetFnS/E 04h
CMD28h
1sensor number (FFh=reserved)
2[7]-0b=disable all Event Messages from this sensor (optional) [does not
impact individual enable/disable status]
[6]-0b=disable scanning on this sensor (optional)
[5:4]-00b=do not change individual enables
01b=enable selected event messages
10b=disable selected event messages
11b=reserved
[3:0]-reserved
(3)*For sensors with threshold based events:
[7]-1b=select assertion event for upper non-critical going high
[6]-1b=select assertion event for upper non-critical going low
[5]-1b=select assertion event for lower non-recoverable going high
[4]-1b=select assertion event for lower non-recoverable going low
[3]-1b=select assertion event for lower critical going high
[2]-1b=select assertion event for lower critical going low
[1]-1b=select assertion event for lower non-critical going high
[0]-1b=select assertion event for lower non-critical going low
For sensors with discrete events:
[7]-1b=select assertion event for state bit 7
[6]-1b=select assertion event for state bit 6
[5]-1b=select assertion event for state bit 5
[4]-1b=select assertion event for state bit 4
[3]-1b=select assertion event for state bit 3
[2]-1b=select assertion event for state bit 2
[1]-1b=select assertion event for state bit 1
[0]-1b=select assertion event for state bit 0
(4)*For sensors with threshold based events:
[7:4]-reserved. Write as 0000b.
[3]-1b=select assertion event for upper non-recoverable going high
[2]-1b=select assertion event for upper non-recoverable going low
[1]-1b=select assertion event for upper critical going high
[0]-1b=select assertion event for upper critical going low
For sensors with discrete events:
[00h otherwise]
[7]-reserved. Write as 0b.
[6]-1b=select assertion event for state bit 14
[5]-1b=select assertion event for state bit 13
[4]-1b=select assertion event for state bit 12
[3]-1b=select assertion event for state bit 11
[2]-1b=select assertion event for state bit 10
[1]-1b=select assertion event for state bit 9
[0]-1b=select assertion event for state bit 8
(5)*For sensors with threshold based events:
[7]-1b=select deassertion event for upper non-critical going high
[6]-1b=select deassertion event for upper non-critical going low
[5]-1b=select deassertion event for lower non-recoverable going high
[4]-1b=select deassertion event for lower non-recoverable going low
[3]-1b=select deassertion event for lower critical going high
[2]-1b=select deassertion event for lower critical going low
[1]-1b=select deassertion event for lower non-critical going high
[0]-1b=select deassertion event for lower non-critical going low
For sensors with discrete events:
(00h otherwise)
[7]-1b=select deassertion event for state bit 7
[6]-1b=select deassertion event for state bit 6
[5]-1b=select deassertion event for state bit 5
[4]-1b=select deassertion event for state bit 4
[3]-1b=select deassertion event for state bit 3
[2]-1b=select deassertion event for state bit 2
[1]-1b=select deassertion event for state bit 1
[0]-1b=select deassertion event for state bit 0
(6)*For sensors with threshold based events:
[7:4]-reserved. Write as 0000b.
[3]-1b=select deassertion event for upper non-recoverable going high
[2]-1b=select deassertion event for upper non-recoverable going low
[1]-1b=select deassertion event for upper critical going high
[0]-1b=select deassertion event for upper critical going low
For sensors with discrete events:
(00h otherwise)
[7]-reserved. Write as 0b.
[6]-1b=select deassertion event for state bit 14
[5]-1b=select deassertion event for state bit 13
[4]-1b=select deassertion event for state bit 12
[3]-1b=select deassertion event for state bit 11
[2]-1b=select deassertion event for state bit 10
[1]-1b=select deassertion event for state bit 9
[0]-1b=select deassertion event for state bit 8
* Note: The content in parentheses indicates that the content may not exist.
*=Devices must accept this command with a variable number (2 to 6) of request data bytes. (In particular, bytes 3 to 6 do not need to be transferred if disabling all EventMessages from the sensor.) This requirement is to allow a reduction in the number of data bytes that must be transferred during the sensor initialization (init agent) process. The receiver shall treat data bytes that are not explicitly transmitted as if they were written as '00h'.

Response Information

ByteData Field
1Completion Code

Command Example

Enable sensor events.

Request:

bash
ipmicmd -k "0f 00 04 28 01 c0 84 02 84 02" smi 0

Response:

text
0f

Back to Index