覆盆子PI - 从关机状态唤醒 [英] Raspberry PI - Wake Up from shutdown state

查看:234
本文介绍了覆盆子PI - 从关机状态唤醒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个只需一个按钮即可打开和关闭Raspberry Pi的解决方案。我已经设法将其关闭,但我无法将其重新打开。 


我已经在linux社区读到将GPIO 3连接到GND将启动如果之前从软件关闭了Raspberry。基本上我在GPIO 3上按下按钮关闭它(按钮连接到GPIO 3和GND) 当按下相同的按钮时我想要
来打开它。


当我尝试时,它没有用。


阅读之后litlle bit more我发现了以下内容:



所以我的问题是:


如何唤醒Raspberry PI 3 Model B通过将GPIO 3短接到GND来运行Windows 10 IoT核心版本10.0.16299.19?


和我的一般知识中学:


什么电源状态STARTShutdown方法将Raspberry Pi放入?










$

解决方案

Hello Alex,


要通过GPIO引脚关闭或唤醒,您可以通过IoT Dashboard提交建议 - >设置 - >发送反馈。


>>> BeginShutdown方法将Raspberry Pi放入哪种电源状态?


重启或关机。有关详细信息,请参考

BeginShutdown方法
及其参数
ShutdownKind


祝你好运,


Rita


I'm after a solution for switching on and off the Raspberry Pi with a single button. I've managed to turn it off, but I am not able to turn it back on. 

I've read in linux community that connecting the GPIO 3 to GND will start up the Raspberry if previously was shutdown from software. Basically I listen on GPIO 3 for button press to shut it down (button is connected to GPIO 3 and GND)  and I wanted to turn it on when same button is pressed.

When I tried, it didnt work.

After reading a litlle bit more I found out followings:

So my question is:

What can I do to wake up the Raspberry PI 3 Model B running Windows 10 IoT Core version 10.0.16299.19 by shorting GPIO 3 to GND?

and secondary for my general knowledge:

What power state does BeginShutdown method puts the Raspberry Pi in?

解决方案

Hello Alex,

For shut down or wake up via GPIO pin, you can submit a suggestion through IoT Dashboard->Settings->Send feedback.

>>>What power state does BeginShutdown method puts the Raspberry Pi in?

It is Restart or Shutdown. For more information you can reference BeginShutdown method and its parameter ShutdownKind.

Best regards,

Rita


这篇关于覆盆子PI - 从关机状态唤醒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆