Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2004 20:46:14 +0100
From:      Joan Picanyol <lists-freebsd-current@biaix.org>
To:        freebsd-current@freebsd.org
Subject:   Re: ACPI soft off with power button on Tyan S-2466 MPX
Message-ID:  <20040121194614.GA5532@grummit.biaix.org>
In-Reply-To: <200401211238.38023.jhb@FreeBSD.org>
References:  <20040121163221.GA3865@grummit.biaix.org> <200401211238.38023.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

* John Baldwin <jhb@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

--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="acpiconf-s1.out"

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)



--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="iasl.out"


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

--azLHFNyN32YCQGCU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040121194614.GA5532>