<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/apmd/apmdparse.y, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>o BATTTIME and BATTPERCENT are 'int' not 'str'.</title>
<updated>2003-06-16T14:57:07+00:00</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@FreeBSD.org</email>
</author>
<published>2003-06-16T14:57:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c7012f4a11b48bf77823f24d247cac20df091f0c'/>
<id>c7012f4a11b48bf77823f24d247cac20df091f0c</id>
<content type='text'>
PR:		bin/48793
Submitted by:	Stefan Farfeleder &lt;stefan@fafoe.dyndns.org&gt;
MFC after:	2 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		bin/48793
Submitted by:	Stefan Farfeleder &lt;stefan@fafoe.dyndns.org&gt;
MFC after:	2 week
</pre>
</div>
</content>
</entry>
<entry>
<title>include string.h for memcmp declearation</title>
<updated>2003-06-09T06:19:15+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-06-09T06:19:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f4fe0dcb874689001c9d6332e9be1e993663f4e6'/>
<id>f4fe0dcb874689001c9d6332e9be1e993663f4e6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add battery state monitoring to apmd.</title>
<updated>2001-05-15T05:13:45+00:00</updated>
<author>
<name>Nick Sayer</name>
<email>nsayer@FreeBSD.org</email>
</author>
<published>2001-05-15T05:13:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=719b9dc1afc07b94f216383e50f66f55e888c16d'/>
<id>719b9dc1afc07b94f216383e50f66f55e888c16d</id>
<content type='text'>
The new syntax available in the config file is:

apm_battery [0-9]+(%|[Mm) (dis|)charging { ... }

The stuff in the braces is the same as the existing case. nn% checks for
a certain percentage of life remaining and nnM checks for a cerain
number of minutes remaining. Specifying "discharge" means that you're
interested in knowing when the battery reaches a certain level while AC
power is off, "charging" the opposite.

The man page needs to be updated.

The code can be fooled. If you SIGHUP the daemon and the battery level
matches a rule it will be performed once per SIGHUP. If the battery
level matches a rule and you repeatedly apply and take away AC power,
the rule will be run once per occurance. This, however, is a feature.
:-) The code also only runs when select() times out, so getting APM
events more often than the timeout interval will result in the rules not
being run. These are things that remain to be overcome.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new syntax available in the config file is:

apm_battery [0-9]+(%|[Mm) (dis|)charging { ... }

The stuff in the braces is the same as the existing case. nn% checks for
a certain percentage of life remaining and nnM checks for a cerain
number of minutes remaining. Specifying "discharge" means that you're
interested in knowing when the battery reaches a certain level while AC
power is off, "charging" the opposite.

The man page needs to be updated.

The code can be fooled. If you SIGHUP the daemon and the battery level
matches a rule it will be performed once per SIGHUP. If the battery
level matches a rule and you repeatedly apply and take away AC power,
the rule will be run once per occurance. This, however, is a feature.
:-) The code also only runs when select() times out, so getting APM
events more often than the timeout interval will result in the rules not
being run. These are things that remain to be overcome.
</pre>
</div>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T01:35:59+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T01:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=97d92980a96a50750844f420cc225ddf918f0699'/>
<id>97d92980a96a50750844f420cc225ddf918f0699</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>The apmd package provides a means of handling various APM events from</title>
<updated>1999-07-10T17:39:36+00:00</updated>
<author>
<name>Mitsuru IWASAKI</name>
<email>iwasaki@FreeBSD.org</email>
</author>
<published>1999-07-10T17:39:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d50a71bdd882717df3f41dadd84ffc28f3466a1a'/>
<id>d50a71bdd882717df3f41dadd84ffc28f3466a1a</id>
<content type='text'>
userland code.  Using apmd.conf, the apmd(8) configuration file, you
can select the APM events to be handled from userland and specify the
commands for a given event, allowing APM behaviour to be configured
flexibly.

Have Fun!

Submitted by:	iwasaki, KOIE Hidetaka &lt;hide@koie.org&gt;
Reviewed by:	-hackers, -mobile and bsd-nomads ML folks.
Contributed by:	Warner Losh &lt;imp@FreeBSD.org&gt;,
	Hiroshi Yamashita &lt;bluemoon@msj.biglobe.ne.jp&gt;,
	Yoshihiko SARUMARU &lt;mistral@imasy.or.jp&gt;,
	Norihiro Kumagai &lt;kuma@nk.rim.or.jp&gt;,
	NAKAGAWA Yoshihisa &lt;nakagawa@jp.FreeBSD.org&gt;, and
	Nick Hilliard &lt;nick@foobar.org&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
userland code.  Using apmd.conf, the apmd(8) configuration file, you
can select the APM events to be handled from userland and specify the
commands for a given event, allowing APM behaviour to be configured
flexibly.

Have Fun!

Submitted by:	iwasaki, KOIE Hidetaka &lt;hide@koie.org&gt;
Reviewed by:	-hackers, -mobile and bsd-nomads ML folks.
Contributed by:	Warner Losh &lt;imp@FreeBSD.org&gt;,
	Hiroshi Yamashita &lt;bluemoon@msj.biglobe.ne.jp&gt;,
	Yoshihiko SARUMARU &lt;mistral@imasy.or.jp&gt;,
	Norihiro Kumagai &lt;kuma@nk.rim.or.jp&gt;,
	NAKAGAWA Yoshihisa &lt;nakagawa@jp.FreeBSD.org&gt;, and
	Nick Hilliard &lt;nick@foobar.org&gt;.
</pre>
</div>
</content>
</entry>
</feed>
