source: x/installing/libevdev.xml@ ca40dca

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 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 ca40dca was ca40dca, checked in by Pierre Labastie <pieere@…>, 9 years ago

Modify Kernel Configuration instructions for Xorg drivers, to use the same
format as in the LFS Kernel page

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

  • Property mode set to 100644
File size: 5.4 KB
RevLine 
[b7a67e90]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
[95d49d5e]7 <!ENTITY libevdev-version "1.3.1">
[35e960fb]8
9 <!ENTITY libevdev-download-http "http://www.freedesktop.org/software/libevdev/libevdev-&libevdev-version;.tar.xz">
10 <!ENTITY libevdev-download-ftp " ">
[95d49d5e]11 <!ENTITY libevdev-md5sum "c47d49e16c6f7d2eb45164a58895aecb">
[26487c1]12 <!ENTITY libevdev-size "384 KB">
[95d49d5e]13 <!ENTITY libevdev-buildsize "8.9 MB (with tests)">
14 <!ENTITY libevdev-time "0.1 SBU (0.2 SBU with tests)">
[b7a67e90]15]>
16
[14ddbdf6]17 <!-- Begin Xorg Libevdev Driver -->
[35e960fb]18 <sect2 id="libevdev" xreflabel="Libevdev-&libevdev-version;">
[b7a67e90]19
[35e960fb]20 <title>Libevdev &libevdev-version;</title>
[b7a67e90]21
[35e960fb]22 <indexterm zone="libevdev">
23 <primary sortas="a-libevdev">libevdev</primary>
[b7a67e90]24 </indexterm>
25
26 <sect3 role="package">
[35e960fb]27 <title>Introduction to Libevdev</title>
[b7a67e90]28
29 <para>
[35e960fb]30 The <application>Libevdev</application> package contains common
[b7a67e90]31 functions for Xorg input drivers.
32 </para>
33
[59d9079]34 &lfs76_checked;
[b7a67e90]35
36 <bridgehead renderas="sect4">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
[35e960fb]40 Download (HTTP): <ulink url="&libevdev-download-http;"/>
[b7a67e90]41 </para>
42 </listitem>
43 <listitem>
44 <para>
[35e960fb]45 Download (FTP): <ulink url="&libevdev-download-ftp;"/>
[b7a67e90]46 </para>
47 </listitem>
48 <listitem>
49 <para>
[35e960fb]50 Download MD5 sum: &libevdev-md5sum;
[b7a67e90]51 </para>
52 </listitem>
53 <listitem>
54 <para>
[35e960fb]55 Download size: &libevdev-size;
[b7a67e90]56 </para>
57 </listitem>
58 <listitem>
59 <para>
[35e960fb]60 Estimated disk space required: &libevdev-buildsize;
[b7a67e90]61 </para>
62 </listitem>
63 <listitem>
64 <para>
[35e960fb]65 Estimated build time: &libevdev-time;
[b7a67e90]66 </para>
67 </listitem>
68 </itemizedlist>
69
[35e960fb]70 <bridgehead renderas="sect4">Libevdev Dependencies</bridgehead>
[b7a67e90]71
72 <bridgehead renderas="sect5">Required</bridgehead>
73 <para role="required">
74 <xref linkend="python2"/>
75 </para>
76
77 <bridgehead renderas="sect5">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="check"/>,
80 <xref linkend="doxygen"/>, and
81 <xref linkend="valgrind"/>
82 </para>
83
84 <para condition="html" role="usernotes">
[35e960fb]85 User Notes: <ulink url="&blfs-wiki;/libevdev"/>
[b7a67e90]86 </para>
87 </sect3>
88
[35e960fb]89 <sect3 role="kernel" id="libevdev-kernel">
[b7a67e90]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;
[ca40dca]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>
[b7a67e90]103
[35e960fb]104 <indexterm zone="libevdev libevdev-kernel">
105 <primary sortas="d-libevdev">libevdev</primary>
[b7a67e90]106 </indexterm>
107 </sect3>
108
109 <sect3 role="installation">
[35e960fb]110 <title>Installation of Libevdev</title>
[b7a67e90]111
[d9bfb9f]112 <para>If <xref linkend="valgrind"/> is installed and tests are
113 going to be run, fix a testing problem:</para>
114
115<screen><userinput>cat &gt;&gt; test/valgrind.suppressions &lt;&lt; "EOF"
116{
117 &lt;timer_create@@GLIBC_2.3.3-2&gt;
118 Memcheck:Param
119 timer_create(evp)
120 fun:timer_create@@GLIBC_2.3.3
121 fun:check_get_clockid
122 fun:srunner_run
123 fun:main
124}
125EOF</userinput></screen>
126
[b7a67e90]127 <para>
[35e960fb]128 Install <application>Libevdev</application> by running the following
[b7a67e90]129 commands:
130 </para>
131
132<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
133make</userinput></screen>
134
135 <para>
136 If you have the optional <xref linkend='check'/> package installed,
137 the regression tests can be run as the <systemitem
138 class="username">root</systemitem> user with
139 <userinput>make check</userinput>.
140 </para>
141
142 <para>
143 Now, as the <systemitem class="username">root</systemitem> user:
144 </para>
145
146<screen role="root"><userinput>make install</userinput></screen>
147 </sect3>
148
149 <sect3 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Xorg Program</segtitle>
154 <segtitle>Installed Xorg Library</segtitle>
155
156 <seglistitem>
157 <seg>
158 touchpad-edge-detector
159 </seg>
160 <seg>
161 libevdev.so
162 </seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
[35e960fb]171 <varlistentry id="libevdev-lib">
[b7a67e90]172 <term><filename class="libraryfile">libevdev.so</filename></term>
173 <listitem>
174 <para>
175 is a library of Xorg driver input functions.
176 </para>
[35e960fb]177 <indexterm zone="libevdev libevdev-lib">
178 <primary sortas="c-libevdev-lib">ebvdev.so</primary>
[b7a67e90]179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 </variablelist>
184
185 </sect3>
186
187 </sect2>
188 <!-- End Xorg Evdev Driver -->
Note: See TracBrowser for help on using the repository browser.