Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 03:46:12 GMT
From:      jb <jb.1234abcd@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/173202: ACPICONF(8) does not have -k option documented.
Message-ID:  <201210300346.q9U3kC12027351@red.freebsd.org>
Resent-Message-ID: <201210300350.q9U3o0bv027884@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173202
>Category:       bin
>Synopsis:       ACPICONF(8) does not have -k option documented.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 30 03:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210300346.q9U3kC12027351>