source: x/installing/libevdev.xml@ e5324803

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since e5324803 was aa0b625, checked in by Douglas R. Reno <renodr@…>, 21 months ago

Tag Xorg and dependencies

  • Property mode set to 100644
File size: 7.3 KB
Line 
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.13.0">
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 "5b15b4cf97c4f9f1393e499526a57665">
12 <!ENTITY libevdev-size "444 KB">
13 <!ENTITY libevdev-buildsize "6.3 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 <date>$Date$</date>
22 </sect2info>
23
24 <title>libevdev &libevdev-version;</title>
25
26 <indexterm zone="libevdev">
27 <primary sortas="a-libevdev">libevdev</primary>
28 </indexterm>
29
30 <sect3 role="package">
31 <title>Introduction to libevdev</title>
32
33 <para>
34 The <application>libevdev</application> package contains common
35 functions for Xorg input drivers.
36 </para>
37
38 &lfs112_checked;
39
40 <bridgehead renderas="sect4">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&libevdev-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&libevdev-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &libevdev-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &libevdev-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &libevdev-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &libevdev-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect4">libevdev Dependencies</bridgehead>
75
76 <bridgehead renderas="sect5">Optional</bridgehead>
77 <para role="optional">
78 <xref linkend="doxygen"/> and
79 <xref linkend="valgrind"/> (optional for tests)
80 </para>
81
82 <para condition="html" role="usernotes">
83 User Notes: <ulink url="&blfs-wiki;/libevdev"/>
84 </para>
85 </sect3>
86
87 <sect3 role="kernel" id="libevdev-kernel">
88 <title>Kernel Configuration</title>
89
90 <para>
91 Enable the following options in the kernel configuration and recompile
92 the kernel if necessary:
93 </para>
94
95<screen><literal>Device Drivers ---&gt;
96 Input device support ---&gt;
97 &lt;*&gt; Generic input layer (needed for keyboard, mouse, ...) [CONFIG_INPUT]
98 &lt;*&gt; Event interface [CONFIG_INPUT_EVDEV]
99 [*] Miscellaneous devices ---&gt; [CONFIG_INPUT_MISC]
100 &lt;*/m&gt; User level driver support [CONFIG_INPUT_UINPUT]</literal></screen>
101
102 <para>
103 The last item is not strictly required for libevdev. If it is
104 compiled as a module, it is not loaded automatically.
105 It is needed for full test coverage.
106 </para>
107
108 <indexterm zone="libevdev libevdev-kernel">
109 <primary sortas="d-libevdev">libevdev</primary>
110 </indexterm>
111 </sect3>
112
113 <sect3 role="installation">
114 <title>Installation of libevdev</title>
115
116 <para>
117 Install <application>libevdev</application> by running the following
118 commands:
119 </para>
120
121<screen><userinput>mkdir build &amp;&amp;
122cd build &amp;&amp;
123
124meson --prefix=$XORG_PREFIX \
125 --buildtype=release \
126 -Ddocumentation=disabled &amp;&amp;
127ninja</userinput></screen>
128
129 <para>
130 The regression tests can be run as the <systemitem
131 class="username">root</systemitem> user with <command>ninja
132 test</command>, in a graphical session. You need to have enabled
133 the CONFIG_INPUT_UINPUT setting in the kernel for full test coverage.
134 If it is enabled as a module, the module is named
135 <command>uinput</command> and needs to be loaded before running the
136 tests. Note that on some systems, the
137 tests may cause a hard lockup and require a reboot. On laptops, the
138 system will go into Sleep and need to be woken up to finish the test
139 suites.
140 </para>
141
142 <para>
143 Now, as the <systemitem class="username">root</systemitem> user:
144 </para>
145
146<screen role="root"><userinput>ninja install</userinput></screen>
147 </sect3>
148
149 <sect3 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Xorg Programs</segtitle>
154 <segtitle>Installed Xorg Library</segtitle>
155 <segtitle>Installed Xorg Directory</segtitle>
156
157 <seglistitem>
158 <seg>
159 libevdev-tweak-device, mouse-dpi-tool, and touchpad-edge-detector
160 </seg>
161 <seg>
162 libevdev.so
163 </seg>
164 <seg>
165 $XORG_PREFIX/include/libevdev-1.0
166 </seg>
167 </seglistitem>
168 </segmentedlist>
169
170 <variablelist>
171 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="libevdev-tweak-device">
176 <term><command>libevdev-tweak-device</command></term>
177 <listitem>
178 <para>
179 is a tool to change some kernel device properties
180 </para>
181 <indexterm zone="libevdev libevdev-tweak-device">
182 <primary sortas="b-libevdev-tweak-device">libevdev-tweak-device</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="mouse-dpi-tool">
188 <term><command>mouse-dpi-tool</command></term>
189 <listitem>
190 <para>
191 is a tool to estimate the resolution of a mouse
192 </para>
193 <indexterm zone="libevdev mouse-dpi-tool">
194 <primary sortas="b-mouse-dpi-tool">mouse-dpi-tool</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="touchpad-edge-detector">
200 <term><command>touchpad-edge-detector</command></term>
201 <listitem>
202 <para>
203 touchpad-edge-detector is a tool that reads the touchpad events
204 from the kernel and calculates the minimum and maximum for the x
205 and y coordinates, respectively
206 </para>
207 <indexterm zone="libevdev touchpad-edge-detector">
208 <primary sortas="b-touchpad-edge-detector">touchpad-edge-detector</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="libevdev-lib">
214 <term><filename class="libraryfile">libevdev.so</filename></term>
215 <listitem>
216 <para>
217 is a library of Xorg driver input functions
218 </para>
219 <indexterm zone="libevdev libevdev-lib">
220 <primary sortas="c-libevdev-lib">ebvdev.so</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 </variablelist>
226
227 </sect3>
228
229 </sect2>
Note: See TracBrowser for help on using the repository browser.