[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 |
|
---|
[9fa8a61] | 7 | <!ENTITY libevdev-version "1.6.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 " ">
|
---|
[9fa8a61] | 11 | <!ENTITY libevdev-md5sum "154b24f01425c4c82fdc3e11f2c13af6">
|
---|
| 12 | <!ENTITY libevdev-size "404 KB">
|
---|
| 13 | <!ENTITY libevdev-buildsize "7.7 MB (with tests)">
|
---|
| 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 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect2info>
|
---|
| 24 |
|
---|
[f97d5f6] | 25 | <title>libevdev &libevdev-version;</title>
|
---|
[b7a67e90] | 26 |
|
---|
[35e960fb] | 27 | <indexterm zone="libevdev">
|
---|
| 28 | <primary sortas="a-libevdev">libevdev</primary>
|
---|
[b7a67e90] | 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect3 role="package">
|
---|
[f97d5f6] | 32 | <title>Introduction to libevdev</title>
|
---|
[b7a67e90] | 33 |
|
---|
| 34 | <para>
|
---|
[f97d5f6] | 35 | The <application>libevdev</application> package contains common
|
---|
[e5e7a1d] | 36 | functions for Xorg input drivers.
|
---|
[b7a67e90] | 37 | </para>
|
---|
| 38 |
|
---|
[38489aa0] | 39 | &lfs84_checked;
|
---|
[b7a67e90] | 40 |
|
---|
| 41 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
[35e960fb] | 45 | Download (HTTP): <ulink url="&libevdev-download-http;"/>
|
---|
[b7a67e90] | 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
[35e960fb] | 50 | Download (FTP): <ulink url="&libevdev-download-ftp;"/>
|
---|
[b7a67e90] | 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
[35e960fb] | 55 | Download MD5 sum: &libevdev-md5sum;
|
---|
[b7a67e90] | 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
[35e960fb] | 60 | Download size: &libevdev-size;
|
---|
[b7a67e90] | 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
[35e960fb] | 65 | Estimated disk space required: &libevdev-buildsize;
|
---|
[b7a67e90] | 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
[35e960fb] | 70 | Estimated build time: &libevdev-time;
|
---|
[b7a67e90] | 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[f97d5f6] | 75 | <bridgehead renderas="sect4">libevdev Dependencies</bridgehead>
|
---|
[60ddbaf] | 76 | <!--
|
---|
[b7a67e90] | 77 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
[7dee57c] | 79 | <xref linkend="python2"/> or <xref linkend="python3"/>
|
---|
[b7a67e90] | 80 | </para>
|
---|
[60ddbaf] | 81 | -->
|
---|
[b7a67e90] | 82 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 83 | <para role="optional">
|
---|
[60ddbaf] | 84 | <xref linkend="doxygen"/>,
|
---|
| 85 | <xref linkend="python2"/>, and
|
---|
[39dd48b] | 86 | <xref linkend="valgrind"/> (optional for tests)
|
---|
[b7a67e90] | 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <para condition="html" role="usernotes">
|
---|
[35e960fb] | 90 | User Notes: <ulink url="&blfs-wiki;/libevdev"/>
|
---|
[b7a67e90] | 91 | </para>
|
---|
| 92 | </sect3>
|
---|
| 93 |
|
---|
[35e960fb] | 94 | <sect3 role="kernel" id="libevdev-kernel">
|
---|
[b7a67e90] | 95 | <title>Kernel Configuration</title>
|
---|
| 96 |
|
---|
| 97 | <para>
|
---|
| 98 | Enable the following options in the kernel configuration and recompile the
|
---|
| 99 | kernel if necessary:
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <screen><literal>Device Drivers --->
|
---|
| 103 | Input device support --->
|
---|
[ca40dcac] | 104 | <*> Generic input layer (needed for...) [CONFIG_INPUT]
|
---|
| 105 | <*> Event interface [CONFIG_INPUT_EVDEV]
|
---|
| 106 | [*] Miscellaneous devices ---> [CONFIG_INPUT_MISC]
|
---|
| 107 | <*> User level driver support [CONFIG_INPUT_UINPUT]</literal></screen>
|
---|
[b7a67e90] | 108 |
|
---|
[35e960fb] | 109 | <indexterm zone="libevdev libevdev-kernel">
|
---|
| 110 | <primary sortas="d-libevdev">libevdev</primary>
|
---|
[b7a67e90] | 111 | </indexterm>
|
---|
| 112 | </sect3>
|
---|
| 113 |
|
---|
| 114 | <sect3 role="installation">
|
---|
[f97d5f6] | 115 | <title>Installation of libevdev</title>
|
---|
[b7a67e90] | 116 |
|
---|
| 117 | <para>
|
---|
[f97d5f6] | 118 | Install <application>libevdev</application> by running the following
|
---|
[b7a67e90] | 119 | commands:
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
| 122 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
| 123 | make</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
[24e5f9d] | 126 | The regression tests can be run as the <systemitem
|
---|
[b8ad040] | 127 | class="username">root</systemitem> user with <command>make
|
---|
[24e5f9d] | 128 | check</command>, in a graphical session. Note that on some systems, the
|
---|
| 129 | tests may cause a hard lockup and require a reboot.
|
---|
[b7a67e90] | 130 | </para>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 137 | </sect3>
|
---|
| 138 |
|
---|
| 139 | <sect3 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
[ca4eb659] | 143 | <segtitle>Installed Xorg Programs</segtitle>
|
---|
[b7a67e90] | 144 | <segtitle>Installed Xorg Library</segtitle>
|
---|
[ca4eb659] | 145 | <segtitle>Installed Xorg Directory</segtitle>
|
---|
[b7a67e90] | 146 |
|
---|
| 147 | <seglistitem>
|
---|
| 148 | <seg>
|
---|
[39dd48b] | 149 | libevdev-tweak-device, mouse-dpi-tool, and touchpad-edge-detector
|
---|
[b7a67e90] | 150 | </seg>
|
---|
| 151 | <seg>
|
---|
| 152 | libevdev.so
|
---|
| 153 | </seg>
|
---|
[ca4eb659] | 154 | <seg>
|
---|
| 155 | $XORG_PREFIX/include/libevdev-1.0
|
---|
| 156 | </seg>
|
---|
[b7a67e90] | 157 | </seglistitem>
|
---|
| 158 | </segmentedlist>
|
---|
| 159 |
|
---|
| 160 | <variablelist>
|
---|
| 161 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
| 162 | <?dbfo list-presentation="list"?>
|
---|
| 163 | <?dbhtml list-presentation="table"?>
|
---|
| 164 |
|
---|
[39dd48b] | 165 | <varlistentry id="libevdev-tweak-device">
|
---|
| 166 | <term><command>libevdev-tweak-device</command></term>
|
---|
| 167 | <listitem>
|
---|
| 168 | <para>
|
---|
| 169 | is a tool to change some kernel device properties.
|
---|
| 170 | </para>
|
---|
| 171 | <indexterm zone="libevdev libevdev-tweak-device">
|
---|
| 172 | <primary sortas="b-libevdev-tweak-device">libevdev-tweak-device</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
[ca4eb659] | 177 | <varlistentry id="mouse-dpi-tool">
|
---|
| 178 | <term><command>mouse-dpi-tool</command></term>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>
|
---|
| 181 | is a tool to estimate the resolution of a mouse.
|
---|
| 182 | </para>
|
---|
| 183 | <indexterm zone="libevdev mouse-dpi-tool">
|
---|
| 184 | <primary sortas="b-mouse-dpi-tool">mouse-dpi-tool</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
[b8ad040] | 189 | <varlistentry id="touchpad-edge-detector">
|
---|
| 190 | <term><command>touchpad-edge-detector</command></term>
|
---|
| 191 | <listitem>
|
---|
| 192 | <para>
|
---|
| 193 | touchpad-edge-detector is a tool that reads the touchpad events
|
---|
| 194 | from the kernel and calculates the minimum and maximum for the x
|
---|
| 195 | and y coordinates, respectively.
|
---|
| 196 | </para>
|
---|
| 197 | <indexterm zone="libevdev touchpad-edge-detector">
|
---|
| 198 | <primary sortas="b-touchpad-edge-detector">touchpad-edge-detector</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
[35e960fb] | 203 | <varlistentry id="libevdev-lib">
|
---|
[b7a67e90] | 204 | <term><filename class="libraryfile">libevdev.so</filename></term>
|
---|
| 205 | <listitem>
|
---|
| 206 | <para>
|
---|
| 207 | is a library of Xorg driver input functions.
|
---|
| 208 | </para>
|
---|
[35e960fb] | 209 | <indexterm zone="libevdev libevdev-lib">
|
---|
| 210 | <primary sortas="c-libevdev-lib">ebvdev.so</primary>
|
---|
[b7a67e90] | 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
| 215 | </variablelist>
|
---|
| 216 |
|
---|
| 217 | </sect3>
|
---|
| 218 |
|
---|
| 219 | </sect2>
|
---|
| 220 | <!-- End Xorg Evdev Driver -->
|
---|