From owner-freebsd-current@FreeBSD.ORG Wed Jan 21 11:52:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B8EF16A4CE for ; Wed, 21 Jan 2004 11:52:37 -0800 (PST) Received: from grummit.biaix.org (86.Red-213-97-212.pooles.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 3ABE443D3F for ; Wed, 21 Jan 2004 11:52:34 -0800 (PST) (envelope-from lists-freebsd-current@biaix.org) Received: (qmail 6665 invoked by uid 1000); 21 Jan 2004 19:46:14 -0000 Date: Wed, 21 Jan 2004 20:46:14 +0100 From: Joan Picanyol To: freebsd-current@freebsd.org Message-ID: <20040121194614.GA5532@grummit.biaix.org> Mail-Followup-To: freebsd-current@freebsd.org References: <20040121163221.GA3865@grummit.biaix.org> <200401211238.38023.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <200401211238.38023.jhb@FreeBSD.org> User-Agent: Mutt/1.4.1i Subject: Re: ACPI soft off with power button on Tyan S-2466 MPX X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2004 19:52:37 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * John Baldwin [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: 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=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--