1.\" $OpenBSD: stsec.4,v 1.2 2010/02/25 10:07:11 jmc Exp $ 2.\" 3.\" Copyright (c) 2010 Miodrag Vallat. 4.\" 5.\" Permission to use, copy, modify, and distribute this software for any 6.\" purpose with or without fee is hereby granted, provided that the above 7.\" copyright notice and this permission notice appear in all copies. 8.\" 9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" 17.Dd $Mdocdate: February 25 2010 $ 18.Dt STSEC 4 loongson 19.Os 20.Sh NAME 21.Nm stsec 22.Nd ST7 embedded controller 23.Sh SYNOPSIS 24.Cd "stsec* at iic?" 25.Sh DESCRIPTION 26The 27.Nm 28driver supports the ST7FOX1 embedded controller found on the Gdium Liberty 29netbook. 30.Pp 31This chip is used to control battery charge and discharge. 32It also reports the lid status, as well as the state of the power and wavelan 33radio enable buttons. 34.Pp 35Battery status and charge information is made available through the 36.Xr sysctl 3 37hardware sensor interface. 38.Sh SEE ALSO 39.Xr iic 4 , 40.Xr intro 4 , 41.Xr sensorsd 8 , 42.Xr sysctl 8 43