source: general/genlib/libevdev.xml@ 99673f0

systemd-13485
Last change on this file since 99673f0 was 99673f0, checked in by DJ Lucas <dj@…>, 8 years ago

Rename -systemd specific files, move libdrim to X Libraries section.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16840 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-download-http "http://www.freedesktop.org/software/libevdev/libevdev-&libevdev-version;.tar.xz">
8 <!ENTITY libevdev-download-ftp " ">
9 <!ENTITY libevdev-md5sum "b66443bb664cfaf2ba7b3f8c238ea951">
10 <!ENTITY libevdev-size "404 KB">
11 <!ENTITY libevdev-buildsize "8.9 MB">
12 <!ENTITY libevdev-time "Less than 0.1 SBU">
13]>
14
15<sect1 id="libevdev" xreflabel="libevdev-&libevdev-version;">
16 <?dbhtml filename="libevdev.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libevdev-&libevdev-version;</title>
24
25 <indexterm zone="libevdev">
26 <primary sortas="a-libevdev">libevdev</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libevdev</title>
31
32 <para>
33 <application>libevdev</application> is a wrapper library for evdev
34 devices. It moves the common tasks when dealing with evdev devices
35 into a library and provides a library interface to the callers,
36 thus avoiding erroneous ioctls, etc.
37 </para>
38
39 &lfs78_checked;
40
41 <bridgehead renderas="sect3">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="sect3">libevdev Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="python2"/> or
80 <xref linkend="python3"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="check"/>,
86 <xref linkend="doxygen"/> and
87 <xref linkend="valgrind"/>
88 </para>
89
90 <para condition="html" role="usernotes">
91 User Notes: <ulink url="&blfs-wiki;/libevdev"/>
92 </para>
93 </sect2>
94
95 <sect2 role="kernel" id="libevdev-kernel">
96 <title>Kernel Configuration</title>
97
98 <para>
99 Enable the following options in the kernel configuration and recompile the
100 kernel if necessary:
101 </para>
102
103<screen><literal>Device Drivers ---&gt;
104 Input device support ---&gt;
105 &lt;*&gt; Generic input layer (needed for...) [CONFIG_INPUT]
106 &lt;*&gt; Event interface [CONFIG_INPUT_EVDEV]
107 [*] Miscellaneous devices ---&gt; [CONFIG_INPUT_MISC]
108 &lt;*&gt; User level driver support [CONFIG_INPUT_UINPUT]</literal></screen>
109
110 <indexterm zone="libevdev libevdev-kernel">
111 <primary sortas="d-libevdev">libevdev</primary>
112 </indexterm>
113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of libevdev</title>
117
118 <para>
119 Install <application>libevdev</application> by running the following
120 commands:
121 </para>
122
123<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
124make</userinput></screen>
125
126 <para>
127 If you have the optional <xref linkend="check"/> package installed,
128 the regression tests can be run as the <systemitem
129 class="username">root</systemitem> user with
130 <userinput>make check</userinput>.
131 </para>
132
133 <para>
134 Now, as the <systemitem class="username">root</systemitem> user:
135 </para>
136
137<screen role="root"><userinput>make install</userinput></screen>
138
139 </sect2>
140
141 <sect2 role="commands">
142 <title>Command Explanations</title>
143
144 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
145 href="../../xincludes/static-libraries.xml"/>
146
147 </sect2>
148
149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Programs</segtitle>
154 <segtitle>Installed Libraries</segtitle>
155 <segtitle>Installed Directories</segtitle>
156
157 <seglistitem>
158 <seg>
159 libevdev-tweak-device, mouse-dpi-tool and
160 touchpad-edge-detector
161 </seg>
162 <seg>
163 libevdev.so
164 </seg>
165 <seg>
166 /usr/include/libevdev-1.0
167 </seg>
168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
176 <varlistentry id="libevdev-tweak-device">
177 <term><command>libevdev-tweak-device</command></term>
178 <listitem>
179 <para>
180 is a tool to change some kernel device properties.
181 </para>
182 <indexterm zone="libevdev libevdev-tweak-device">
183 <primary sortas="b-libevdev-tweak-device">libevdev-tweak-device</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="mouse-dpi-tool">
189 <term><command>mouse-dpi-tool</command></term>
190 <listitem>
191 <para>
192 is a tool to estimate the resolution of a mouse.
193 </para>
194 <indexterm zone="libevdev mouse-dpi-tool">
195 <primary sortas="b-mouse-dpi-tool">mouse-dpi-tool</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="touchpad-edge-detector">
201 <term><command>touchpad-edge-detector</command></term>
202 <listitem>
203 <para>
204 is a tool that reads the touchpad events from the
205 kernel and calculates the minimum and maximum for
206 the x and y coordinates, respectively.
207 </para>
208 <indexterm zone="libevdev touchpad-edge-detector">
209 <primary sortas="b-touchpad-edge-detector">touchpad-edge-detector</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="libevdev-lib">
215 <term><filename class="libraryfile">libevdev.so</filename></term>
216 <listitem>
217 <para>
218 contains API functions for accessing evdev devices.
219 </para>
220 <indexterm zone="libevdev libevdev-lib">
221 <primary sortas="c-libevdev">libevdev.so</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 </variablelist>
227
228 </sect2>
229
230</sect1>
Note: See TracBrowser for help on using the repository browser.