From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 19 15:16:34 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 008DE1065673 for ; Tue, 19 Aug 2008 15:16:34 +0000 (UTC) (envelope-from nate@root.org) Received: from nlpi101.prodigy.net (nlpi101.prodigy.net [207.115.36.117]) by mx1.freebsd.org (Postfix) with ESMTP id B0BB68FC13 for ; Tue, 19 Aug 2008 15:16:33 +0000 (UTC) (envelope-from nate@root.org) X-ORBL: [71.139.13.170] Received: from [10.0.5.18] (ppp-71-139-13-170.dsl.snfc21.pacbell.net [71.139.13.170]) by nlpi101.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m7JFGUBn027499; Tue, 19 Aug 2008 10:16:31 -0500 Message-ID: <48AAE3CF.50405@root.org> Date: Tue, 19 Aug 2008 08:16:31 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Peter Jeremy References: <48AA2F87.8060506@pacific.net.sg> <20080819073709.GU32539@server.vk2pj.dyndns.org> In-Reply-To: <20080819073709.GU32539@server.vk2pj.dyndns.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: powerd, please test patch X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 15:16:34 -0000 Peter Jeremy wrote: > On 2008-Aug-19 10:27:19 +0800, Erich Dollansky wrote: >> I am using powerd on a notebook. Stopping powerd left the CPU running in >> the last mode it was in. >> >> This patch extents powerd's command line by the parameter '-e' to set >> the exit mode. > > Can you please submit a PR with your patches as context or unified diffs. > >> This patch is for FreeBSD 6.3 updated beginning of the month. > > Without either context or exact file revisions, your patch cannot be > safely applied. Instead of setting an exit mode with a new -e flag, why not just save the original value when powerd starts and restore it on exit? -- Nate