xref: /netbsd/share/man/man4/hpacel.4 (revision 51052067)
1.\" $NetBSD: hpacel.4,v 1.4 2011/09/07 08:54:41 jruoho Exp $
2.\"
3.\" Copyright (c) 2011 Jukka Ruohonen <jruohonen@iki.fi>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Neither the name of the author nor the names of any
12.\"    contributors may be used to endorse or promote products derived
13.\"    from this software without specific prior written permission.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS
16.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25.\" POSSIBILITY OF SUCH DAMAGE.
26.\"
27.Dd September 7, 2011
28.Dt HPACEL 4
29.Os
30.Sh NAME
31.Nm hpacel
32.Nd HP 3D DriveGuard accelerometer
33.Sh SYNOPSIS
34.Cd "hpacel* at acpi?"
35.Sh DESCRIPTION
36The
37.Nm
38device driver supports accelerometers that are
39commonly available in Hewlett-Packard laptops.
40The supported chip is
41.Dv LIS3LV02DL
42from STMicroelectronics, although other chips from the same family, such as
43.Dv LIS3LV02DQ ,
44may also work, provided that the vendor has implemented suitable
45.Dv ACPI
46access methods.
47.Pp
48The
49.Nm
50driver reports the acceleration readings of the X-, Y-, and Z-axis
51via the
52.Xr envsys 4
53.Tn API
54and the
55.Xr envstat 8
56command.
57.Sh SEE ALSO
58.Xr acpi 4 ,
59.Xr aps 4 ,
60.Xr hpqlb 4 ,
61.Xr wmihp 4
62.Rs
63.%A STMicroelectronics
64.%T "LIS3LV02DL: 3-Axis - \*(Pm\* 2g/\*(Pm\* 6g digital output \
65low voltage linear accelerometer. AN2381 Application Note"
66.%N Revision 1
67.%D June, 2006
68.%U http://www.st.com/stonline/products/literature/anp/12441.pdf
69.Re
70.Sh HISTORY
71The
72.Nm
73device driver appeared in
74.Nx 6.0 .
75.Sh AUTHORS
76.An Jukka Ruohonen
77.Aq jruohonen@iki.fi
78.Sh BUGS
79The used accelerometer chip is capable of generating wake-up,
80direction detection, and free-fall interrupts.
81In the ideal situation these could be used to evoke possible emergency action.
82However, the
83.Nm
84driver only reports the readings from the accelerometer via
85.Xr sysmon_envsys 9 .
86