1.\" $OpenBSD: ykbec.4,v 1.6 2018/09/26 14:58:16 visa Exp $ 2.\" 3.\" Copyright (c) 2010 Otto Moerbeek 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: September 26 2018 $ 18.Dt YKBEC 4 loongson 19.Os 20.Sh NAME 21.Nm ykbec 22.Nd Ene Technology KB3310B embedded controller chip 23.Sh SYNOPSIS 24.Cd "ykbec0 at isa?" 25.Sh DESCRIPTION 26The 27.Nm 28driver supports the Ene Technology KB3310B embedded controller chip found 29in the Lemote Yeeloong. 30.Pp 31This chip provides general purpose I/O and handles several 32dedicated functions, including: 33.Pp 34.Bl -dash -compact -offset indent 35.It 36Fan control 37.It 38Battery control 39.It 40Button events 41.It 42Power management 43.It 44Lid state 45.El 46.Pp 47Fan, battery, and lid information is made available via the 48.Xr sysctl 2 49hardware sensor interface. 50Not all the device interfaces are supported under 51.Ox . 52.Sh SEE ALSO 53.Xr intro 4 , 54.Xr isa 4 55