ACPI soft off with power button on Tyan S-2466 MPX
Joan Picanyol
lists-freebsd-current at biaix.org
Wed Jan 21 11:52:37 PST 2004
* John Baldwin <jhb at FreeBSD.org> [20040121 19:09]:
> On Wednesday 21 January 2004 11:32 am, Joan Picanyol wrote:
[...]
> > 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
> >
[...]
> > 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.
OK, that did the trick. Now I have:
502,p0,1$ sysctl -a | grep acpi | grep debug
debug.acpi.acpi_ca_version: 0x20030619
debug.acpi.layer: ACPI_EVENTS
debug.acpi.level: ACPI_LV_ERROR ACPI_LV_WARN ACPI_LV_INIT
ACPI_LV_DEBUG_OBJECT ACPI_LV_INFO ACPI_LV_ALL_EXCEPTIONS
debug.acpi.semaphore_debug: 0
However I don't see anything new, even though I have hw.acpi.verbose=1. FWIW,
the console output of 'acpiconf -s 1' is attached (note that it doesn't really
work, I'll try w/o firewire later). Also, I get errors compiling my asl
(output also attached).
I've looked at acpi-jp@, but the lack of a searchable archive makes it
looooong, anyone knows where to search it? acpi4linux is silent about my
motherboard too :(
How can I know wether it's a BIOS or a FreeBSD problem? What else should
I try to get this to work?
tks
--
pica
-------------- next part --------------
501,v0,0$ sudo acpiconf -s 1
fwohci0: fwohci_pci_suspend
evmisc-0195 [-8553] EvQueueNotifyRequest : Dispatching Notify(2) on node 0xc4
79e428
evmisc-0208 [-8553] EvQueueNotifyRequest : Notify value: Device Wake
evmisc-0281 [-8553] EvQueueNotifyRequest : No notify handler for [PWRB] node
0xc479e428
ata0: resetting devices ..
done
ata1: resetting devices ..
Jan 21 21:09:28 calvin kernel: nfs send error 50 for server grummit:/fs/home/mou
nt
ad2: WARNING - WRITE_DMA recovered from missing interrupt
ata1: resetting devices ..
done
ad2: FAILURE - SETFEATURES timed out
ad2: FAILURE - SETFEATURES status=1<ERROR> error=0
done
fwohci0: fwohci_pci_resume: power_state = 0x00000000
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
fwohci0: unrecoverable error
502,v0,0$ Jan 21 21:09:44 calvin kernel: wakeup from sleeping state (slept 00:00
:06)
-------------- next part --------------
Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030619 [Jan 17 2004]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b
my.asl 297: Store (Local0, Local0)
Error 1013 - ^ Method local variable is not initialized (Local0)
my.asl 302: Store (Local0, Local0)
Error 1013 - ^ Method local variable is not initialized (Local0)
my.asl 307: Store (Local0, Local0)
Error 1013 - ^ Method local variable is not initialized (Local0)
my.asl 354: And (IO2B, 0xFE, IO2B)
Error 1022 - ^ Object does not exist (IO2B)
my.asl 354: And (IO2B, 0xFE, IO2B)
Error 1022 - Object does not exist ^ (IO2B)
my.asl 358: Method (\_WAK, 1, NotSerialized)
Warning 2026 - ^ Reserved method must return a value (_WAK)
my.asl 372: Store (Local0, Local0)
Error 1013 - ^ Method local variable is not initialized (Local0)
my.asl 377: Store (Local0, Local0)
Error 1013 - ^ Method local variable is not initialized (Local0)
ASL Input: my.asl - 2189 lines, 65829 bytes, 678 keywords
Compilation complete. 7 Errors, 1 Warnings, 0 Remarks, 315 Optimizations
More information about the freebsd-current
mailing list