Re: poweroff support on Hurd?
- To: Martin-Éric Racine <martin-eric.racine@iki.fi>
- Cc: Mailing List - Debian GNU/Hurd <debian-hurd@lists.debian.org>
- Subject: Re: poweroff support on Hurd?
- From: Joshua Branson <jbranso@dismail.de>
- Date: Sat, 09 Nov 2024 11:40:10 -0500
- Message-id: <[🔎] 87y11stl79.fsf@dismail.de>
- In-reply-to: <20231207092654.m6ntnzrxcnvj4hzs@begin> (Samuel Thibault's message of "Thu, 7 Dec 2023 10:26:54 +0100")
- References: <CAPZXPQcvk3pPi2m9w=Fdvk9bdNPFFHECMGP2+SsFsBk_OXyKFQ@mail.gmail.com> <20231204114811.t77duqhjbaew4sok@begin> <CAPZXPQfpKMLNBTizQ9M+HGVQTYgBQzZUX1nKP8sFN16bAakrsA@mail.gmail.com> <20231207001302.cwqihljdfmp3pvll@begin> <CAPZXPQfoT1pQm_UnAC78cZD665KKjO-N52m43NTNN-fyRseXwA@mail.gmail.com> <20231207092654.m6ntnzrxcnvj4hzs@begin>
Samuel Thibault <sthibault@debian.org> writes:
> Martin-Éric Racine, le jeu. 07 déc. 2023 08:16:34 +0200, a ecrit:
>> On Thu, Dec 7, 2023 at 2:13 AM Samuel Thibault <sthibault@debian.org> wrote:
>> > Martin-Éric Racine, le mar. 05 déc. 2023 10:48:57 +0200, a ecrit:
>> > > On Mon, Dec 4, 2023 at 1:48 PM Samuel Thibault <sthibault@debian.org> wrote:
>> > > > Martin-Éric Racine, le lun. 04 déc. 2023 12:16:59 +0200, a ecrit:
>> > > > > ACPI support. I noticed during bootup that an ACPI server is launched,
>> > > > > but issuing "exec sudo poweroff" merely halts the system; it doesn't
>> > > > > send an ACPI poweroff at the end of the shutdown process.
>> > > > >
>> > > > > Is there any way to enable this or is ACPI poweroff merely not
>> > > > > supported by Hurd?
>> > > >
>> > > > It *is* supported and works for me. There is nothing particular to do to
>> > > > get it.
>> > > >
>> > > > Is the acpi translator perhaps dying at some point?
>> > > >
>> > > > Are you running hurd-i386 or hurd-amd64?
>> > >
>> > > As far as I can tell, pci-arbiter succesfully launches acpi on bootup
>> > > and terminates it during shutdown.
>> >
>> > Just to make sure, does
>> >
>> > showtrans /servers/shutdown
>> >
>> > tell you /hurd/shutdown? and
>> >
>> > showtrans /servers/acpi
>> >
>> > tell you /hurd/acpi? and /servers/acpi/tables/ contains some tables?
>>
>> [2023-12-07 08:14](HURD i386)perkelix@pxeth:~$ showtrans /servers/shutdown
>> /hurd/shutdown
>> [2023-12-07 08:14](HURD i386)perkelix@pxeth:~$ showtrans /servers/acpi
>> /hurd/acpi
>> [2023-12-07 08:14](HURD i386)perkelix@pxeth:~$ ls /servers/acpi/tables/
>> APIC FACP SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT
>> [2023-12-07 08:14](HURD i386)perkelix@pxeth:~$
>
> Ok, then I don't any immediate idea, this needs investigation on your
> system.
I can confirm that this also happens on my T43. It doesn't really
bother me, I just have to hold the poweroff button for 2-3 seconds after
$ sudo halt finishes.
Samuel mentioned that I can try to debug this, because the shutoff
server is less than 200 lines long. I'll see if I can add in some
mach_print calls and see what's up. It's officially on my todo list!
>
> Samuel
>
--
Joshua Branson
Sent from the Hurd
Reply to: