[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: poweroff support on Hurd?



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: