英特尔
直播中

黎桂珍

8年用户 165经验值
私信 关注
[问答]

如何禁用Intel Edison GPI_PWRBTN_N Poweroff?

你好
我想在爱迪生运行时禁用与GPI_PWRBTN_N的任何交互。
我已经禁用了pwr-button-handler.service但是当我按下按钮超过7秒时它仍然会切断电源
最糟糕的是,它会直接关闭电源,而不会正确关闭电源,因此可能会损坏文件系统。
究竟还在听什么输入?
我在哪里可以关掉它?
它是内核模块吗?
或者它是PMIC?
如果是,我可以配置PMIC不关闭吗?
谢谢。

以上来自于谷歌翻译


以下为原文

Hello

I want to disable any interaction with GPI_PWRBTN_N when the edison is running. I have disabled the pwr-button-handler.service but it still cuts the power when I press the button longer than 7 seconds. The worst is that it does directly turn off the power, without shutting it down properly, so possibly damaging the filesystem.

What exactly is still listening on this input? Where can I turn it off? Is it a kernel module? Or is it the PMIC? If yes, can I configure the PMIC not to turn off?

Thank you.

回帖(13)

汤宇

2018-11-20 11:53:41
HelloPai7u,感谢您对英特尔Edison Board Kit感兴趣。我们已经确认了您的请求,我们正在努力工作。一旦我们有解决方案,我们将尽快与您联系。谢谢您,Eliza

以上来自于谷歌翻译


以下为原文

Hello Pai7u,

Thank you for your interest in the Intel Edison Board Kit. 

We have acknowledged your request and we are currently working o it. 
As soon as we will have a resolution, we will reach you back.

Thank you,
Eliza 
举报

李玉鑫

2018-11-20 12:02:54
引用: jerry1978 发表于 2018-11-20 07:42
HelloPai7u,感谢您对英特尔Edison Board Kit感兴趣。我们已经确认了您的请求,我们正在努力工作。一旦我们有解决方案,我们将尽快与您联系。谢谢您,Eliza

以上来自于谷歌翻译

HelloPai7u,感谢您的耐心等待。
在查看原理图时,看起来GPI_PWRBTN_N将进入Edison Module 70针连接器上的引脚17.我们相信GPI_PWRBTN_N将进入PMIC。
您可以通过修改源代码来禁用它。
请注意,对源代码的任何修改都超出了我们的支持范围。请随意尝试并与社区分享您的结果。
有用的链接: 
Edison - Linux Intel Edison Yocto Poky image如果您有其他问题,请告诉我们。最好的问候,Eliza

以上来自于谷歌翻译


以下为原文

Hello Pai7u,

Thank you for your patience. 
When looking at the schematicsit looks like GPI_PWRBTN_N is going to Pin 17 on the 70 pin connector on the Edison Module.

We believe the GPI_PWRBTN_N is going to the PMIC. You may be able to disable it by modifying the source code. Please note that any modification to the source code is out of our support scope.

Feel free to give it a try and share your results with the community.
Useful links: 
Please let us know if you have additional questions.

Best regards,
Eliza
举报

汤宇

2018-11-20 12:18:11
引用: cd340823 发表于 2018-11-20 07:51
HelloPai7u,感谢您的耐心等待。
在查看原理图时,看起来GPI_PWRBTN_N将进入Edison Module 70针连接器上的引脚17.我们相信GPI_PWRBTN_N将进入PMIC。
您可以通过修改源代码来禁用它。

您好,如果所提供的信息有用,请告诉我们。您还有其他问题吗?谢谢,致以诚挚的问候,Eliza

以上来自于谷歌翻译


以下为原文

Hello Pai7u,

Could you please let us know if the information provided was helpful?
Do you have further questions? 

Thank you and best regards,
Eliza
举报

汤宇

2018-11-20 12:37:02
引用: jerry1978 发表于 2018-11-20 08:06
您好,如果所提供的信息有用,请告诉我们。您还有其他问题吗?谢谢,致以诚挚的问候,Eliza

以上来自于谷歌翻译

你好伊丽莎
谢谢你的提问,但我担心尽管你的回答我无法解决我的问题。
在提出问题之前,我检查了所有可以找到的原理图和文档。
所以当然我知道第17针,但它无助于解决问题,因为我找不到任何原理图显示引脚进入模块内部的位置。
如果你问我是否还有其他问题,那么,是的,是的:
- PMIC究竟是什么芯片?
我在硬件指南中读到它是TI SNB9024,但我找不到任何文档。
这个芯片有数据表吗?
- 根据硬件指南,SNB9024可通过I2C进行配置。
SNB9024的I2C端口是否连接到可访问的I2C总线?
- 你的意思是哪个源代码?
linux内核的源代码?
如果是,您是否有任何提示在哪个方向搜索它?
是否有PMIC的内核模块?
我在源头搜索(感谢链接),但找不到任何关于SNB9024的信息。
我发现了许多不同的PMIC,例如
TPS65910,但不是SNB9024。
任何提示?
最好的祝福

以上来自于谷歌翻译


以下为原文

Hello Eliza
 
Thanks for asking, but I'm afraid I couldn't resolve my issue despite your answer.
 
Before asking the question, I checked all the schematics and documents I could find. So of course I knew about pin 17, but it does not help solving the problem because I couldn't find any schematics showing where the pin goes to inside the module.
 
If you ask me if I have further questions, then well, yes:
 
- What chip is the PMIC exactly? I read in the hardware guide that it is a TI SNB9024 but I can't find any documentation on it. Is there a datasheet for this chip?
- According to the hardware guide, the SNB9024 is configurable via I2C. Is the I2C-port of the SNB9024 connected to an accessible I2C-bus?
- Which source code do you mean? The source code of the linux kernel? If yes, do you have any hint in which direction to search for it? Is there a kernel module for the PMIC? I searched in the source (thanks for the link) but could not find anything about the SNB9024. I found a lot of different PMICs, like e.g. the TPS65910, but not the SNB9024.
 
Any hint?
 
Best regards
举报

更多回帖

发帖
×
20
完善资料,
赚取积分