From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 12 21:37:03 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CD2F16A4CE for ; Sun, 12 Dec 2004 21:37:03 +0000 (GMT) Received: from otter3.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B77F843D5D for ; Sun, 12 Dec 2004 21:37:02 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.22] (andersonbox2.centtech.com [192.168.42.22]) by otter3.centtech.com (8.12.3/8.12.3) with ESMTP id iBCLavOJ081875; Sun, 12 Dec 2004 15:37:01 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <41BCB9F7.9090705@centtech.com> Date: Sun, 12 Dec 2004 15:36:55 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041110 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <41B4E577.9060502@root.org> <41B50754.10604@centtech.com> <41B50C12.6070103@root.org> <20041208095845.GA896@galgenberg.net> <41B76AF2.3040204@root.org> <20041210180446.GA768@galgenberg.net> <41B9EE4E.8030703@root.org> <20041210205417.GB768@galgenberg.net> <41BB5146.1080102@root.org> <41BBE3BE.8090201@centtech.com> <41BBE502.8020306@root.org> In-Reply-To: <41BBE502.8020306@root.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org Subject: Re: suspend/resume improved? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 21:37:03 -0000 Nate Lawson wrote: > Eric Anderson wrote: > >> I just tried this patch (my laptop is having similar responses) - no >> change. I'm off to adding some manual debug code to the acpi source >> files you mentioned in an earlier email. >> >> I can't seem to find Warner's beep code patch though - do you have a >> pointer? > > > I dug this out of Warner's p4 tree, as written by Takanori Watanabe > (attached). I'll commit this at some point under a kernel option so it > can be enabled for testing. For now, just use the patch. Thanks - I'll play with this. So far, what I've found is that my machine reboots executing this line: Status = AcpiHwRegisterWrite (ACPI_MTX_DO_NOT_LOCK, ACPI_REGISTER_PM1A_CONTROL, PM1AControl); in: src/sys/contrib/dev/acpica/hwsleep.c What's the next step? Should I bother going through the case statements in hwregs.c to see if I can nail what's doing it, or do you maybe have some hints? It's painfully slow rebuilding kernels and testing them each time.. :) Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology When in doubt, mumble; when in trouble, delegate; when in charge, ponder ------------------------------------------------------------------------