<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.geekworm.com/index.php?action=history&amp;feed=atom&amp;title=CommentStreams%3A9d7b9e53ef5ff88dcc59fbefceb2182b</id>
	<title>CommentStreams:9d7b9e53ef5ff88dcc59fbefceb2182b - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.geekworm.com/index.php?action=history&amp;feed=atom&amp;title=CommentStreams%3A9d7b9e53ef5ff88dcc59fbefceb2182b"/>
	<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CommentStreams:9d7b9e53ef5ff88dcc59fbefceb2182b&amp;action=history"/>
	<updated>2026-07-25T15:37:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.geekworm.com/index.php?title=CommentStreams:9d7b9e53ef5ff88dcc59fbefceb2182b&amp;diff=32935&amp;oldid=prev</id>
		<title>2.50.121.7: Migrated comment #2879</title>
		<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CommentStreams:9d7b9e53ef5ff88dcc59fbefceb2182b&amp;diff=32935&amp;oldid=prev"/>
		<updated>2022-11-06T15:53:08Z</updated>

		<summary type="html">&lt;p&gt;Migrated comment #2879&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Hey,&lt;br /&gt;
When the main power is down, I want the Raspberry pi to show a message, close some programs safely, and then shut down. Then, once I connect the main power again, the pi turns on automatically. That means I don&amp;#039;t want to interact with the onboard button since the pi will be closed in a case.&lt;br /&gt;
I referred to the Hardware documentation and could enable the automatic switch on when I connect the power, but that only happens when the X708 hat is off.&lt;br /&gt;
&lt;br /&gt;
My problem now is how to switch the hat OFF through the software so that when I connect the power again, the pi will automatically turn on. I referred to the Software documentation, followed the directions, and repeated many times, but the &amp;quot;x708off&amp;quot; doesn&amp;#039;t switch the hat OFF. When I run it on the command line, I get &amp;quot;X708 Shutting down...&amp;quot; but the x708 is still ON even after the command finishes running. I uninstalled and reinstalled the files many times, but the same thing happened every time.&lt;br /&gt;
&lt;br /&gt;
I2C is enabled, and I can detect when the power is lost, but I can&amp;#039;t switch off the x708 or shut down the pi. When I run &amp;quot;plsd.py&amp;quot;, it gets stuck at &amp;quot;Shutdown in 5 seconds&amp;quot;, but it never shuts down.&lt;br /&gt;
&lt;br /&gt;
I appreciate your help,&lt;br /&gt;
I&amp;#039;m using Raspbian GNU/Linux 10 (buster) on raspberry pi 4&amp;lt;!-- migrated from Comments; original IP: 2.50.121.7 --&amp;gt;&lt;/div&gt;</summary>
		<author><name>2.50.121.7</name></author>
	</entry>
</feed>