source: x/installing/libevdev.xml@ 17facb1

10.1 11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 17facb1 was 17facb1, checked in by Xi Ruoyao <xry111@…>, 4 years ago

remove two Python 2 ref

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23806 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.7 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.9.1">
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 "58286a834ae14536caf9cab8633419cf">
12 <!ENTITY libevdev-size "436 KB">
13 <!ENTITY libevdev-buildsize "8.4 MB (with tests)">
14 <!ENTITY libevdev-time "0.1 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 &lfs10_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">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="doxygen"/> and
80 <xref linkend="valgrind"/> (optional for tests)
81 </para>
82
83 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/libevdev"/>
85 </para>
86 </sect3>
87
88 <sect3 role="kernel" id="libevdev-kernel">
89 <title>Kernel Configuration</title>
90
91 <para>
92 Enable the following options in the kernel configuration and recompile the
93 kernel if necessary:
94 </para>
95
96<screen><literal>Device Drivers ---&gt;
97 Input device support ---&gt;
98 &lt;*&gt; Generic input layer (needed for...) [CONFIG_INPUT]
99 &lt;*&gt; Event interface [CONFIG_INPUT_EVDEV]
100 [*] Miscellaneous devices ---&gt; [CONFIG_INPUT_MISC]
101 &lt;*&gt; User level driver support [CONFIG_INPUT_UINPUT]</literal></screen>
102
103 <indexterm zone="libevdev libevdev-kernel">
104 <primary sortas="d-libevdev">libevdev</primary>
105 </indexterm>
106 </sect3>
107
108 <sect3 role="installation">
109 <title>Installation of libevdev</title>
110
111 <para>
112 Install <application>libevdev</application> by running the following
113 commands:
114 </para>
115
116<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
117make</userinput></screen>
118
119 <para>
120 The regression tests can be run as the <systemitem
121 class="username">root</systemitem> user with <command>make
122 check</command>, in a graphical session. Note that on some systems, the
123 tests may cause a hard lockup and require a reboot. On laptops, the
124 system will go into Sleep and need to be woken up to finish the test
125 suites.
126 </para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131
132<screen role="root"><userinput>make install</userinput></screen>
133 </sect3>
134
135 <sect3 role="content">
136 <title>Contents</title>
137
138 <segmentedlist>
139 <segtitle>Installed Xorg Programs</segtitle>
140 <segtitle>Installed Xorg Library</segtitle>
141 <segtitle>Installed Xorg Directory</segtitle>
142
143 <seglistitem>
144 <seg>
145 libevdev-tweak-device, mouse-dpi-tool, and touchpad-edge-detector
146 </seg>
147 <seg>
148 libevdev.so
149 </seg>
150 <seg>
151 $XORG_PREFIX/include/libevdev-1.0
152 </seg>
153 </seglistitem>
154 </segmentedlist>
155
156 <variablelist>
157 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
158 <?dbfo list-presentation="list"?>
159 <?dbhtml list-presentation="table"?>
160
161 <varlistentry id="libevdev-tweak-device">
162 <term><command>libevdev-tweak-device</command></term>
163 <listitem>
164 <para>
165 is a tool to change some kernel device properties.
166 </para>
167 <indexterm zone="libevdev libevdev-tweak-device">
168 <primary sortas="b-libevdev-tweak-device">libevdev-tweak-device</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="mouse-dpi-tool">
174 <term><command>mouse-dpi-tool</command></term>
175 <listitem>
176 <para>
177 is a tool to estimate the resolution of a mouse.
178 </para>
179 <indexterm zone="libevdev mouse-dpi-tool">
180 <primary sortas="b-mouse-dpi-tool">mouse-dpi-tool</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="touchpad-edge-detector">
186 <term><command>touchpad-edge-detector</command></term>
187 <listitem>
188 <para>
189 touchpad-edge-detector is a tool that reads the touchpad events
190 from the kernel and calculates the minimum and maximum for the x
191 and y coordinates, respectively.
192 </para>
193 <indexterm zone="libevdev touchpad-edge-detector">
194 <primary sortas="b-touchpad-edge-detector">touchpad-edge-detector</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="libevdev-lib">
200 <term><filename class="libraryfile">libevdev.so</filename></term>
201 <listitem>
202 <para>
203 is a library of Xorg driver input functions.
204 </para>
205 <indexterm zone="libevdev libevdev-lib">
206 <primary sortas="c-libevdev-lib">ebvdev.so</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 </variablelist>
212
213 </sect3>
214
215 </sect2>
216 <!-- End Xorg Evdev Driver -->
Note: See TracBrowser for help on using the repository browser.