Re: ACPI soft off with power button on Tyan S-2466 MPX

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 21 Jan 2004 12:38:38 -0500
On Wednesday 21 January 2004 11:32 am, Joan Picanyol wrote:
> Hi,
>
> I'm trying to get this to work but no luck so far. The same question on
> (possibly) similar hardware is examined at (long line):
>
> http://groups.google.es/groups?hl=es&lr=&ie=UTF-8&oe=UTF-8&threadm=fa.j70rt
>lg.v4c63i%40ifi.uio.no&rnum=2&prev=/groups%3Fq%3Dtyan%2Bacpi%2Bfreebsd%26hl%
>3Des%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3Dfa.j70rtlg.v4c63i%2540ifi.ui
>o.no%26rnum%3D2
>
> but no solutions are given. acpiconf -s 5 works OK, holding the power
> button long enough gives me a hard poweroff. I have
> hw.acpi.power_button_state=S5, and the following lines show in my dmesg
> (full verbose version + asl + kernel configs at
> http://grummit.biaix.org:8888/joan/debug/FreeBSD/ACPI/ )
>
> ...
> acpi0: Power Button (fixed)
> acpi0: Sleep Button (fixed)
> ...
> acpi_button0: <Power Button> on acpi0
>
> I've compiled with ACPI_DEBUG expecting to be able to see the events,
> however I then get these lines at boot:
>
> ...
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07e6400
> link_elf: symbol db_readline undefined
> KLD file acpi.ko - could not finalize loading
> ...
>
> And acpi is not loaded, su unfortunately I'm stumped here. Why can't I
> load my acpi debug module? What else can I do to get a soft off on power
> button?

It will only work if your kernel has 'options DDB' in it it seems.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Wed Jan 21 2004 - 09:14:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:39 UTC