From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 12 06:28:25 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 6589516A4CE for ; Sun, 12 Dec 2004 06:28:25 +0000 (GMT) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 150F843D5D for ; Sun, 12 Dec 2004 06:28:25 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (adsl-64-171-186-123.dsl.snfc21.pacbell.net [64.171.186.123])iBC6SKHD003881; Sun, 12 Dec 2004 01:28:20 -0500 Message-ID: <41BBE502.8020306@root.org> Date: Sat, 11 Dec 2004 22:28:18 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson 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> In-Reply-To: <41BBE3BE.8090201@centtech.com> Content-Type: multipart/mixed; boundary="------------040000090002020704050907" 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 06:28:25 -0000 This is a multi-part message in MIME format. --------------040000090002020704050907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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. -- Nate --------------040000090002020704050907 Content-Type: text/plain; name="beep.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="beep.diff" Index: sys/i386/acpica/acpi_wakecode.S =================================================================== RCS file: /home/ncvs/src/sys/i386/acpica/acpi_wakecode.S,v retrieving revision 1.9 diff -u -r1.9 acpi_wakecode.S --- sys/i386/acpica/acpi_wakecode.S 1 Jan 2004 22:57:22 -0000 1.9 +++ sys/i386/acpica/acpi_wakecode.S 12 Dec 2004 06:26:15 -0000 @@ -33,12 +33,20 @@ #include #include +#define BEEP movb $0xc0, %al ; \ + outb %al, $0x42 ; \ + movb $0x01, %al ; \ + outb %al, $0x42 ; \ + inb $0x61, %al ; \ + orb $0x3, %al ; \ + outb %al, $0x61 ; \ + .align 4 .code16 wakeup_16: nop cli - + BEEP /* * Set up segment registers for real mode and a small stack for * any calls we make. --------------040000090002020704050907--