From owner-freebsd-acpi@freebsd.org Sat Sep 26 07:49:01 2015 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A00ACA08B95 for ; Sat, 26 Sep 2015 07:49:01 +0000 (UTC) (envelope-from bounces+73574-3fe6-freebsd-acpi=freebsd.org@sendgrid.net) Received: from o1.l99.sendgrid.net (o1.l99.sendgrid.net [198.37.153.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E9ACFD4 for ; Sat, 26 Sep 2015 07:49:00 +0000 (UTC) (envelope-from bounces+73574-3fe6-freebsd-acpi=freebsd.org@sendgrid.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.info; h=subject:to:references:from:mime-version:in-reply-to:content-type:content-transfer-encoding; s=smtpapi; bh=IYgx3HZOygmd6TaNip9taAnYog4=; b=OrtKglHsMzL8WhvUcJ +uD8PWR0B1E+afeR46szVMAYcNOomaJm/tzC3TqakZV5FXsOF+na6Hvl5Im+k9Jn 4zx7ocXWKFo4JCvbPUzy46nOn/jQz6KblVkw3jbD2Fux5mPZ07LddltcT74JdldM a8Hsnpf0XPmyBJJbye5SyVTKQ= Received: by filter0455p1mdw1.sendgrid.net with SMTP id filter0455p1mdw1.28900.56064DE93A 2015-09-26 07:48:57.765770447 +0000 UTC Received: from mail.tarsnap.com (ec2-54-86-246-204.compute-1.amazonaws.com [54.86.246.204]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id ZuFDrR0sQiy-dBCwqitYLA for ; Sat, 26 Sep 2015 07:48:57.750 +0000 (UTC) Received: (qmail 88021 invoked from network); 26 Sep 2015 07:48:45 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by ec2-107-20-205-189.compute-1.amazonaws.com with ESMTP; 26 Sep 2015 07:48:45 -0000 Received: (qmail 46331 invoked from network); 26 Sep 2015 07:48:41 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by clamshell.daemonology.net with SMTP; 26 Sep 2015 07:48:41 -0000 Subject: Re: disabling sleep when shutting down To: Hans Petter Selasky , "freebsd-acpi@freebsd.org" References: <55FA3848.7090802@freebsd.org> <55FB233D.2080000@FreeBSD.org> <55FB48E3.20401@freebsd.org> <55FC4F13.3090603@FreeBSD.org> <55FC57F9.3050702@yahoo.com> <55FE5D54.1030806@freebsd.org> <5601A863.5070406@FreeBSD.org> <560262BF.7090107@freebsd.org> <5602DE8D.3020102@FreeBSD.org> <560648A7.4030708@freebsd.org> <56064C48.8020100@selasky.org> From: Colin Percival Message-ID: <56064DD9.6020503@freebsd.org> Date: Sat, 26 Sep 2015 00:48:41 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <56064C48.8020100@selasky.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SG-EID: t2fXfoZHCw6vGsGKHqKxJ9qWwHSlQfPdDS+3+p6rOCtiESGtHN70TomWRk+KwEgW/YDE/y/OL5aO8V zbTHi35/jMVruwB/Ed3Ytsa15srZuSSDp/j6K5fyfy1VGiTJyeeCflJbu+S4fradRDa6q7Jrh9wlds 86kB8X5fCCz/pBwOzuDzp8GgMLhGsvrxBP+e X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2015 07:49:01 -0000 On 09/26/15 00:42, Hans Petter Selasky wrote: > On 09/26/15 09:26, Colin Percival wrote: >> I think there is consensus for: >> * Using a sysctl (simpler than a device node), > > Presumably a read/write tunable sysctl, RWTUN? I suppose it could be, but the intention here was to block suspend while we're shutting down, not to have it always blocked. The sysctl isn't a configuration setting, it's a userland-kernel communications channel. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid