Re: Power Button

Hans Malissa <[email protected]> Mon, 03 Aug 2020 00:07:47 -0000
Newsgroups gmane.linux.lfs.general
Message-ID <[email protected]>
--===============1718164263097236216==
Content-Type: multipart/alternative; boundary=Apple-Webmail-42--5115bee2-b0dc-498a-b851-b783470401bf


--Apple-Webmail-42--5115bee2-b0dc-498a-b851-b783470401bf
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
    charset=utf-8;
    format=flowed

On July 21, 2020 at 10:35 AM, Thomas Trepl <[email protected]> w=
rote:=0A=0AAm Dienstag, den 21.07.2020, 15:44 +0000 schrieb Hans Malissa:=0A=
=0ANot exactly a BLFS-specific support request, that's why I'm posting in =
the lfs-chat list.=0AThis may be a silly question: in my host distribution=
 (Arch Linux) I can push the power button, and the machine would shut down=
. I would like to have the same functionality in BLFS. How do I get to thi=
s? Is this something that needs to be configured in the kernel, or is that=
 a particular package that's needed?=0A=0AWell, i assume you'll have to se=
t kernel settings to match your=0Ahardware. I know there are some modules/=
setting for the ThinkPad=0Alaptops, so i'd say there are one for other phy=
sics, too.=0A=0ANext, I'd assume the button-events is something to configu=
re in dbus=0Aor such.=0A=0A=0AWhere would I look to figure out how this db=
us setting is configured?=0AGreetings,=0A=0A=0A=0AHans=0A
--Apple-Webmail-42--5115bee2-b0dc-498a-b851-b783470401bf
Content-Type: multipart/related;
    type="text/html";
    boundary=Apple-Webmail-86--5115bee2-b0dc-498a-b851-b783470401bf


--Apple-Webmail-86--5115bee2-b0dc-498a-b851-b783470401bf
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
    charset=utf-8;

<html><body><div>On July 21, 2020 at 10:35 AM, Thomas Trepl &lt;thomas@linuxfromscratc=
h.org&gt; wrote:<br><div><blockquote type=3D"cite"><div class=3D"msg-quote=
"><div class=3D"_stretch"><span class=3D"body-text-content">Am Dienstag, d=
en 21.07.2020, 15:44 +0000 schrieb Hans Malissa:<br><blockquote type=3D"ci=
te" class=3D"quoted-plain-text">Not exactly a BLFS-specific support reques=
t, that's why I'm posting in the lfs-chat list.</blockquote><blockquote ty=
pe=3D"cite" class=3D"quoted-plain-text">This may be a silly question: in m=
y host distribution (Arch Linux) I can push the power button, and the mach=
ine would shut down. I would like to have the same functionality in BLFS. =
How do I get to this? Is this something that needs to be configured in the=
 kernel, or is that a particular package that's needed?</blockquote><br>We=
ll, i assume you'll have to set kernel settings to match your<br>hardware.=
 I know there are some modules/setting for the ThinkPad<br>laptops, so i'd=
 say there are one for other physics, too.<br><br>Next, I'd assume the but=
ton-events is something to configure in dbus<br>or such.</span></div></div=
></blockquote></div><div><span><br data-mce-bogus=3D"1"></span></div><div>=
<span>Where would I look to figure out how this dbus setting is configured=
?</span></div><div><span>Greetings,<br data-mce-bogus=3D"1"></span></div><=
div><span><br data-mce-bogus=3D"1"></span></div><div><span>Hans<br data-mc=
e-bogus=3D"1"></span></div></div></body></html>
--Apple-Webmail-86--5115bee2-b0dc-498a-b851-b783470401bf--

--Apple-Webmail-42--5115bee2-b0dc-498a-b851-b783470401bf--


--===============1718164263097236216==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

LS0gCmh0dHA6Ly9saXN0cy5saW51eGZyb21zY3JhdGNoLm9yZy9saXN0aW5mby9sZnMtY2hhdApG
QVE6IGh0dHA6Ly93d3cubGludXhmcm9tc2NyYXRjaC5vcmcvYmxmcy9mYXEuaHRtbApVbnN1YnNj
cmliZTogU2VlIHRoZSBhYm92ZSBpbmZvcm1hdGlvbiBwYWdlCg==

--===============1718164263097236216==--