Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,30 @@
[
{
"Name": "presence-slot1",
"LineName": "PRESENCE-SLOT1",
"EventMon": "BOTH",
"Continue": true,
"Target": "obmc-ipmb-rescan-fru.service"
},
{
"Name": "presence-slot2",
"LineName": "PRESENCE-SLOT2",
"EventMon": "BOTH",
"Continue": true,
"Target": "obmc-ipmb-rescan-fru.service"
},
{
"Name": "presence-slot3",
"LineName": "PRESENCE-SLOT3",
"EventMon": "BOTH",
"Continue": true,
"Target": "obmc-ipmb-rescan-fru.service"
},
{
"Name": "presence-slot4",
"LineName": "PRESENCE-SLOT4",
"EventMon": "BOTH",
"Continue": true,
"Target": "obmc-ipmb-rescan-fru.service"
}
]
@@ -0,0 +1,8 @@
#!/bin/bash
# Rescan the ipmb busses for slots fru.
DBUS_SERVICE="xyz.openbmc_project.Ipmb.FruDevice"
DBUS_OBJECT="/xyz/openbmc_project/Ipmb/FruDevice"
DBUS_INTERFACE="xyz.openbmc_project.Ipmb.FruDeviceManager"
busctl call $DBUS_SERVICE $DBUS_OBJECT $DBUS_INTERFACE ReScan
@@ -0,0 +1,6 @@
[Unit]
Description=ipmb based rescan the slots fru service
[Service]
Type=oneshot
ExecStart=/usr/libexec/phosphor-gpio-monitor/ipmb-rescan-fru.sh