power button override

Bills, Jason M jason.m.bills at linux.intel.com
Sat Jan 25 08:17:01 AEDT 2020



On 1/24/2020 1:12 PM, Bills, Jason M wrote:
> 
> 
> On 1/24/2020 12:55 PM, Bills, Jason M wrote:
>>
>>
>> On 1/24/2020 10:29 AM, Vijay Khemka wrote:
>>>
>>>
>>> On 1/23/20, 4:36 PM, "Bills, Jason M" 
>>> <jason.m.bills at linux.intel.com> wrote:
>>>
>>>      On 1/23/2020 4:13 PM, Vijay Khemka wrote:
>>>      > Hi Jason,
>>>      >
>>>      > We have a requirement of power button override. I don’t see 
>>> x86-power
>>>      > control doesn’t support this currently. Do you need this 
>>> features or do
>>>      > you have any local patch for this.
Sorry, I forgot to answer this.  We don't have any local patches.  We're 
building power control directly from the repo as-is.
>>>      Hi Vijay,
>>>      power button override is used for the "Force Off" actions in 
>>> power control:
>>> https://github.com/openbmc/x86-power-control/blob/master/power-control-x86/src/power_control.cpp#L50. 
>>>
>>>
>>> This will not work if current status is off. This should just send 
>>> pulse in any status on/off.
>> Correct.  Force Off is not done if the current status is off.
> Do you have more details on the power button override behavior that you 
> need?
>>>      >
>>>      > Regards
>>>      >
>>>      > -Vijay
>>>      >
>>>


More information about the openbmc mailing list