From owner-freebsd-current@FreeBSD.ORG Wed Jan 21 10:14:27 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 DDE4616A4CE for ; Wed, 21 Jan 2004 10:14:27 -0800 (PST) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B74743D58 for ; Wed, 21 Jan 2004 10:14:20 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 16139 invoked from network); 21 Jan 2004 18:14:19 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 21 Jan 2004 18:14:19 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i0LIDxMC019746; Wed, 21 Jan 2004 13:14:16 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Joan Picanyol , freebsd-current@freebsd.org Date: Wed, 21 Jan 2004 12:38:38 -0500 User-Agent: KMail/1.5.4 References: <20040121163221.GA3865@grummit.biaix.org> In-Reply-To: <20040121163221.GA3865@grummit.biaix.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401211238.38023.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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 18:14:28 -0000 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: 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org