Open
Description
Is it reasonable for mctpd to expose the MCTP interface name (Ex: mctpi2c14
) as a D-Bus property (say "Name") under the interface D-Bus object, interface au.com.CodeConstruct.MCTP.Interface1
D-Bus interface?
Our use case here is that we need to write an EM configuration to setup an MCTP interface, but we have nothing to Probe on (No FRU EEPROMs/device tree "eeprom"). I was thinking we could use the MCTP interface itself to probe on, something like:
"Probe": "au.com.CodeConstruct.MCTP.Interface1({'Role': 'BusOwner'})"
And then expose the interface name directly:
"Exposes": [
{
"Address": "0x1d",
"Interface": $Name,
"Name": "Blah",
"Type": "MCTPDevice"
}