x86-power-control question: front panel buttons dont work

Nikita Pavlov niikita at yahoo.com
Sat Apr 30 23:25:36 AEST 2022


Hi Jason, thank you for your response. In my platform I have power-control gpios in GPIOD group like this:
/*D0-D7*/ "POWER_BUTTON","POWER_OUT","RESET_BUTTON","RESET_OUT",
Also I configurate pass-through mode in dts:
         pinctrl-names = "pass-through";        pinctrl-0 = <&pinctrl_gpid0_default                            &pinctrl_gpid2_default>;
After update and reboot platform I have same problem - front panel buttons dont enable (front panel buttons dont enable if I use x86-power-control module or manually set gpio values by gpioset utility).But if I dont use any impacts on gpio (disable x86-power-control module and dont use gpio utilities like gpioset/get) front panel buttons work well.
What are your assumptions about this ?



 --
Best regards,
Nikita Pavlov,
NUST MISiS Student
 

    четверг, 28 апреля 2022 г., 23:01:13 GMT+3, Bills, Jason M <jason.m.bills at intel.com> написал(-а):  
 
 <!--#yiv3781498404 _filtered {} _filtered {} _filtered {}#yiv3781498404 #yiv3781498404 p.yiv3781498404MsoNormal, #yiv3781498404 li.yiv3781498404MsoNormal, #yiv3781498404 div.yiv3781498404MsoNormal {margin:0in;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv3781498404 a:link, #yiv3781498404 span.yiv3781498404MsoHyperlink {color:blue;text-decoration:underline;}#yiv3781498404 span.yiv3781498404EmailStyle18 {font-family:"Calibri", sans-serif;color:windowtext;}#yiv3781498404 .yiv3781498404MsoChpDefault {font-size:10.0pt;} _filtered {}#yiv3781498404 div.yiv3781498404WordSection1 {}-->
Hi Nikita,
 
  
 
In the hardware, we have the power button routed through a GPIO pass-through on the Aspeed chip.  If that pass-through is disabled, it will prevent the physical front panel button signal from getting past the BMC.  That is the first thing I would check.
 
  
 
Also, it is better to send these kinds of questions to the OpenBMC mailing list as there may be others in the community in a similar situation.
 
  
 
Thanks,
 
-Jason
 
  
 
From: Nikita Pavlov <niikita at yahoo.com> 
Sent: Thursday, April 28, 2022 8:58 AM
To: Bills, Jason M <jason.m.bills at intel.com>; kuiying.wang at intel.com
Subject: x86-power-control question: front panel buttons dont work
 
  
 
Hi, I user x86-power-control module for my test intel platform. Its module works in webui but front panel physical buttons doesnt work. I think that it interface describe in this fragment https://github.com/openbmc/x86-power-control/blob/master/src/power_control.cpp#L3072 but I cant understand this logic.
 
Say me pls, whyfront panel buttons dont work ?
 
  
 
  
 
  
 
  
 
  
 
--
Best regards,
Nikita Pavlov,
NUST MISiS Student
 
  
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220430/56880fef/attachment.htm>


More information about the openbmc mailing list