xref: /freebsd/share/man/man4/hmt.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1cb022db8SVladimir Kondratyev.\" Copyright (c) 2014-2020 Vladimir Kondratyev <wulf@FreeBSD.org>
2b9b347e9SVladimir Kondratyev.\" All rights reserved.
3b9b347e9SVladimir Kondratyev.\"
4b9b347e9SVladimir Kondratyev.\" Redistribution and use in source and binary forms, with or without
5b9b347e9SVladimir Kondratyev.\" modification, are permitted provided that the following conditions
6b9b347e9SVladimir Kondratyev.\" are met:
7b9b347e9SVladimir Kondratyev.\" 1. Redistributions of source code must retain the above copyright
8b9b347e9SVladimir Kondratyev.\"    notice, this list of conditions and the following disclaimer.
9b9b347e9SVladimir Kondratyev.\" 2. Redistributions in binary form must reproduce the above copyright
10b9b347e9SVladimir Kondratyev.\"    notice, this list of conditions and the following disclaimer in the
11b9b347e9SVladimir Kondratyev.\"    documentation and/or other materials provided with the distribution.
12b9b347e9SVladimir Kondratyev.\"
13b9b347e9SVladimir Kondratyev.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14b9b347e9SVladimir Kondratyev.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15b9b347e9SVladimir Kondratyev.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16b9b347e9SVladimir Kondratyev.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17b9b347e9SVladimir Kondratyev.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18b9b347e9SVladimir Kondratyev.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19b9b347e9SVladimir Kondratyev.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20b9b347e9SVladimir Kondratyev.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21b9b347e9SVladimir Kondratyev.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22b9b347e9SVladimir Kondratyev.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23b9b347e9SVladimir Kondratyev.\" SUCH DAMAGE.
24b9b347e9SVladimir Kondratyev.\"
25cb022db8SVladimir Kondratyev.Dd August 11, 2020
26cb022db8SVladimir Kondratyev.Dt HMT 4
27b9b347e9SVladimir Kondratyev.Os
28b9b347e9SVladimir Kondratyev.Sh NAME
29cb022db8SVladimir Kondratyev.Nm hmt
30cb022db8SVladimir Kondratyev.Nd MS Windows 7/8/10 - compatible HID multi-touch device driver
31b9b347e9SVladimir Kondratyev.Sh SYNOPSIS
32b9b347e9SVladimir KondratyevTo compile this driver into the kernel, place the following lines into
33b9b347e9SVladimir Kondratyevyour kernel configuration file:
34b9b347e9SVladimir Kondratyev.Bd -ragged -offset indent
35cb022db8SVladimir Kondratyev.Cd "device hmt"
36cb022db8SVladimir Kondratyev.Cd "device hidbus"
37b9b347e9SVladimir Kondratyev.Cd "device hid"
38cb022db8SVladimir Kondratyev.Cd "device hconf"
39b9b347e9SVladimir Kondratyev.Cd "device evdev"
40b9b347e9SVladimir Kondratyev.Ed
41b9b347e9SVladimir Kondratyev.Pp
42b9b347e9SVladimir KondratyevAlternatively, to load the driver as a
43b9b347e9SVladimir Kondratyevmodule at boot time, place the following line in
44b9b347e9SVladimir Kondratyev.Xr loader.conf 5 :
45b9b347e9SVladimir Kondratyev.Bd -literal -offset indent
46cb022db8SVladimir Kondratyevhmt_load="YES"
47b9b347e9SVladimir Kondratyev.Ed
48b9b347e9SVladimir Kondratyev.Sh DESCRIPTION
49b9b347e9SVladimir KondratyevThe
50b9b347e9SVladimir Kondratyev.Nm
51cb022db8SVladimir Kondratyevdriver provides support for the MS Windows 7/8/10 - compatible HID
52b9b347e9SVladimir Kondratyevmulti-touch devices found in many laptops.
53b9b347e9SVladimir Kondratyev.Pp
54b9b347e9SVladimir KondratyevTo get multi-touch device working in
55*9356efa8SJens Schweikhardt.Xr X 7 Pq Pa ports/x11/xorg-docs ,
56b9b347e9SVladimir Kondratyevinstall
57b9b347e9SVladimir Kondratyev.Pa ports/x11-drivers/xf86-input-evdev .
58b9b347e9SVladimir Kondratyev.Sh FILES
59b9b347e9SVladimir Kondratyev.Nm
60b9b347e9SVladimir Kondratyevcreates a pseudo-device file,
61b9b347e9SVladimir Kondratyev.Pa /dev/input/eventX
62b9b347e9SVladimir Kondratyevwhich presents the multi-touch device as an input event device.
63b9b347e9SVladimir Kondratyev.Sh SEE ALSO
64cb022db8SVladimir Kondratyev.Xr hid 4 ,
65b9b347e9SVladimir Kondratyev.Xr loader.conf 5 ,
66b9b347e9SVladimir Kondratyev.Xr xorg.conf 5 Pq Pa ports/x11/xorg ,
67b9b347e9SVladimir Kondratyev.Xr evdev 4 Pq Pa ports/x11-drivers/xf86-input-evdev .
68b9b347e9SVladimir Kondratyev.Sh AUTHORS
69b9b347e9SVladimir Kondratyev.An -nosplit
70b9b347e9SVladimir KondratyevThe
71b9b347e9SVladimir Kondratyev.Nm
72b9b347e9SVladimir Kondratyevdriver was written by
73b9b347e9SVladimir Kondratyev.An Vladimir Kondratyev Aq Mt wulf@FreeBSD.org .
74b9b347e9SVladimir Kondratyev.Sh BUGS
75b9b347e9SVladimir Kondratyev.Nm
76b9b347e9SVladimir Kondratyevcannot act like
77b9b347e9SVladimir Kondratyev.Xr sysmouse 4
78