xref: /freebsd/share/man/man4/hms.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1afd590d9SVladimir Kondratyev.\" Copyright (c)
2afd590d9SVladimir Kondratyev.\"	1999 Nick Hibma <n_hibma@FreeBSD.org>. All rights reserved.
3afd590d9SVladimir Kondratyev.\"	2020 Vladimir Kondratyev <wulf@FreeBSD.org>.
4afd590d9SVladimir Kondratyev.\"
5afd590d9SVladimir Kondratyev.\" Redistribution and use in source and binary forms, with or without
6afd590d9SVladimir Kondratyev.\" modification, are permitted provided that the following conditions
7afd590d9SVladimir Kondratyev.\" are met:
8afd590d9SVladimir Kondratyev.\" 1. Redistributions of source code must retain the above copyright
9afd590d9SVladimir Kondratyev.\"    notice, this list of conditions and the following disclaimer.
10afd590d9SVladimir Kondratyev.\" 2. Redistributions in binary form must reproduce the above copyright
11afd590d9SVladimir Kondratyev.\"    notice, this list of conditions and the following disclaimer in the
12afd590d9SVladimir Kondratyev.\"    documentation and/or other materials provided with the distribution.
13afd590d9SVladimir Kondratyev.\"
14afd590d9SVladimir Kondratyev.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15afd590d9SVladimir Kondratyev.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16afd590d9SVladimir Kondratyev.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17afd590d9SVladimir Kondratyev.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18afd590d9SVladimir Kondratyev.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19afd590d9SVladimir Kondratyev.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20afd590d9SVladimir Kondratyev.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21afd590d9SVladimir Kondratyev.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22afd590d9SVladimir Kondratyev.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23afd590d9SVladimir Kondratyev.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24afd590d9SVladimir Kondratyev.\" SUCH DAMAGE.
25afd590d9SVladimir Kondratyev.\"
26afd590d9SVladimir Kondratyev.Dd September 12, 2020
27afd590d9SVladimir Kondratyev.Dt HMS 4
28afd590d9SVladimir Kondratyev.Os
29afd590d9SVladimir Kondratyev.Sh NAME
30afd590d9SVladimir Kondratyev.Nm hms
31afd590d9SVladimir Kondratyev.Nd HID mouse driver
32afd590d9SVladimir Kondratyev.Sh SYNOPSIS
33afd590d9SVladimir KondratyevTo compile this driver into the kernel,
34afd590d9SVladimir Kondratyevplace the following lines in your
35afd590d9SVladimir Kondratyevkernel configuration file:
36afd590d9SVladimir Kondratyev.Bd -ragged -offset indent
37afd590d9SVladimir Kondratyev.Cd "device hms"
38afd590d9SVladimir Kondratyev.Cd "device hidbus"
39afd590d9SVladimir Kondratyev.Cd "device hid"
40afd590d9SVladimir Kondratyev.Cd "device evdev"
41afd590d9SVladimir Kondratyev.Ed
42afd590d9SVladimir Kondratyev.Pp
43afd590d9SVladimir KondratyevAlternatively, to load the driver as a
44afd590d9SVladimir Kondratyevmodule at boot time, place the following line in
45afd590d9SVladimir Kondratyev.Xr loader.conf 5 :
46afd590d9SVladimir Kondratyev.Bd -literal -offset indent
47afd590d9SVladimir Kondratyevhms_load="YES"
48afd590d9SVladimir Kondratyev.Ed
49afd590d9SVladimir Kondratyev.Sh DESCRIPTION
50afd590d9SVladimir KondratyevThe
51afd590d9SVladimir Kondratyev.Nm
52afd590d9SVladimir Kondratyevdriver provides support for HID mice that attach to the HID transport
53afd590d9SVladimir Kondratyevbackend.
54afd590d9SVladimir KondratyevSee
55afd590d9SVladimir Kondratyev.Xr iichid 4
56afd590d9SVladimir Kondratyevor
57afd590d9SVladimir Kondratyev.Xr usbhid 4 .
58afd590d9SVladimir KondratyevSupported are
59afd590d9SVladimir Kondratyevmice with any number of buttons, mice with a wheel and absolute mice.
60afd590d9SVladimir Kondratyev.Pp
61afd590d9SVladimir KondratyevThe
62afd590d9SVladimir Kondratyev.Pa /dev/input/eventX
63afd590d9SVladimir Kondratyevdevice presents the mouse as a
64afd590d9SVladimir Kondratyev.Ar evdev
65afd590d9SVladimir Kondratyevtype device.
66afd590d9SVladimir Kondratyev.Sh SYSCTL VARIABLES
67afd590d9SVladimir KondratyevThe following variable is available as both
68afd590d9SVladimir Kondratyev.Xr sysctl 8
69afd590d9SVladimir Kondratyevvariable and
70afd590d9SVladimir Kondratyev.Xr loader 8
71afd590d9SVladimir Kondratyevtunable:
72afd590d9SVladimir Kondratyev.Bl -tag -width indent
73afd590d9SVladimir Kondratyev.It Va dev.hms.X.debug
74afd590d9SVladimir KondratyevDebug output level, where 0 is debugging disabled and larger values increase
75afd590d9SVladimir Kondratyevdebug message verbosity.
76afd590d9SVladimir KondratyevDefault is 0.
77afd590d9SVladimir Kondratyev.El
78afd590d9SVladimir Kondratyev.Pp
79afd590d9SVladimir KondratyevIt default value is derived from
80afd590d9SVladimir Kondratyev.Xr loader 8
81afd590d9SVladimir Kondratyevtunable:
82afd590d9SVladimir Kondratyev.Bl -tag -width indent
83afd590d9SVladimir Kondratyev.It Va hw.hid.hms.debug
84afd590d9SVladimir Kondratyev.El
85afd590d9SVladimir Kondratyev.Sh FILES
86afd590d9SVladimir Kondratyev.Bl -tag -width /dev/input/eventX -compact
87afd590d9SVladimir Kondratyev.It Pa /dev/input/eventX
88afd590d9SVladimir Kondratyevinput event device node.
89afd590d9SVladimir Kondratyev.El
90afd590d9SVladimir Kondratyev.Sh SEE ALSO
91afd590d9SVladimir Kondratyev.Xr iichid 4 ,
92afd590d9SVladimir Kondratyev.Xr usbhid 4 ,
93afd590d9SVladimir Kondratyev.Xr xorg.conf 5 Pq Pa ports/x11/xorg
94*16ee5cd1SChristian Brueffer.\".Xr moused 8
95afd590d9SVladimir Kondratyev.Sh BUGS
96afd590d9SVladimir Kondratyev.Nm
97afd590d9SVladimir Kondratyevcannot act like
98afd590d9SVladimir Kondratyev.Xr sysmouse 4
99afd590d9SVladimir Kondratyev.Sh AUTHORS
100afd590d9SVladimir Kondratyev.An -nosplit
101afd590d9SVladimir KondratyevThe
102afd590d9SVladimir Kondratyev.Nm
103afd590d9SVladimir Kondratyevdriver was written by
104afd590d9SVladimir Kondratyev.An Vladimir Kondratyev Aq Mt wulf@FreeBSD.org .
105afd590d9SVladimir Kondratyev.Pp
106afd590d9SVladimir KondratyevThis manual page was originally written by
107afd590d9SVladimir Kondratyev.An Nick Hibma Aq Mt n_hibma@FreeBSD.org
108afd590d9SVladimir Kondratyevfor
109afd590d9SVladimir Kondratyev.Xr umt 4
110afd590d9SVladimir Kondratyevdriver and was adopted for
111afd590d9SVladimir Kondratyev.Nm
112afd590d9SVladimir Kondratyevby
113afd590d9SVladimir Kondratyev.An Vladimir Kondratyev Aq Mt wulf@FreeBSD.org .
114