Bug 203436

Summary: Longterm error in acpiconf(8)
Product: Documentation Reporter: Ian Smith <smithi>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Some People CC: jkim, smithi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ian Smith 2015-09-29 12:51:36 UTC
All versions of acpiconf(8) since at least 5.5 state that -s type may
include sleep state 5 (soft off).  This has not been the case since
r170976 by njl, Jun 21 22:50:37 2007 when S5 was removed with comment:
"* S5 (power off) is no longer supported via acpiconf -s 5 or via
apm -z/-Z.  This restores previous behaviour of halt/shutdown -p
being the interface."

Ignoring tabbing and markup issues, I suggest this update:

      but similar to S1), 3 (the CPU context is lost and memory con-
-     text is preserved), 4 (the CPU context is lost and memory con-
-     text is stored to disk) and 5 (soft off).  Sleep states may also
+     text is preserved) and 4 (the CPU context is lost and memory
+     context is stored to disk, if supported).  Sleep states may also
      be given as S1, S2, etc.  The supported states depend on BIOS

Small beer.
Comment 1 Glen Barber freebsd_committer freebsd_triage 2015-09-29 14:41:35 UTC
The manual page was updated in r288116, which just needs to be MFC'd to stable/ branches.

CC'd committer of r288116.
Comment 2 Ian Smith 2015-09-29 15:07:08 UTC
(In reply to Glen Barber from comment #1)
Oh, I missed that.  Thanks jkim!