source: x/installing/libevdev.xml@ 9fd7f516

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 9fd7f516 was f3429309, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • mupdf-1.8: minor reformat.
  • removing spaces from EOL, from Denis Mugnier.
  • BLFS/trunk/BOOK/kde/add/kdepim-runtime.xml: needed to fix to validate the book. One chunck had been removed. Bruce, please check if it is OK, now.

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

  • Property mode set to 100644
File size: 7.0 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.4.5">
8
9 <!ENTITY libevdev-download-http "http://www.freedesktop.org/software/libevdev/libevdev-&libevdev-version;.tar.xz">
10 <!ENTITY libevdev-download-ftp " ">
11 <!ENTITY libevdev-md5sum "b123d91e31d279ecb37bea774f17aae1">
12 <!ENTITY libevdev-size "404 KB">
13 <!ENTITY libevdev-buildsize "8.4 MB (additional 0.4 MB for tests)">
14 <!ENTITY libevdev-time "0.1 SBU (additional 0.1 SBU for 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 &lfs78_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 ---&gt;
103 Input device support ---&gt;
104 &lt;*&gt; Generic input layer (needed for...) [CONFIG_INPUT]
105 &lt;*&gt; Event interface [CONFIG_INPUT_EVDEV]
106 [*] Miscellaneous devices ---&gt; [CONFIG_INPUT_MISC]
107 &lt;*&gt; 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 &amp;&amp;
123make</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. One test shuts down and locks
130 the screen, then you are asked to give the password to unlock it and
131 get the previous state back.
132 </para>
133
134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
137
138<screen role="root"><userinput>make install</userinput></screen>
139 </sect3>
140
141 <sect3 role="content">
142 <title>Contents</title>
143
144 <segmentedlist>
145 <segtitle>Installed Xorg Programs</segtitle>
146 <segtitle>Installed Xorg Library</segtitle>
147 <segtitle>Installed Xorg Directory</segtitle>
148
149 <seglistitem>
150 <seg>
151 libevdev-tweak-device, mouse-dpi-tool, and touchpad-edge-detector
152 </seg>
153 <seg>
154 libevdev.so
155 </seg>
156 <seg>
157 $XORG_PREFIX/include/libevdev-1.0
158 </seg>
159 </seglistitem>
160 </segmentedlist>
161
162 <variablelist>
163 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
164 <?dbfo list-presentation="list"?>
165 <?dbhtml list-presentation="table"?>
166
167 <varlistentry id="libevdev-tweak-device">
168 <term><command>libevdev-tweak-device</command></term>
169 <listitem>
170 <para>
171 is a tool to change some kernel device properties.
172 </para>
173 <indexterm zone="libevdev libevdev-tweak-device">
174 <primary sortas="b-libevdev-tweak-device">libevdev-tweak-device</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="mouse-dpi-tool">
180 <term><command>mouse-dpi-tool</command></term>
181 <listitem>
182 <para>
183 is a tool to estimate the resolution of a mouse.
184 </para>
185 <indexterm zone="libevdev mouse-dpi-tool">
186 <primary sortas="b-mouse-dpi-tool">mouse-dpi-tool</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="touchpad-edge-detector">
192 <term><command>touchpad-edge-detector</command></term>
193 <listitem>
194 <para>
195 touchpad-edge-detector is a tool that reads the touchpad events
196 from the kernel and calculates the minimum and maximum for the x
197 and y coordinates, respectively.
198 </para>
199 <indexterm zone="libevdev touchpad-edge-detector">
200 <primary sortas="b-touchpad-edge-detector">touchpad-edge-detector</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="libevdev-lib">
206 <term><filename class="libraryfile">libevdev.so</filename></term>
207 <listitem>
208 <para>
209 is a library of Xorg driver input functions.
210 </para>
211 <indexterm zone="libevdev libevdev-lib">
212 <primary sortas="c-libevdev-lib">ebvdev.so</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 </variablelist>
218
219 </sect3>
220
221 </sect2>
222 <!-- End Xorg Evdev Driver -->
Note: See TracBrowser for help on using the repository browser.