<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/etc/rc.suspend, branch releng/10.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2012-02-08T20:31:42Z</updated>
<entry>
<title>Revert r211288 and move the logic to the acpi_timer itself.</title>
<updated>2012-02-08T20:31:42Z</updated>
<author>
<name>Jung-uk Kim</name>
<email>jkim@FreeBSD.org</email>
</author>
<published>2012-02-08T20:31:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cc43a851d25c942e24193e41aabc26208826f384'/>
<id>urn:sha1:cc43a851d25c942e24193e41aabc26208826f384</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Consistently use full pathnames for external commands.</title>
<updated>2010-08-13T21:23:13Z</updated>
<author>
<name>Jung-uk Kim</name>
<email>jkim@FreeBSD.org</email>
</author>
<published>2010-08-13T21:23:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4a2637c48609f4513fcbd6d6a778ff14925c0980'/>
<id>urn:sha1:4a2637c48609f4513fcbd6d6a778ff14925c0980</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not fork a subshell unnecessarily.</title>
<updated>2010-08-13T21:04:43Z</updated>
<author>
<name>Jung-uk Kim</name>
<email>jkim@FreeBSD.org</email>
</author>
<published>2010-08-13T21:04:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ca988da3cabddd233bc21cd11a7e2341cdf1178d'/>
<id>urn:sha1:ca988da3cabddd233bc21cd11a7e2341cdf1178d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enforce ACPI timer as the timecounter hardware before we change sleep state</title>
<updated>2010-08-13T20:43:19Z</updated>
<author>
<name>Jung-uk Kim</name>
<email>jkim@FreeBSD.org</email>
</author>
<published>2010-08-13T20:43:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ed82feee0c1edcaf6aa6f1915cd95db742c9e3ac'/>
<id>urn:sha1:ed82feee0c1edcaf6aa6f1915cd95db742c9e3ac</id>
<content type='text'>
unless it is the current timer.  When we have resumed successfully, restore
the previous timecounter hardware if it was changed earlier.  Only the ACPI
timer is guaranteed to increase monotonically between S-state changes.
</content>
</entry>
<entry>
<title>With uart(4) default, change sio# to uart# so that</title>
<updated>2008-07-19T20:12:33Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2008-07-19T20:12:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ba5e45704b8f3f8178736a873173ca9abf298b31'/>
<id>urn:sha1:ba5e45704b8f3f8178736a873173ca9abf298b31</id>
<content type='text'>
out-of-the-box FreeBSD is consistent.
</content>
</entry>
<entry>
<title>Update the suspend/resume user API while maintaining backwards compat.</title>
<updated>2007-06-21T22:50:37Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2007-06-21T22:50:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=00a304487f0d8b8f679ff8cb2007c26ec5c97b39'/>
<id>urn:sha1:00a304487f0d8b8f679ff8cb2007c26ec5c97b39</id>
<content type='text'>
Improvements:
* /etc/rc.suspend,rc.resume are always run, no matter the source of the
  suspend request (user or kernel, apm or acpi)
* suspend now requires positive user acknowledgement.  If a user program
  wants to cancel the suspend, they can.  If one of the user programs
  hangs or doesn't respond within 10 seconds, the system suspends anyway.
* /dev/apm is clonable, allowing multiple listeners for suspend events.
  In the future, xorg-server can use this to be informed about suspend
  even if there are other listeners (i.e. apmd).

Changes:
* Two new ACPI ioctls:  REQSLPSTATE and ACKSLPSTATE.  Request begins the
  process of suspending by notifying all listeners.  acpi is monitored by
  devd(8) and /dev/apm listener(s) are also counted.  Users register their
  approval or disapproval via Ack.  If anyone disapproves, suspend is vetoed.
* Old user programs or kernel modules that used SETSLPSTATE continue to
  work.  A message is printed once that this interface is deprecated.
* acpiconf gains the -k flag to ack the suspend request.  This flag is
  undocumented on purpose since it's only used by /etc/rc.suspend.  It is
  not intended to be a permanent change and will be removed once a better
  power API is implemented.
* S5 (power off) is no longer supported via acpiconf -s 5 or apm -z/-Z.
  This restores previous behavior of halt/shutdown -p being the interface.
* Miscellaneous improvements to error reporting

Approved by:	re
</content>
</entry>
<entry>
<title>Make sure pid file creation doesn't complain if it can't create the file.</title>
<updated>2004-01-21T03:03:40Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2004-01-21T03:03:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=88a86dedcea9e9bf926b1e02158bf0df09ebfe7e'/>
<id>urn:sha1:88a86dedcea9e9bf926b1e02158bf0df09ebfe7e</id>
<content type='text'>
This removes a warning message when suspending is called by a non-root
user.
</content>
</entry>
<entry>
<title>Add support for /etc/rc.suspend and /etc/rc.resume for ACPI.  They are</title>
<updated>2003-12-30T17:28:06Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2003-12-30T17:28:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e776370e2b92b1e6f31f0447169e758fcc8e4e4c'/>
<id>urn:sha1:e776370e2b92b1e6f31f0447169e758fcc8e4e4c</id>
<content type='text'>
called directly from acpiconf(8).  Change both scripts to take a
subsystem (apm|acpi) and sleep level (suspend,standby|1-5) argument.
</content>
</entry>
<entry>
<title>Add copyright notices.  Other systems have been barrowing our /etc files</title>
<updated>2000-10-08T19:20:36Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2000-10-08T19:20:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a1c43e3fbbabe648662adc3b8c2e566ce1b69844'/>
<id>urn:sha1:a1c43e3fbbabe648662adc3b8c2e566ce1b69844</id>
<content type='text'>
w/o giving any credit.
</content>
</entry>
<entry>
<title>Apply a consistent style to most of the etc scripts.  Particularly, use</title>
<updated>1999-09-13T15:44:20Z</updated>
<author>
<name>Sheldon Hearn</name>
<email>sheldonh@FreeBSD.org</email>
</author>
<published>1999-09-13T15:44:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=321704296f6ba1a5885ff7064b14fbeecf20c340'/>
<id>urn:sha1:321704296f6ba1a5885ff7064b14fbeecf20c340</id>
<content type='text'>
case instead of test where appropriate, since case allows case is a sh
builtin and (as a side-effect) allows case-insensitivity.

Changes discussed on freebsd-hackers.

Submitted by:	Doug Barton &lt;Doug@gorean.org&gt;
</content>
</entry>
</feed>
