1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY libevdev-version "1.5.7">
|
---|
8 |
|
---|
9 | <!ENTITY libevdev-download-http "https://www.freedesktop.org/software/libevdev/libevdev-&libevdev-version;.tar.xz">
|
---|
10 | <!ENTITY libevdev-download-ftp " ">
|
---|
11 | <!ENTITY libevdev-md5sum "4f1cfaee8d75ea3fbbfeb99a98730952">
|
---|
12 | <!ENTITY libevdev-size "400 KB">
|
---|
13 | <!ENTITY libevdev-buildsize "7.7 MB (with tests)">
|
---|
14 | <!ENTITY libevdev-time "0.2 SBU (with tests)">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <!-- Begin Xorg libevdev Driver -->
|
---|
18 | <sect2 id="libevdev" xreflabel="libevdev-&libevdev-version;">
|
---|
19 |
|
---|
20 | <sect2info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect2info>
|
---|
24 |
|
---|
25 | <title>libevdev &libevdev-version;</title>
|
---|
26 |
|
---|
27 | <indexterm zone="libevdev">
|
---|
28 | <primary sortas="a-libevdev">libevdev</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect3 role="package">
|
---|
32 | <title>Introduction to libevdev</title>
|
---|
33 |
|
---|
34 | <para>
|
---|
35 | The <application>libevdev</application> package contains common
|
---|
36 | functions for Xorg input drivers.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs81_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&libevdev-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&libevdev-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &libevdev-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &libevdev-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &libevdev-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &libevdev-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">libevdev Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
78 | <para role="required">
|
---|
79 | <xref linkend="python2"/> or <xref linkend="python3"/>
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
83 | <para role="optional">
|
---|
84 | <xref linkend="check"/> (required for tests),
|
---|
85 | <xref linkend="doxygen"/>, and
|
---|
86 | <xref linkend="valgrind"/> (optional for tests)
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <para condition="html" role="usernotes">
|
---|
90 | User Notes: <ulink url="&blfs-wiki;/libevdev"/>
|
---|
91 | </para>
|
---|
92 | </sect3>
|
---|
93 |
|
---|
94 | <sect3 role="kernel" id="libevdev-kernel">
|
---|
95 | <title>Kernel Configuration</title>
|
---|
96 |
|
---|
97 | <para>
|
---|
98 | Enable the following options in the kernel configuration and recompile the
|
---|
99 | kernel if necessary:
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <screen><literal>Device Drivers --->
|
---|
103 | Input device support --->
|
---|
104 | <*> Generic input layer (needed for...) [CONFIG_INPUT]
|
---|
105 | <*> Event interface [CONFIG_INPUT_EVDEV]
|
---|
106 | [*] Miscellaneous devices ---> [CONFIG_INPUT_MISC]
|
---|
107 | <*> User level driver support [CONFIG_INPUT_UINPUT]</literal></screen>
|
---|
108 |
|
---|
109 | <indexterm zone="libevdev libevdev-kernel">
|
---|
110 | <primary sortas="d-libevdev">libevdev</primary>
|
---|
111 | </indexterm>
|
---|
112 | </sect3>
|
---|
113 |
|
---|
114 | <sect3 role="installation">
|
---|
115 | <title>Installation of libevdev</title>
|
---|
116 |
|
---|
117 | <para>
|
---|
118 | Install <application>libevdev</application> by running the following
|
---|
119 | commands:
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
123 | make</userinput></screen>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | If you have the optional <xref linkend='check'/> package installed, the
|
---|
127 | regression tests can be run as the <systemitem
|
---|
128 | class="username">root</systemitem> user with <command>make
|
---|
129 | check</command>, in a graphical session. Note that on some systems,
|
---|
130 | the tests may cause a hard lockup and require a reboot.
|
---|
131 | </para>
|
---|
132 |
|
---|
133 | <para>
|
---|
134 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
138 | </sect3>
|
---|
139 |
|
---|
140 | <sect3 role="content">
|
---|
141 | <title>Contents</title>
|
---|
142 |
|
---|
143 | <segmentedlist>
|
---|
144 | <segtitle>Installed Xorg Programs</segtitle>
|
---|
145 | <segtitle>Installed Xorg Library</segtitle>
|
---|
146 | <segtitle>Installed Xorg Directory</segtitle>
|
---|
147 |
|
---|
148 | <seglistitem>
|
---|
149 | <seg>
|
---|
150 | libevdev-tweak-device, mouse-dpi-tool, and touchpad-edge-detector
|
---|
151 | </seg>
|
---|
152 | <seg>
|
---|
153 | libevdev.so
|
---|
154 | </seg>
|
---|
155 | <seg>
|
---|
156 | $XORG_PREFIX/include/libevdev-1.0
|
---|
157 | </seg>
|
---|
158 | </seglistitem>
|
---|
159 | </segmentedlist>
|
---|
160 |
|
---|
161 | <variablelist>
|
---|
162 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
163 | <?dbfo list-presentation="list"?>
|
---|
164 | <?dbhtml list-presentation="table"?>
|
---|
165 |
|
---|
166 | <varlistentry id="libevdev-tweak-device">
|
---|
167 | <term><command>libevdev-tweak-device</command></term>
|
---|
168 | <listitem>
|
---|
169 | <para>
|
---|
170 | is a tool to change some kernel device properties.
|
---|
171 | </para>
|
---|
172 | <indexterm zone="libevdev libevdev-tweak-device">
|
---|
173 | <primary sortas="b-libevdev-tweak-device">libevdev-tweak-device</primary>
|
---|
174 | </indexterm>
|
---|
175 | </listitem>
|
---|
176 | </varlistentry>
|
---|
177 |
|
---|
178 | <varlistentry id="mouse-dpi-tool">
|
---|
179 | <term><command>mouse-dpi-tool</command></term>
|
---|
180 | <listitem>
|
---|
181 | <para>
|
---|
182 | is a tool to estimate the resolution of a mouse.
|
---|
183 | </para>
|
---|
184 | <indexterm zone="libevdev mouse-dpi-tool">
|
---|
185 | <primary sortas="b-mouse-dpi-tool">mouse-dpi-tool</primary>
|
---|
186 | </indexterm>
|
---|
187 | </listitem>
|
---|
188 | </varlistentry>
|
---|
189 |
|
---|
190 | <varlistentry id="touchpad-edge-detector">
|
---|
191 | <term><command>touchpad-edge-detector</command></term>
|
---|
192 | <listitem>
|
---|
193 | <para>
|
---|
194 | touchpad-edge-detector is a tool that reads the touchpad events
|
---|
195 | from the kernel and calculates the minimum and maximum for the x
|
---|
196 | and y coordinates, respectively.
|
---|
197 | </para>
|
---|
198 | <indexterm zone="libevdev touchpad-edge-detector">
|
---|
199 | <primary sortas="b-touchpad-edge-detector">touchpad-edge-detector</primary>
|
---|
200 | </indexterm>
|
---|
201 | </listitem>
|
---|
202 | </varlistentry>
|
---|
203 |
|
---|
204 | <varlistentry id="libevdev-lib">
|
---|
205 | <term><filename class="libraryfile">libevdev.so</filename></term>
|
---|
206 | <listitem>
|
---|
207 | <para>
|
---|
208 | is a library of Xorg driver input functions.
|
---|
209 | </para>
|
---|
210 | <indexterm zone="libevdev libevdev-lib">
|
---|
211 | <primary sortas="c-libevdev-lib">ebvdev.so</primary>
|
---|
212 | </indexterm>
|
---|
213 | </listitem>
|
---|
214 | </varlistentry>
|
---|
215 |
|
---|
216 | </variablelist>
|
---|
217 |
|
---|
218 | </sect3>
|
---|
219 |
|
---|
220 | </sect2>
|
---|
221 | <!-- End Xorg Evdev Driver -->
|
---|