xref: /netbsd-src/share/man/man4/g760a.4 (revision 4baa9a4e9a8b56fc94b3d3ffcf8261a183367db4)
1.\" $NetBSD: g760a.4,v 1.4 2024/09/07 19:13:27 rillig Exp $
2.\"
3.\" Copyright (c) 2008 A.Leo.
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. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"          This product includes software developed for the
17.\"          NetBSD Project.  See https://www.NetBSD.org/ for
18.\"          information about NetBSD.
19.\" 4. The name of the author may not be used to endorse or promote products
20.\"    derived from this software without specific prior written permission.
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
23.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
26.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
27.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32.\"
33.Dd April 11, 2008
34.Dt G760A 4
35.Os
36.Sh NAME
37.Nm g760a
38.Nd Global Mixed-mode Technology Inc. G760a fan speed controller driver
39.Sh SYNOPSIS
40.Cd g760a0 at iic? addr 0x3e
41.Sh DESCRIPTION
42The
43.Nm
44driver provides support for the
45.Tn Global Mixed-mode Technology Inc.
46G760a on iicbus fan speed controller to be used with the
47.Xr envsys 4
48API.
49This chip could be found in
50.Tn D-Link's DNS-323 NAS box.
51.Pp
52The following
53.Xr sysctl 8
54variable controls the fan's speed:
55.Bl -tag
56.It Dv machdep.g760a0.rpm
57This value specifies the desired speed for the fan.
58Valid range is 2000..20000 or 0 (the fan is turned off).
59The default value is 0.
60.Pp
61When setting the desired speed the RPM number will be converted
62to the internal representation and truncated.
63For example when you are setting 2000 it will be truncated to 2006,
64and 8000 will be changed to 8057.
65.El
66.Sh SEE ALSO
67.Xr envsys 4 ,
68.Xr lm 4 ,
69.Xr envstat 8
70.Sh AUTHORS
71The
72.Nm
73driver was written by
74.An A. Leo .
75