<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5552&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Missing BAT0 in /proc/acpi/wakeup, Daedalus, ThinkPad z13 (2022)]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5552</link>
		<description><![CDATA[The most recent posts in Missing BAT0 in /proc/acpi/wakeup, Daedalus, ThinkPad z13 (2022).]]></description>
		<lastBuildDate>Wed, 15 Feb 2023 13:55:55 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Missing BAT0 in /proc/acpi/wakeup, Daedalus, ThinkPad z13 (2022)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41113#p41113</link>
			<description><![CDATA[<p>Didn&#039;t work </p><div class="codebox"><pre><code>Feb 15 05:47:15 ibm/hotkey LEN0268:00 00000080 00006032
Feb 15 05:48:10 button/lid LID close
Feb 15 05:48:36 battery PNP0C0A:00 00000080 00000001
Feb 15 05:48:36 ibm/hotkey LEN0268:00 00000080 00006032</code></pre></div><p>Do you think it might be that ibm/hotkey getting triggered simultaneously with the battery event and that might be what&#039;s causing this?</p>]]></description>
			<author><![CDATA[dummy@example.com (yokorly)]]></author>
			<pubDate>Wed, 15 Feb 2023 13:55:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41113#p41113</guid>
		</item>
		<item>
			<title><![CDATA[Re: Missing BAT0 in /proc/acpi/wakeup, Daedalus, ThinkPad z13 (2022)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41072#p41072</link>
			<description><![CDATA[<p>Try</p><div class="codebox"><pre><code># echo &#039;disabled&#039; &gt; /sys/class/power_supply/BAT0/device/power/wakeup</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 13 Feb 2023 06:14:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41072#p41072</guid>
		</item>
		<item>
			<title><![CDATA[Missing BAT0 in /proc/acpi/wakeup, Daedalus, ThinkPad z13 (2022)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41069#p41069</link>
			<description><![CDATA[<p>Hey guys!</p><p>Super stoked to get Devuan &quot;unstable&quot; running almost perfectly out of the box on a new ThinkPad z13.&#160; Really fantastic work!&#160; One of the only remaining issues is with ACPI and waking.&#160; It has an issue where suspend wakes from non-critical battery events.&#160; I used acpi_listen to see that:</p><div class="codebox"><pre><code>battery PNP0C0A:00 00000080 00000001</code></pre></div><p>wakes it from suspend, both when I plug in AC and when I disconnect AC.</p><p>When I try to get a &#039;handle&#039; for this device:</p><p>cat /sys/bus/acpi/devices/PNP0C0A:00/path gives \_SB_.PCI0.LPC0.EC0_.BAT0</p><p>But my /proc/acpi/wakeup does not contain anything having to do with the battery, of this device:</p><div class="codebox"><pre><code>Device  S-state   Status   Sysfs node
GPP0      S4    *disabled
GPP1      S4    *enabled   pci:0000:00:01.2
GPP2      S0    *disabled
GPP5      S4    *disabled
GPP7      S4    *disabled
SWUS      S4    *disabled
SWUS      S4    *disabled
GP17      S4    *enabled   pci:0000:00:08.1
XHC0      S4    *disabled  pci:0000:63:00.3
XHC1      S4    *disabled  pci:0000:63:00.4
HS03      S4    *disabled  no-bus:usb3-port3
                *disabled  usb:3-3
                *disabled  usb:3-3:1.0
XHC2      S4    *disabled  pci:0000:64:00.0
NHI0      S3    *enabled   pci:0000:64:00.5
XHC3      S3    *disabled  pci:0000:64:00.3
NHI1      S3    *enabled   pci:0000:64:00.6
XHC4      S3    *disabled  pci:0000:64:00.4
LID       S4    *enabled   platform:PNP0C0D:00
SLPB      S3    *enabled   platform:PNP0C0E:00</code></pre></div><p>You can see that I tried disabling wakeups from XHCy, to see if that was somehow the issue, but it wasn&#039;t.&#160; (Battery looks like its its own thing, so I didn&#039;t think it would work).&#160; I also tried </p><div class="codebox"><pre><code>echo &quot;disabled&quot; &gt; /sys/bus/acpi/devices/PNP0C0A:00/power/wakeup</code></pre></div><p>but that didn&#039;t work either.&#160; Any ideas?</p>]]></description>
			<author><![CDATA[dummy@example.com (yokorly)]]></author>
			<pubDate>Sun, 12 Feb 2023 22:34:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41069#p41069</guid>
		</item>
	</channel>
</rss>
