libevdev-1.2.2

Introduction to libevdev

libevdev is a wrapper library for evdev devices. It moves the common tasks when dealing with evdev devices into a library and provides a library interface to the callers, thus avoiding erroneous ioctls, etc.

This package is known to build and work properly using an LFS-7.6 systemd platform.

Package Information

libevdev Dependencies

Required

Python-2.7.8

Optional

Check-0.9.14, Doxygen-1.8.8, and Valgrind-3.10.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libevdev

Installation of libevdev

If Valgrind-3.10.0 is installed and tests are going to be run, fix a testing problem:

cat >> test/valgrind.suppressions << "EOF"
{
   <timer_create@@GLIBC_2.3.3-2>
   Memcheck:Param
   timer_create(evp)
   fun:timer_create@@GLIBC_2.3.3
   fun:check_get_clockid
   fun:srunner_run
   fun:main
}
EOF

Install libevdev by running the following commands:

./configure --prefix=/usr --disable-static &&
make

If you have the optional Check-0.9.14 package installed, the regression tests can be run as the root user with make check.

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: touchpad-edge-detector
Installed Libraries: libevdev.so
Installed Directories: None

Short Descriptions

libevdev.so

contains API functions for accessing evdev devices.

Last updated on 2014-08-23 08:05:43 -0700