<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lufiabb</author_name>
  <author_url>https://blog.hatena.ne.jp/lufiabb/</author_url>
  <blog_title>Plan 9とGo言語のブログ</blog_title>
  <blog_url>https://blog.lufia.org/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>12インチMacBookにLinuxをインストールして使っていたが、負荷が上がったときにMacBookがサスペンドする問題に困っていた。サスペンドが発生した時刻には、systemd-logindのログに systemd-logind[299]: Suspend key pressed. のようなイベントが記録されていた。このログは、LinuxカーネルでKEY_SLEEPと定義されたキーが押されたときにsystemd-logindのbutton_dispatch関数が記録しているものだった。button_dispatchの主な処理を引用する。 static int button_dispatch…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.lufia.org%2Fentry%2F2021%2F08%2F15%2F030153&quot; title=&quot;systemd-logindにSuspend key pressedと記録されてサスペンドする問題とthermal-conf.xmlの書き方 - Plan 9とGo言語のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-08-15 03:01:53</published>
  <title>systemd-logindにSuspend key pressedと記録されてサスペンドする問題とthermal-conf.xmlの書き方</title>
  <type>rich</type>
  <url>https://blog.lufia.org/entry/2021/08/15/030153</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
