source: x/installing/libevdev.xml@ a70b1d13

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 a70b1d13 was a70b1d13, checked in by Thomas Trepl (Moody) <thomas@…>, 3 years ago

Tags

  • Property mode set to 100644
File size: 6.7 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
[5c4a616]7 <!ENTITY libevdev-version "1.11.0">
[35e960fb]8
[8dfc5c3]9 <!ENTITY libevdev-download-http "https://www.freedesktop.org/software/libevdev/libevdev-&libevdev-version;.tar.xz">
[35e960fb]10 <!ENTITY libevdev-download-ftp " ">
[5c4a616]11 <!ENTITY libevdev-md5sum "b09838ec120dabeebc08fa6a1943594f">
[d1afdf5]12 <!ENTITY libevdev-size "436 KB">
[5e99854b]13 <!ENTITY libevdev-buildsize "9.1 MB (with tests)">
[3b496ff]14 <!ENTITY libevdev-time "0.2 SBU (with tests)">
[b7a67e90]15]>
16
[f97d5f6]17 <!-- Begin Xorg libevdev Driver -->
18 <sect2 id="libevdev" xreflabel="libevdev-&libevdev-version;">
[b7a67e90]19
[6dc826d]20 <sect2info>
21 <date>$Date$</date>
22 </sect2info>
23
[f97d5f6]24 <title>libevdev &libevdev-version;</title>
[b7a67e90]25
[35e960fb]26 <indexterm zone="libevdev">
27 <primary sortas="a-libevdev">libevdev</primary>
[b7a67e90]28 </indexterm>
29
30 <sect3 role="package">
[f97d5f6]31 <title>Introduction to libevdev</title>
[b7a67e90]32
33 <para>
[f97d5f6]34 The <application>libevdev</application> package contains common
[e5e7a1d]35 functions for Xorg input drivers.
[b7a67e90]36 </para>
37
[a70b1d13]38 &lfs110_checked;
[b7a67e90]39
40 <bridgehead renderas="sect4">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
[35e960fb]44 Download (HTTP): <ulink url="&libevdev-download-http;"/>
[b7a67e90]45 </para>
46 </listitem>
47 <listitem>
48 <para>
[35e960fb]49 Download (FTP): <ulink url="&libevdev-download-ftp;"/>
[b7a67e90]50 </para>
51 </listitem>
52 <listitem>
53 <para>
[35e960fb]54 Download MD5 sum: &libevdev-md5sum;
[b7a67e90]55 </para>
56 </listitem>
57 <listitem>
58 <para>
[35e960fb]59 Download size: &libevdev-size;
[b7a67e90]60 </para>
61 </listitem>
62 <listitem>
63 <para>
[35e960fb]64 Estimated disk space required: &libevdev-buildsize;
[b7a67e90]65 </para>
66 </listitem>
67 <listitem>
68 <para>
[35e960fb]69 Estimated build time: &libevdev-time;
[b7a67e90]70 </para>
71 </listitem>
72 </itemizedlist>
73
[f97d5f6]74 <bridgehead renderas="sect4">libevdev Dependencies</bridgehead>
[cac7f93]75
[b7a67e90]76 <bridgehead renderas="sect5">Optional</bridgehead>
77 <para role="optional">
[17facb1]78 <xref linkend="doxygen"/> and
[39dd48b]79 <xref linkend="valgrind"/> (optional for tests)
[b7a67e90]80 </para>
81
82 <para condition="html" role="usernotes">
[35e960fb]83 User Notes: <ulink url="&blfs-wiki;/libevdev"/>
[b7a67e90]84 </para>
85 </sect3>
86
[35e960fb]87 <sect3 role="kernel" id="libevdev-kernel">
[b7a67e90]88 <title>Kernel Configuration</title>
89
90 <para>
91 Enable the following options in the kernel configuration and recompile the
92 kernel if necessary:
93 </para>
94
95<screen><literal>Device Drivers ---&gt;
96 Input device support ---&gt;
[ee4e4dea]97 &lt;*&gt; Generic input layer (needed for keyboard, mouse, ...) [CONFIG_INPUT]
[ca40dca]98 &lt;*&gt; Event interface [CONFIG_INPUT_EVDEV]
99 [*] Miscellaneous devices ---&gt; [CONFIG_INPUT_MISC]
100 &lt;*&gt; User level driver support [CONFIG_INPUT_UINPUT]</literal></screen>
[b7a67e90]101
[35e960fb]102 <indexterm zone="libevdev libevdev-kernel">
103 <primary sortas="d-libevdev">libevdev</primary>
[b7a67e90]104 </indexterm>
105 </sect3>
106
107 <sect3 role="installation">
[f97d5f6]108 <title>Installation of libevdev</title>
[b7a67e90]109
110 <para>
[f97d5f6]111 Install <application>libevdev</application> by running the following
[b7a67e90]112 commands:
113 </para>
114
115<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
116make</userinput></screen>
117
118 <para>
[24e5f9d]119 The regression tests can be run as the <systemitem
[b8ad040]120 class="username">root</systemitem> user with <command>make
[24e5f9d]121 check</command>, in a graphical session. Note that on some systems, the
[f4bb000d]122 tests may cause a hard lockup and require a reboot. On laptops, the
123 system will go into Sleep and need to be woken up to finish the test
124 suites.
[b7a67e90]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>
[ca4eb659]138 <segtitle>Installed Xorg Programs</segtitle>
[b7a67e90]139 <segtitle>Installed Xorg Library</segtitle>
[ca4eb659]140 <segtitle>Installed Xorg Directory</segtitle>
[b7a67e90]141
142 <seglistitem>
143 <seg>
[39dd48b]144 libevdev-tweak-device, mouse-dpi-tool, and touchpad-edge-detector
[b7a67e90]145 </seg>
146 <seg>
147 libevdev.so
148 </seg>
[ca4eb659]149 <seg>
150 $XORG_PREFIX/include/libevdev-1.0
151 </seg>
[b7a67e90]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
[39dd48b]160 <varlistentry id="libevdev-tweak-device">
161 <term><command>libevdev-tweak-device</command></term>
162 <listitem>
163 <para>
[4c24eb0a]164 is a tool to change some kernel device properties
[39dd48b]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
[ca4eb659]172 <varlistentry id="mouse-dpi-tool">
173 <term><command>mouse-dpi-tool</command></term>
174 <listitem>
175 <para>
[4c24eb0a]176 is a tool to estimate the resolution of a mouse
[ca4eb659]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
[b8ad040]184 <varlistentry id="touchpad-edge-detector">
185 <term><command>touchpad-edge-detector</command></term>
186 <listitem>
187 <para>
188 touchpad-edge-detector is a tool that reads the touchpad events
189 from the kernel and calculates the minimum and maximum for the x
[4c24eb0a]190 and y coordinates, respectively
[b8ad040]191 </para>
192 <indexterm zone="libevdev touchpad-edge-detector">
193 <primary sortas="b-touchpad-edge-detector">touchpad-edge-detector</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
[35e960fb]198 <varlistentry id="libevdev-lib">
[b7a67e90]199 <term><filename class="libraryfile">libevdev.so</filename></term>
200 <listitem>
201 <para>
[4c24eb0a]202 is a library of Xorg driver input functions
[b7a67e90]203 </para>
[35e960fb]204 <indexterm zone="libevdev libevdev-lib">
205 <primary sortas="c-libevdev-lib">ebvdev.so</primary>
[b7a67e90]206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 </variablelist>
211
212 </sect3>
213
214 </sect2>
Note: See TracBrowser for help on using the repository browser.