[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 |
|
---|
[d9bfb9f] | 7 | <!ENTITY libevdev-version "1.2.2">
|
---|
[35e960fb] | 8 |
|
---|
| 9 | <!ENTITY libevdev-download-http "http://www.freedesktop.org/software/libevdev/libevdev-&libevdev-version;.tar.xz">
|
---|
| 10 | <!ENTITY libevdev-download-ftp " ">
|
---|
[d9bfb9f] | 11 | <!ENTITY libevdev-md5sum "7c1ee9c2069489b2a25dfde6f8e2ff6a">
|
---|
[35e960fb] | 12 | <!ENTITY libevdev-size "380 KB">
|
---|
[d9bfb9f] | 13 | <!ENTITY libevdev-buildsize "8.2 MB">
|
---|
| 14 | <!ENTITY libevdev-time "0.1 SBU (0.3 SBU with all 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 |
|
---|
| 34 | &lfs75_checked;
|
---|
| 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 --->
|
---|
| 98 | Input device support --->
|
---|
| 99 | Event interface: Y or M
|
---|
| 100 | Miscellaneous devices --->
|
---|
| 101 | User level driver support: Y or M</literal></screen>
|
---|
| 102 |
|
---|
[35e960fb] | 103 | <indexterm zone="libevdev libevdev-kernel">
|
---|
| 104 | <primary sortas="d-libevdev">libevdev</primary>
|
---|
[b7a67e90] | 105 | </indexterm>
|
---|
| 106 | </sect3>
|
---|
| 107 |
|
---|
| 108 | <sect3 role="installation">
|
---|
[35e960fb] | 109 | <title>Installation of Libevdev</title>
|
---|
[b7a67e90] | 110 |
|
---|
[d9bfb9f] | 111 | <para>If <xref linkend="valgrind"/> is installed and tests are
|
---|
| 112 | going to be run, fix a testing problem:</para>
|
---|
| 113 |
|
---|
| 114 | <screen><userinput>cat >> test/valgrind.suppressions << "EOF"
|
---|
| 115 | {
|
---|
| 116 | <timer_create@@GLIBC_2.3.3-2>
|
---|
| 117 | Memcheck:Param
|
---|
| 118 | timer_create(evp)
|
---|
| 119 | fun:timer_create@@GLIBC_2.3.3
|
---|
| 120 | fun:check_get_clockid
|
---|
| 121 | fun:srunner_run
|
---|
| 122 | fun:main
|
---|
| 123 | }
|
---|
| 124 | EOF</userinput></screen>
|
---|
| 125 |
|
---|
[b7a67e90] | 126 | <para>
|
---|
[35e960fb] | 127 | Install <application>Libevdev</application> by running the following
|
---|
[b7a67e90] | 128 | commands:
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
| 132 | make</userinput></screen>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | If you have the optional <xref linkend='check'/> package installed,
|
---|
| 136 | the regression tests can be run as the <systemitem
|
---|
| 137 | class="username">root</systemitem> user with
|
---|
| 138 | <userinput>make check</userinput>.
|
---|
| 139 | </para>
|
---|
| 140 |
|
---|
| 141 | <para>
|
---|
| 142 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
| 145 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 146 | </sect3>
|
---|
| 147 |
|
---|
| 148 | <sect3 role="content">
|
---|
| 149 | <title>Contents</title>
|
---|
| 150 |
|
---|
| 151 | <segmentedlist>
|
---|
| 152 | <segtitle>Installed Xorg Program</segtitle>
|
---|
| 153 | <segtitle>Installed Xorg Library</segtitle>
|
---|
| 154 |
|
---|
| 155 | <seglistitem>
|
---|
| 156 | <seg>
|
---|
| 157 | touchpad-edge-detector
|
---|
| 158 | </seg>
|
---|
| 159 | <seg>
|
---|
| 160 | libevdev.so
|
---|
| 161 | </seg>
|
---|
| 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
| 164 |
|
---|
| 165 | <variablelist>
|
---|
| 166 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
| 167 | <?dbfo list-presentation="list"?>
|
---|
| 168 | <?dbhtml list-presentation="table"?>
|
---|
| 169 |
|
---|
[35e960fb] | 170 | <varlistentry id="libevdev-lib">
|
---|
[b7a67e90] | 171 | <term><filename class="libraryfile">libevdev.so</filename></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>
|
---|
| 174 | is a library of Xorg driver input functions.
|
---|
| 175 | </para>
|
---|
[35e960fb] | 176 | <indexterm zone="libevdev libevdev-lib">
|
---|
| 177 | <primary sortas="c-libevdev-lib">ebvdev.so</primary>
|
---|
[b7a67e90] | 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | </variablelist>
|
---|
| 183 |
|
---|
| 184 | </sect3>
|
---|
| 185 |
|
---|
| 186 | </sect2>
|
---|
| 187 | <!-- End Xorg Evdev Driver -->
|
---|