[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 |
|
---|
[e82767f] | 7 | <!ENTITY libevdev-version "1.4.2">
|
---|
[35e960fb] | 8 |
|
---|
| 9 | <!ENTITY libevdev-download-http "http://www.freedesktop.org/software/libevdev/libevdev-&libevdev-version;.tar.xz">
|
---|
| 10 | <!ENTITY libevdev-download-ftp " ">
|
---|
[e82767f] | 11 | <!ENTITY libevdev-md5sum "debfcd5153558eba25a8e71eb2534ae8">
|
---|
[bfa0edb2] | 12 | <!ENTITY libevdev-size "400 KB">
|
---|
| 13 | <!ENTITY libevdev-buildsize "8.6 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 |
|
---|
[d7f908d5] | 34 | &lfs77_checked; &gcc5_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">
|
---|
[7dee57c] | 74 | <xref linkend="python2"/> or <xref linkend="python3"/>
|
---|
[b7a67e90] | 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 78 | <para role="optional">
|
---|
[39dd48b] | 79 | <xref linkend="check"/> (required for tests),
|
---|
[b7a67e90] | 80 | <xref linkend="doxygen"/>, and
|
---|
[39dd48b] | 81 | <xref linkend="valgrind"/> (optional for tests)
|
---|
[b7a67e90] | 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 --->
|
---|
[ca40dcac] | 99 | <*> Generic input layer (needed for...) [CONFIG_INPUT]
|
---|
| 100 | <*> Event interface [CONFIG_INPUT_EVDEV]
|
---|
| 101 | [*] Miscellaneous devices ---> [CONFIG_INPUT_MISC]
|
---|
| 102 | <*> 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 |
|
---|
| 112 | <para>
|
---|
[35e960fb] | 113 | Install <application>Libevdev</application> by running the following
|
---|
[b7a67e90] | 114 | commands:
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
| 118 | make</userinput></screen>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | If you have the optional <xref linkend='check'/> package installed,
|
---|
| 122 | the regression tests can be run as the <systemitem
|
---|
| 123 | class="username">root</systemitem> user with
|
---|
[39dd48b] | 124 | <command>make check</command>.
|
---|
[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>
|
---|
| 164 | is a tool to change some kernel device properties.
|
---|
| 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>
|
---|
| 176 | is a tool to estimate the resolution of a mouse.
|
---|
| 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 |
|
---|
[35e960fb] | 184 | <varlistentry id="libevdev-lib">
|
---|
[b7a67e90] | 185 | <term><filename class="libraryfile">libevdev.so</filename></term>
|
---|
| 186 | <listitem>
|
---|
| 187 | <para>
|
---|
| 188 | is a library of Xorg driver input functions.
|
---|
| 189 | </para>
|
---|
[35e960fb] | 190 | <indexterm zone="libevdev libevdev-lib">
|
---|
| 191 | <primary sortas="c-libevdev-lib">ebvdev.so</primary>
|
---|
[b7a67e90] | 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | </variablelist>
|
---|
| 197 |
|
---|
| 198 | </sect3>
|
---|
| 199 |
|
---|
| 200 | </sect2>
|
---|
| 201 | <!-- End Xorg Evdev Driver -->
|
---|