/openbmc/pldm/configurations/pdr/ |
H A D | 4.json | diff 2f4f2202c1000a8cddf6088619c03c0b8ee4fe58 Thu May 20 08:23:56 CDT 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> pdr: dimm identify leds sensor/effecter support
This commit contains the addition of sensor/effecter pdrs for dimm identify leds. Also updated the entity instance numbers for enclosure identify and enclosure fault leds.
Testing Result:
SENSOR(dimm0):
pldmtool platform GetPDR -d 43 { "nextRecordHandle": 44, "responseCount": 27, "recordHandle": 43, "PDRHeaderVersion": 1, "PDRType": "State Sensor PDR", "recordChangeNumber": 0, "dataLength": 17, "PLDMTerminusHandle": 0, "sensorID": 24, "entityType": "142(OEM)", "entityInstanceNumber": 1, "containerID": 3, "sensorInit": "noInit", "sensorAuxiliaryNamesPDR": false, "compositeSensorCount": 1, "stateSetID[0]": "17", "possibleStatesSize[0]": 1, "possibleStates[0]": " 1 2" }
Set On: busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm0_identify xyz.openbmc_project.Led.Group Asserted b true
pldmtool raw --data 0x80 0x02 0x21 0x18 0x00 0x01 0x00 Request Message: 08 01 80 02 21 18 00 01 00 Response Message: 08 01 00 02 21 00 01 00 01 00 02
Set Off: busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm0_identify xyz.openbmc_project.Led.Group Asserted b false
pldmtool raw --data 0x80 0x02 0x21 0x18 0x00 0x01 0x00 Request Message: 08 01 80 02 21 18 00 01 00 Response Message: 08 01 00 02 21 00 01 00 01 00 01
EFFECTER(dimm31):
pldmtool platform GetPDR -d 181 { "nextRecordHandle": 182, "responseCount": 29, "recordHandle": 181, "PDRHeaderVersion": 1, "PDRType": "State Effecter PDR", "recordChangeNumber": 0, "dataLength": 19, "PLDMTerminusHandle": 1, "effecterID": 53, "entityType": "142(OEM)", "entityInstanceNumber": 26, "containerID": 3, "effecterSemanticID": 0, "effecterInit": "noInit", "effecterDescriptionPDR": false, "compositeEffecterCount": 1, "stateSetID[0]": "17", "possibleStatesSize[0]": 1, "possibleStates[0]": " 1 2" }
Set On: pldmtool platform SetStateEffecterStates -i 53 -c 1 -d 1 2 { "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm31_identify xyz.openbmc_project.Led.Group Asserted b true
Set Off: pldmtool platform SetStateEffecterStates -i 53 -c 1 -d 1 1 { "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm31_identify xyz.openbmc_project.Led.Group Asserted b false
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: I2549eb2f8409755f5821dbdd91e75e86e40d34e8
|
H A D | 11.json | diff 2f4f2202c1000a8cddf6088619c03c0b8ee4fe58 Thu May 20 08:23:56 CDT 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> pdr: dimm identify leds sensor/effecter support
This commit contains the addition of sensor/effecter pdrs for dimm identify leds. Also updated the entity instance numbers for enclosure identify and enclosure fault leds.
Testing Result:
SENSOR(dimm0):
pldmtool platform GetPDR -d 43 { "nextRecordHandle": 44, "responseCount": 27, "recordHandle": 43, "PDRHeaderVersion": 1, "PDRType": "State Sensor PDR", "recordChangeNumber": 0, "dataLength": 17, "PLDMTerminusHandle": 0, "sensorID": 24, "entityType": "142(OEM)", "entityInstanceNumber": 1, "containerID": 3, "sensorInit": "noInit", "sensorAuxiliaryNamesPDR": false, "compositeSensorCount": 1, "stateSetID[0]": "17", "possibleStatesSize[0]": 1, "possibleStates[0]": " 1 2" }
Set On: busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm0_identify xyz.openbmc_project.Led.Group Asserted b true
pldmtool raw --data 0x80 0x02 0x21 0x18 0x00 0x01 0x00 Request Message: 08 01 80 02 21 18 00 01 00 Response Message: 08 01 00 02 21 00 01 00 01 00 02
Set Off: busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm0_identify xyz.openbmc_project.Led.Group Asserted b false
pldmtool raw --data 0x80 0x02 0x21 0x18 0x00 0x01 0x00 Request Message: 08 01 80 02 21 18 00 01 00 Response Message: 08 01 00 02 21 00 01 00 01 00 01
EFFECTER(dimm31):
pldmtool platform GetPDR -d 181 { "nextRecordHandle": 182, "responseCount": 29, "recordHandle": 181, "PDRHeaderVersion": 1, "PDRType": "State Effecter PDR", "recordChangeNumber": 0, "dataLength": 19, "PLDMTerminusHandle": 1, "effecterID": 53, "entityType": "142(OEM)", "entityInstanceNumber": 26, "containerID": 3, "effecterSemanticID": 0, "effecterInit": "noInit", "effecterDescriptionPDR": false, "compositeEffecterCount": 1, "stateSetID[0]": "17", "possibleStatesSize[0]": 1, "possibleStates[0]": " 1 2" }
Set On: pldmtool platform SetStateEffecterStates -i 53 -c 1 -d 1 2 { "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm31_identify xyz.openbmc_project.Led.Group Asserted b true
Set Off: pldmtool platform SetStateEffecterStates -i 53 -c 1 -d 1 1 { "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/ddimm31_identify xyz.openbmc_project.Led.Group Asserted b false
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: I2549eb2f8409755f5821dbdd91e75e86e40d34e8
|