source: x/installing/libevdev.xml@ d7f908d5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 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 d7f908d5 was d7f908d5, checked in by Ken Moffat <ken@…>, 9 years ago

Remaining Xorg tags - some drivers are only built.

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

  • Property mode set to 100644
File size: 6.2 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.2">
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 "debfcd5153558eba25a8e71eb2534ae8">
12 <!ENTITY libevdev-size "400 KB">
13 <!ENTITY libevdev-buildsize "8.6 MB (with tests)">
14 <!ENTITY libevdev-time "0.1 SBU (0.2 SBU with tests)">
15]>
16
17 <!-- Begin Xorg Libevdev Driver -->
18 <sect2 id="libevdev" xreflabel="Libevdev-&libevdev-version;">
19
20 <title>Libevdev &libevdev-version;</title>
21
22 <indexterm zone="libevdev">
23 <primary sortas="a-libevdev">libevdev</primary>
24 </indexterm>
25
26 <sect3 role="package">
27 <title>Introduction to Libevdev</title>
28
29 <para>
30 The <application>Libevdev</application> package contains common
31 functions for Xorg input drivers.
32 </para>
33
34 &lfs77_checked; &gcc5_checked;
35
36 <bridgehead renderas="sect4">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&libevdev-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&libevdev-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &libevdev-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &libevdev-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &libevdev-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &libevdev-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect4">Libevdev Dependencies</bridgehead>
71
72 <bridgehead renderas="sect5">Required</bridgehead>
73 <para role="required">
74 <xref linkend="python2"/> or <xref linkend="python3"/>
75 </para>
76
77 <bridgehead renderas="sect5">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="check"/> (required for tests),
80 <xref linkend="doxygen"/>, and
81 <xref linkend="valgrind"/> (optional for tests)
82 </para>
83
84 <para condition="html" role="usernotes">
85 User Notes: <ulink url="&blfs-wiki;/libevdev"/>
86 </para>
87 </sect3>
88
89 <sect3 role="kernel" id="libevdev-kernel">
90 <title>Kernel Configuration</title>
91
92 <para>
93 Enable the following options in the kernel configuration and recompile the
94 kernel if necessary:
95 </para>
96
97<screen><literal>Device Drivers ---&gt;
98 Input device support ---&gt;
99 &lt;*&gt; Generic input layer (needed for...) [CONFIG_INPUT]
100 &lt;*&gt; Event interface [CONFIG_INPUT_EVDEV]
101 [*] Miscellaneous devices ---&gt; [CONFIG_INPUT_MISC]
102 &lt;*&gt; User level driver support [CONFIG_INPUT_UINPUT]</literal></screen>
103
104 <indexterm zone="libevdev libevdev-kernel">
105 <primary sortas="d-libevdev">libevdev</primary>
106 </indexterm>
107 </sect3>
108
109 <sect3 role="installation">
110 <title>Installation of Libevdev</title>
111
112 <para>
113 Install <application>Libevdev</application> by running the following
114 commands:
115 </para>
116
117<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
118make</userinput></screen>
119
120 <para>
121 If you have the optional <xref linkend='check'/> package installed,
122 the regression tests can be run as the <systemitem
123 class="username">root</systemitem> user with
124 <command>make check</command>.
125 </para>
126
127 <para>
128 Now, as the <systemitem class="username">root</systemitem> user:
129 </para>
130
131<screen role="root"><userinput>make install</userinput></screen>
132 </sect3>
133
134 <sect3 role="content">
135 <title>Contents</title>
136
137 <segmentedlist>
138 <segtitle>Installed Xorg Programs</segtitle>
139 <segtitle>Installed Xorg Library</segtitle>
140 <segtitle>Installed Xorg Directory</segtitle>
141
142 <seglistitem>
143 <seg>
144 libevdev-tweak-device, mouse-dpi-tool, and touchpad-edge-detector
145 </seg>
146 <seg>
147 libevdev.so
148 </seg>
149 <seg>
150 $XORG_PREFIX/include/libevdev-1.0
151 </seg>
152 </seglistitem>
153 </segmentedlist>
154
155 <variablelist>
156 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
157 <?dbfo list-presentation="list"?>
158 <?dbhtml list-presentation="table"?>
159
160 <varlistentry id="libevdev-tweak-device">
161 <term><command>libevdev-tweak-device</command></term>
162 <listitem>
163 <para>
164 is a tool to change some kernel device properties.
165 </para>
166 <indexterm zone="libevdev libevdev-tweak-device">
167 <primary sortas="b-libevdev-tweak-device">libevdev-tweak-device</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="mouse-dpi-tool">
173 <term><command>mouse-dpi-tool</command></term>
174 <listitem>
175 <para>
176 is a tool to estimate the resolution of a mouse.
177 </para>
178 <indexterm zone="libevdev mouse-dpi-tool">
179 <primary sortas="b-mouse-dpi-tool">mouse-dpi-tool</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry id="libevdev-lib">
185 <term><filename class="libraryfile">libevdev.so</filename></term>
186 <listitem>
187 <para>
188 is a library of Xorg driver input functions.
189 </para>
190 <indexterm zone="libevdev libevdev-lib">
191 <primary sortas="c-libevdev-lib">ebvdev.so</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 </variablelist>
197
198 </sect3>
199
200 </sect2>
201 <!-- End Xorg Evdev Driver -->
Note: See TracBrowser for help on using the repository browser.