xref: /freebsd/share/man/man4/hconf.4 (revision e47a47b2150f86216e6eca666d902ce20bd5031a)
110fbbdfbSVladimir Kondratyev.\" Copyright (c) 2020 Vladimir Kondratyev <wulf@FreeBSD.org>
210fbbdfbSVladimir Kondratyev.\"
310fbbdfbSVladimir Kondratyev.\" Redistribution and use in source and binary forms, with or without
410fbbdfbSVladimir Kondratyev.\" modification, are permitted provided that the following conditions
510fbbdfbSVladimir Kondratyev.\" are met:
610fbbdfbSVladimir Kondratyev.\" 1. Redistributions of source code must retain the above copyright
710fbbdfbSVladimir Kondratyev.\"    notice, this list of conditions and the following disclaimer.
810fbbdfbSVladimir Kondratyev.\" 2. Redistributions in binary form must reproduce the above copyright
910fbbdfbSVladimir Kondratyev.\"    notice, this list of conditions and the following disclaimer in the
1010fbbdfbSVladimir Kondratyev.\"    documentation and/or other materials provided with the distribution.
1110fbbdfbSVladimir Kondratyev.\"
1210fbbdfbSVladimir Kondratyev.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1310fbbdfbSVladimir Kondratyev.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1410fbbdfbSVladimir Kondratyev.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1510fbbdfbSVladimir Kondratyev.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1610fbbdfbSVladimir Kondratyev.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1710fbbdfbSVladimir Kondratyev.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1810fbbdfbSVladimir Kondratyev.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1910fbbdfbSVladimir Kondratyev.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2010fbbdfbSVladimir Kondratyev.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2110fbbdfbSVladimir Kondratyev.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2210fbbdfbSVladimir Kondratyev.\" SUCH DAMAGE.
2310fbbdfbSVladimir Kondratyev.\"
24*fa656aefSVladimir Kondratyev.Dd January 18, 2021
2510fbbdfbSVladimir Kondratyev.Dt HCONF 4
2610fbbdfbSVladimir Kondratyev.Os
2710fbbdfbSVladimir Kondratyev.Sh NAME
2810fbbdfbSVladimir Kondratyev.Nm hconf
2910fbbdfbSVladimir Kondratyev.Nd MS Windows Precision Touchpad configuration driver
3010fbbdfbSVladimir Kondratyev.Sh SYNOPSIS
3110fbbdfbSVladimir KondratyevTo compile this driver into the kernel,
3210fbbdfbSVladimir Kondratyevplace the following lines in your
3310fbbdfbSVladimir Kondratyevkernel configuration file:
3410fbbdfbSVladimir Kondratyev.Bd -ragged -offset indent
3510fbbdfbSVladimir Kondratyev.Cd "device hconf"
3610fbbdfbSVladimir Kondratyev.Cd "device hid"
3710fbbdfbSVladimir Kondratyev.Cd "device hidbus"
3810fbbdfbSVladimir Kondratyev.Ed
3910fbbdfbSVladimir Kondratyev.Pp
4010fbbdfbSVladimir KondratyevAlternatively, to load the driver as a
4110fbbdfbSVladimir Kondratyevmodule at boot time, place the following line in
4210fbbdfbSVladimir Kondratyev.Xr loader.conf 5 :
4310fbbdfbSVladimir Kondratyev.Bd -literal -offset indent
4410fbbdfbSVladimir Kondratyevhconf_load="YES"
4510fbbdfbSVladimir Kondratyev.Ed
4610fbbdfbSVladimir Kondratyev.Sh DESCRIPTION
4710fbbdfbSVladimir KondratyevThe
4810fbbdfbSVladimir Kondratyev.Nm
4910fbbdfbSVladimir Kondratyevdriver provides support for generic MS Windows Precision Touchpad
5010fbbdfbSVladimir Kondratyevconfiguration collection.
5110fbbdfbSVladimir KondratyevIt enables the host to configure two different aspects of the device.
5210fbbdfbSVladimir KondratyevOne allows the host to select input mode, and the other allows the host to be
5310fbbdfbSVladimir Kondratyevselective in what is reported.
5410fbbdfbSVladimir Kondratyev.Sh SYSCTL VARIABLES
5510fbbdfbSVladimir KondratyevNext parameters are available as
5610fbbdfbSVladimir Kondratyev.Xr sysctl 8
5710fbbdfbSVladimir Kondratyevvariables.
5810fbbdfbSVladimir KondratyevDebug parameter is available as
5910fbbdfbSVladimir Kondratyev.Xr loader 8
6010fbbdfbSVladimir Kondratyevtunable as well.
6110fbbdfbSVladimir Kondratyev.Bl -tag -width indent
62*fa656aefSVladimir Kondratyev.It Va dev.hconf.*.input_mode
6310fbbdfbSVladimir KondratyevHID device input mode: 0 = mouse, 3 = touchpad.
64*fa656aefSVladimir Kondratyev.It Va dev.hconf.*.surface_switch
6510fbbdfbSVladimir KondratyevEnable / disable switch for surface: 1 = on, 0 = off.
66*fa656aefSVladimir Kondratyev.It Va dev.hconf.*.buttons_switch
6710fbbdfbSVladimir KondratyevEnable / disable switch for buttons: 1 = on, 0 = off.
6810fbbdfbSVladimir Kondratyev.It Va hw.hid.hconf.debug
6910fbbdfbSVladimir KondratyevDebug output level, where 0 is debugging disabled and larger values increase
7010fbbdfbSVladimir Kondratyevdebug message verbosity.
7110fbbdfbSVladimir KondratyevDefault is 0.
7210fbbdfbSVladimir Kondratyev.El
7310fbbdfbSVladimir Kondratyev.Sh SEE ALSO
7410fbbdfbSVladimir Kondratyev.Xr hms 4 ,
7510fbbdfbSVladimir Kondratyev.Xr hmt 4
7610fbbdfbSVladimir Kondratyev.Sh HISTORY
7710fbbdfbSVladimir KondratyevThe
7810fbbdfbSVladimir Kondratyev.Nm
7910fbbdfbSVladimir Kondratyevdriver first appeared in
8010fbbdfbSVladimir Kondratyev.Fx 13.0 .
8110fbbdfbSVladimir Kondratyev.Sh AUTHORS
8210fbbdfbSVladimir Kondratyev.An -nosplit
8310fbbdfbSVladimir KondratyevThe
8410fbbdfbSVladimir Kondratyev.Nm
8510fbbdfbSVladimir Kondratyevdriver was written by
8610fbbdfbSVladimir Kondratyev.An Vladimir Kondratyev Aq Mt wulf@FreeBSD.org .
8710fbbdfbSVladimir KondratyevSwitch parameter support was added by
8810fbbdfbSVladimir Kondratyev.An Andriy Gapon Aq Mt avg@FreeBSD.org .
89