<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Hi Chris,<br><br>Sorry I did not follow what you mean. The dbus interface "org.openbmc.control.Bmc" is already in Skeleton.<br>We just add a method "cold_reset()" to it. Do you mean we need to add a new dbus interface? Where should we add?<br><br>Are there any existing examples?<br><br>Thanks,<br>-Yi <br><br><br><font color="#990099">-----"openbmc" <<a target="_blank" href="mailto:openbmc-bounces+shliyi=cn.ibm.com@lists.ozlabs.org">openbmc-bounces+shliyi=cn.ibm.com@lists.ozlabs.org</a>> wrote: -----</font><br><br>>To: "OpenBMC Patches" <<a target="_blank" href="mailto:openbmc-patches@stwcx.xyz">openbmc-patches@stwcx.xyz</a>><br>>From: "Chris Austen" <br>>Sent by: "openbmc" <br>>Date: 01/16/2016 03:34PM<br>>Cc: openbmc <<a target="_blank" href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a>><br>>Subject: Re: [PATCH skeleton] skeleton: Add BMC cold_reset() method<br>>to org.openbmc.control.Bmc dbus interface<br>><br>>Needs to move out of skeleton. Use sdbus no gdbus<br>><br>>Sent from my iPhone using IBM Verse<br>><br>>On Jan 16, 2016, 12:31:39 AM, "OpenBMC Patches"<br>><<a target="_blank" href="mailto:openbmc-patches@stwcx.xyz">openbmc-patches@stwcx.xyz</a>> wrote:<br>>The host sends IPMI 'cold reset' command to reset BMC. Ipmid<br>>calls the org.openbmc.control.Bmc::cold_reset() to do reset.<br>>cold_reset() just invoke "reboot --force", which in effect<br>>same as a 'cold' reset.<br>><a target="_blank" href="https://github.com/openbmc/skeleton/pull/28">https://github.com/openbmc/skeleton/pull/28</a><br>>William (1):<br>> skeleton: Add BMC cold_reset() method to org.openbmc.control.Bmc dbu<br>>s<br>> interface<br>>interfaces/openbmc_intf.c | 56 +++++++++++++++++++++++---------------<br>>---------<br>>interfaces/openbmc_intf.h | 10 ++++-----<br>>objects/control_bmc_obj.c | 35 +++++++++++++++++++++++++----<br>>xml/openbmc_intf.xml | 2 +-<br>>4 files changed, 65 insertions(+), 38 deletions(-)<br>>-- <br>>2.6.4<br>>_______________________________________________<br>>openbmc mailing list<br>><a target="_blank" href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a><br>><a target="_blank" href="https://lists.ozlabs.org/listinfo/openbmc">https://lists.ozlabs.org/listinfo/openbmc</a><br>><br>> _______________________________________________<br>>openbmc mailing list<br>><a target="_blank" href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a><br>><a target="_blank" href="https://lists.ozlabs.org/listinfo/openbmc">https://lists.ozlabs.org/listinfo/openbmc</a><br>></font><BR>