]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/hpen.4
OpenSSL: update to 3.0.11
[FreeBSD/FreeBSD.git] / share / man / man4 / hpen.4
1 .\" Copyright (c) 2020 Vladimir Kondratyev <wulf@FreeBSD.org>
2 .\"
3 .\" Redistribution and use in source and binary forms, with or without
4 .\" modification, are permitted provided that the following conditions
5 .\" are met:
6 .\" 1. Redistributions of source code must retain the above copyright
7 .\"    notice, this list of conditions and the following disclaimer.
8 .\" 2. Redistributions in binary form must reproduce the above copyright
9 .\"    notice, this list of conditions and the following disclaimer in the
10 .\"    documentation and/or other materials provided with the distribution.
11 .\"
12 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
13 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22 .\" SUCH DAMAGE.
23 .\"
24 .Dd September 14, 2020
25 .Dt HPEN 4
26 .Os
27 .Sh NAME
28 .Nm hpen
29 .Nd MS Windows compatible HID pen tablet driver
30 .Sh SYNOPSIS
31 To compile this driver into the kernel,
32 place the following lines in your
33 kernel configuration file:
34 .Bd -ragged -offset indent
35 .Cd "device hpen"
36 .Cd "device hid"
37 .Cd "device hidbus"
38 .Cd "device hidmap"
39 .Cd "device evdev"
40 .Ed
41 .Pp
42 Alternatively, to load the driver as a
43 module at boot time, place the following line in
44 .Xr loader.conf 5 :
45 .Bd -literal -offset indent
46 hpen_load="YES"
47 .Ed
48 .Sh DESCRIPTION
49 The
50 .Nm
51 driver provides support for generic MS Windows compatible HID pen tablet
52 and digitizer that attach to the HID transport backend.
53 See
54 .Xr iichid 4
55 or
56 .Xr usbhid 4 .
57 .Pp
58 The
59 .Pa /dev/input/event*
60 device presents the pen as a
61 .Ar evdev
62 type device.
63 .Sh SYSCTL VARIABLES
64 The following variable is available as both
65 .Xr sysctl 8
66 variable and
67 .Xr loader 8
68 tunable:
69 .Bl -tag -width indent
70 .It Va dev.hpen.X.debug
71 Debug output level, where 0 is debugging disabled and larger values increase
72 debug message verbosity.
73 Default is 0.
74 .El
75 .Pp
76 It's default value is set with
77 .Xr loader 8
78 tunable:
79 .Bl -tag -width indent
80 .It Va hw.hid.hpen.debug
81 .El
82 .Sh FILES
83 .Bl -tag -width /dev/input/event* -compact
84 .It Pa /dev/input/event*
85 input event device node.
86 .El
87 .Sh SEE ALSO
88 .Xr iichid 4 ,
89 .Xr usbhid 4 ,
90 .Xr xorg.conf 5 Pq Pa ports/x11/xorg
91 .Sh BUGS
92 .Nm
93 cannot act like
94 .Xr sysmouse 4 .
95 .Pp
96 Pen battery charge level reporting is not supported.
97 .Sh HISTORY
98 The
99 .Nm
100 driver first appeared in
101 .Fx 13.0 .
102 .Sh AUTHORS
103 .An -nosplit
104 The
105 .Nm
106 driver was written by
107 .An Val Packett Aq Mt val@packett.cool .
108 .Pp
109 This manual page was written by
110 .An Vladimir Kondratyev Aq Mt wulf@FreeBSD.org .