覆盆子PI - 从关机状态唤醒 [英] Raspberry PI - Wake Up from shutdown state
问题描述
我正在寻找一个只需一个按钮即可打开和关闭Raspberry Pi的解决方案。我已经设法将其关闭,但我无法将其重新打开。
我已经在linux社区读到将GPIO 3连接到GND将启动如果之前从软件关闭了Raspberry。基本上我在GPIO 3上按下按钮关闭它(按钮连接到GPIO 3和GND) 当按下相同的按钮时我想要
来打开它。
当我尝试时,它没有用。
阅读之后litlle bit more我发现了以下内容:
- " 我们(微软)没有完全关闭Raspberry Pi设备 "
https://social.msdn.microsoft.com/Forums/en-US/36b32bf5-f17d-4b2b-a605-8a16e4d5f901/what -is-the-right-to-shutdown-windows-10-iot?forum = WindowsIoT - ShutdownManager类让我:BeginShutdown,EnterState:ConnectedStandby,EnterState:SleepS3。但是,在检查可用性时,我发现我的Raspberry Pi 3型号B上没有ConnectedStandBy和SleepS3。
- 唤醒设备的可能性是以某种方式由 管理。 bootcode.bin。 ( https://elinux.org/RPI_safe_mode#cite_note-1 )bootcode.bin由引导序列中的GPU。
- 我可以使用P6头引脚(也称为RUN)将其打开,但如果在OS运行时使用此解决方案也执行硬重置,所以我不想去这样。
所以我的问题是:
如何唤醒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:
- "We(Microsoft) do not completely shutdown the Raspberry Pi device " https://social.msdn.microsoft.com/Forums/en-US/36b32bf5-f17d-4b2b-a605-8a16e4d5f901/what-is-the-right-way-to-shutdown-windows-10-iot?forum=WindowsIoT
- ShutdownManager class lets me: BeginShutdown, EnterState: ConnectedStandby, EnterState: SleepS3. However, checking for availability I found out that ConnectedStandBy and SleepS3 are not available on my Raspberry Pi 3 Model B.
- Possibility to wake the device up is somehow managed by bootcode.bin. (https://elinux.org/RPI_safe_mode#cite_note-1) bootcode.bin is loaded by GPU in the bootsequence.
- I can switch it on using the P6 header pins (a.k.a. RUN) but this solution also performs a hard-reset if used while OS is running, so I don't want to go this way.
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屋!