Module Name: src Committed By: jruoho Date: Wed Jun 9 13:44:24 UTC 2010
Modified Files: src/share/man/man4: aps.4 thinkpad.4 Log Message: Reference aps(4) and thinkpad(4) with each other. In aps(4) note that sensor values are refreshed every 0.5 seconds, which may have a negative effect on battery life. (Since the sensors are purely descriptive and no time-sensitive protective measures are being carried out, it would probably be a good idea to remove the whole callout(9) from the driver and let the sysmon's poll cycle take over.) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/aps.4 cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/thinkpad.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man4/aps.4 diff -u src/share/man/man4/aps.4:1.2 src/share/man/man4/aps.4:1.3 --- src/share/man/man4/aps.4:1.2 Tue Sep 11 22:27:04 2007 +++ src/share/man/man4/aps.4 Wed Jun 9 13:44:24 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: aps.4,v 1.2 2007/09/11 22:27:04 wiz Exp $ +.\" $NetBSD: aps.4,v 1.3 2010/06/09 13:44:24 jruoho Exp $ .\" $OpenBSD: aps.4,v 1.7 2007/05/31 19:19:49 jmc Exp $ .\" .\" Copyright (c) 2005 Jonathan Gray <j...@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd September 11, 2007 +.Dd June 9, 2010 .Dt APS 4 .Os .Sh NAME @@ -45,6 +45,7 @@ .El .Sh SEE ALSO .Xr envsys 4 , +.Xr thinkpad 4 , .Xr envstat 8 .Sh HISTORY The @@ -60,14 +61,24 @@ driver was written by .An Jonathan Gray Aq j...@openbsd.org . .Sh CAVEATS +Few issues can be mentioned. +.Bl -bullet +.It The .Nm -driver does not yet maintain state and subsequently does not take +driver does not maintain state and subsequently does not take evasive action when it thinks the hard drive is in danger. -.Pp +Possible actions would include spinning down the hard drive +in case excessive tremor is detected by the sensors. +.It The Y axis on X40 and possibly other models seems to be inverted. It is unknown how to distinguish between different versions of the accelerometer to compensate for this in the driver at this time. -.Pp +.It +The sensor values are refreshed every 0.5 seconds. +Because no protection measures are taken, +this is unnecessary and may have a negative effect on battery life. +.It As IBM provides no documentation, it is not known what all the available sensors are used for. +.El Index: src/share/man/man4/thinkpad.4 diff -u src/share/man/man4/thinkpad.4:1.1 src/share/man/man4/thinkpad.4:1.2 --- src/share/man/man4/thinkpad.4:1.1 Sat Oct 18 20:44:53 2008 +++ src/share/man/man4/thinkpad.4 Wed Jun 9 13:44:24 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: thinkpad.4,v 1.1 2008/10/18 20:44:53 jmcneill Exp $ +.\" $NetBSD: thinkpad.4,v 1.2 2010/06/09 13:44:24 jruoho Exp $ .\" .\" Copyright (c) 2008 Jared D. McNeill <jmcne...@invisible.ca> .\" All rights reserved. @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd October 18, 2008 +.Dd June 9, 2010 .Dt THINKPAD 4 .Os .Sh NAME @@ -40,6 +40,7 @@ temperature and fan monitoring. .Sh SEE ALSO .Xr acpi 4 , +.Xr aps 4 , .Xr pmf 9 , .Xr sysmon_envsys 9 .Sh HISTORY