Get Channel Info
更新时间: 2026/08/06
在Gitcode上查看源码

Get Channel Info

Change History

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

Basic Information

Function Description

Obtains channel information.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFnApp 06h
CMD42h
1[7:4]-reserved
[3:0]-channel number, Use Eh to get information about the channel this command is being executed from.

Response Information

ByteData Field
1Completion Code
2[7:4]-reserved
[3:0]-actual channel number, This value will typically match the channel number passed in the request, unless the request is for channel E, in which case the response returns the actual channel number
3[7]-reserved
[6:0]-7-bit Channel Medium type: per Table 6-3, Channel Medium Type Numbers
4Channel Protocol Type:
[7:5]-reserved
[4:0]-5-bit Channel IPMI Messaging Protocol Type per Table 6-2, Channel Protocol Type Numbers
5Session support
[7:6]-00b=channel is session-less
01b=channel is single-session
10b=channel is multi-session
11b=channel is session-based (return this value if a channel could alternate between single- and multi-session operation, as can occur with a serial/modem channel that supports connection mode auto-detect.)
Number of sessions that have been activated on given channel
[5:0]-active session count, 1-based
00_0000b=no sessions have been activated on this channel
6:8Vendor ID (IANA Enterprise Number) for OEM/Organization that specified the Channel Protocol
Least significant byte first
Returns the IPMI IANA for IPMI-specification defined, non-OEM protocol type numbers other than OEM
The IPMI Enterprise Number is: 7154 (decimal)
This gives the values F2h, 1Bh, 00h for bytes 6 through 8, respectively. This value is returned for all channel protocols specified in this document, including PPP
9:10Auxiliary Channel Info
For Channel=Fh (System Interface):
byte 1: SMS Interrupt Type
00h-0Fh=IRQ 0 through 15, respectively
10h-13h=PCI A-D, respectively
14h=SMI
15h=SCI
20h-5Fh=system interrupt 0 through 63, respectively
60h=assigned by ACPI/Plug'n Play BIOS
FFh=no interrupt/unspecified
all other=reserved
byte 2: Event Message Buffer Interrupt Type
see values for byte 1
For OEM channel types:
byte 1:2=OEM specified per OEM identified by Vendor ID field
All other channel types:
byte 1:2=reserved

Command Example

Obtain channel information.

Request:

bash
ipmicmd -k "0f 00 06 42 01" smi 0

Response:

text
0f 07 00 42 00 01 04 01 80 f2 1b 00 00 00

Back to Index