From nobody@FreeBSD.org  Tue Oct 30 03:46:13 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2677A5AD
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Oct 2012 03:46:13 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 0F2C98FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Oct 2012 03:46:13 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9U3kCet027366
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Oct 2012 03:46:12 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q9U3kC12027351;
	Tue, 30 Oct 2012 03:46:12 GMT
	(envelope-from nobody)
Message-Id: <201210300346.q9U3kC12027351@red.freebsd.org>
Date: Tue, 30 Oct 2012 03:46:12 GMT
From: jb <jb.1234abcd@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ACPICONF(8) does not have -k option documented.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         173202
>Category:       docs
>Synopsis:       [patch] ACPICONF(8) does not have -k option documented.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    joel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 30 03:50:00 UTC 2012
>Closed-Date:    Sun Apr 21 10:46:19 UTC 2013
>Last-Modified:  Sun Apr 21 10:46:19 UTC 2013
>Originator:     jb
>Release:        FreeBSD 9.1-RC2 #0
>Organization:
>Environment:
FreeBSD localhost.localdomain 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct  2 17:11:45 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
$ cat /etc/rc.suspend
..
        # Notify the kernel to continue the suspend process
        /usr/sbin/acpiconf -k 0
..

$ acpiconf -h
usage: acpiconf [-h] [-i batt] [-k ack] [-s 1-4]

ACPICONF(8) does not have -k option documented.

>How-To-Repeat:
as above
>Fix:
$ find /usr/src/ -iname "*acpiconf*"
..
/usr/src/usr.sbin/acpi/acpiconf/acpiconf.8

Update ACPICONF(8) as follows:
..
-k ack          Notification to kernel about pending suspend request.
                ack = 0 - no error (continue suspend)
                      non-0 - error no (abort suspend)
..


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-doc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Oct 30 07:30:16 UTC 2012 
Responsible-Changed-Why:  
reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173202 
State-Changed-From-To: open->closed 
State-Changed-By: joel 
State-Changed-When: Sun Apr 21 10:43:49 UTC 2013 
State-Changed-Why:  
The -k flag is undocumented on purpose according to the log message in 
revision 170976. I'm closing this PR. Thanks for the bug report. 


Responsible-Changed-From-To: freebsd-doc->joel 
Responsible-Changed-By: joel 
Responsible-Changed-When: Sun Apr 21 10:43:49 UTC 2013 
Responsible-Changed-Why:  
Close. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173202 
>Unformatted:
