glfs/x/installing/libevdev.xml
Fernando de Oliveira bfa0edb264 Update to libevdev-1.4.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15816 af4574ff-66df-0310-9fd7-8a98e5e911e0
2015-04-09 17:08:43 +00:00

202 lines
6.1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libevdev-version "1.4.1">
<!ENTITY libevdev-download-http "http://www.freedesktop.org/software/libevdev/libevdev-&libevdev-version;.tar.xz">
<!ENTITY libevdev-download-ftp " ">
<!ENTITY libevdev-md5sum "7c0b85b4c1e9f335b032cd0628cc1f83">
<!ENTITY libevdev-size "400 KB">
<!ENTITY libevdev-buildsize "8.6 MB (with tests)">
<!ENTITY libevdev-time "0.1 SBU (0.2 SBU with tests)">
]>
<!-- Begin Xorg Libevdev Driver -->
<sect2 id="libevdev" xreflabel="Libevdev-&libevdev-version;">
<title>Libevdev &libevdev-version;</title>
<indexterm zone="libevdev">
<primary sortas="a-libevdev">libevdev</primary>
</indexterm>
<sect3 role="package">
<title>Introduction to Libevdev</title>
<para>
The <application>Libevdev</application> package contains common
functions for Xorg input drivers.
</para>
&lfs77_checked;
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libevdev-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libevdev-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libevdev-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libevdev-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libevdev-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libevdev-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect4">Libevdev Dependencies</bridgehead>
<bridgehead renderas="sect5">Required</bridgehead>
<para role="required">
<xref linkend="python2"/> or <xref linkend="python3"/>
</para>
<bridgehead renderas="sect5">Optional</bridgehead>
<para role="optional">
<xref linkend="check"/> (required for tests),
<xref linkend="doxygen"/>, and
<xref linkend="valgrind"/> (optional for tests)
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/libevdev"/>
</para>
</sect3>
<sect3 role="kernel" id="libevdev-kernel">
<title>Kernel Configuration</title>
<para>
Enable the following options in the kernel configuration and recompile the
kernel if necessary:
</para>
<screen><literal>Device Drivers ---&gt;
Input device support ---&gt;
&lt;*&gt; Generic input layer (needed for...) [CONFIG_INPUT]
&lt;*&gt; Event interface [CONFIG_INPUT_EVDEV]
[*] Miscellaneous devices ---&gt; [CONFIG_INPUT_MISC]
&lt;*&gt; User level driver support [CONFIG_INPUT_UINPUT]</literal></screen>
<indexterm zone="libevdev libevdev-kernel">
<primary sortas="d-libevdev">libevdev</primary>
</indexterm>
</sect3>
<sect3 role="installation">
<title>Installation of Libevdev</title>
<para>
Install <application>Libevdev</application> by running the following
commands:
</para>
<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
make</userinput></screen>
<para>
If you have the optional <xref linkend='check'/> package installed,
the regression tests can be run as the <systemitem
class="username">root</systemitem> user with
<command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect3>
<sect3 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Xorg Programs</segtitle>
<segtitle>Installed Xorg Library</segtitle>
<segtitle>Installed Xorg Directory</segtitle>
<seglistitem>
<seg>
libevdev-tweak-device, mouse-dpi-tool, and touchpad-edge-detector
</seg>
<seg>
libevdev.so
</seg>
<seg>
$XORG_PREFIX/include/libevdev-1.0
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect4">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libevdev-tweak-device">
<term><command>libevdev-tweak-device</command></term>
<listitem>
<para>
is a tool to change some kernel device properties.
</para>
<indexterm zone="libevdev libevdev-tweak-device">
<primary sortas="b-libevdev-tweak-device">libevdev-tweak-device</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="mouse-dpi-tool">
<term><command>mouse-dpi-tool</command></term>
<listitem>
<para>
is a tool to estimate the resolution of a mouse.
</para>
<indexterm zone="libevdev mouse-dpi-tool">
<primary sortas="b-mouse-dpi-tool">mouse-dpi-tool</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libevdev-lib">
<term><filename class="libraryfile">libevdev.so</filename></term>
<listitem>
<para>
is a library of Xorg driver input functions.
</para>
<indexterm zone="libevdev libevdev-lib">
<primary sortas="c-libevdev-lib">ebvdev.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect3>
</sect2>
<!-- End Xorg Evdev Driver -->