The Xorg Input Drivers page contains the instructions for building Xorg input drivers that are necessary in order for Xorg Server to respond user inputs.
The libevdev package contains common functions for Xorg input drivers.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://www.freedesktop.org/software/libevdev/libevdev-1.13.6.tar.xz
Download SHA256 Sum: 73f215eccbd8233f414737ac06bca2687e67c44b97d2d7576091aa9718551110
Download MD5 sum: 4202ff132e3efe95fe9ca2c4f8f119f7
Download size: 3,545.0 KB
Estimated disk space required: 4,261.0 KB
Estimated build time: less than 0.1 SBU
"doxygen", "valgrind" (optional for tests), and check (required for tests)
Enable the following options in the kernel configuration and recompile the kernel if necessary:
Device Drivers ---> Input device support ---> -*- Generic input layer (needed for keyboard, mouse, ...) [INPUT] <*/M> Event interface [INPUT_EVDEV]
If you want to test this package with full coverage, the following options are needed as well:
Device Drivers ---> Input device support ---> -*- Generic input layer (needed for keyboard, mouse, ...) [INPUT] [*] Miscellaneous devices ---> [INPUT_MISC] <*/M> User level driver support [INPUT_UINPUT]
If you build this as a module, it needs to be inserted before the test suite runs.
Prepare libevdev by running the following commands:
meson setup build --prefix=/usr \
--buildtype=release \
-D documentation=disabled \
-D tests=disabledninja -C build
The test suite requires Check that we've removed from LFS.
Now Install, as the root user:
ninja -C build install
-D tests=disabled: This allows the package to
compile if Check is not installed.
We've removed Check from LFS.
is a tool to change some kernel device properties | |
is a tool to estimate the resolution of a mouse | |
touchpad-edge-detector is a tool that reads the touchpad events from the kernel and calculates the minimum and maximum for the x and y coordinates, respectively | |
is a library of Xorg driver input functions |
libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://gitlab.freedesktop.org/libinput/libinput/-/archive/1.29.2/libinput-1.29.2.tar.gz
Download SHA256 Sum: 02631a861fc6b9fb9ca6ae51cf863334e0699bf60c91c389ac420f3fa0053bdc
Download MD5 sum: c0caf71d5ad9cd2258474824abad81db
Download size: 6,760.7 KB
Estimated disk space required: 10,891.1 KB
Estimated build time: less than 0.5 SBU
libevdev-1.13.6 and mtdev-1.1.7
"valgrind" (to run the tests), GTK3 (to build the GUI event viewer), "libunwind" (required for tests), "doxygen", and check (for another non-root test)
Although libinput works with the same kernel configuration used by libevdev-1.13.6, its standard and more expansive test suite
requires the presence of /dev/uinput (as well as
both "valgrind" and "libunwind").
If you wish to run the standard test suite, enable the following option in the kernel configuration and recompile the kernel if necessary:
Device Drivers ---> Input device support ---> -*- Generic input layer (needed for keyboard, mouse, ...) [INPUT] [*] Miscellaneous devices ---> [INPUT_MISC] <*/M> User level driver support [INPUT_UINPUT]
If you build this as a module, it needs to be inserted before the test suite runs.
Prepare libinput by running the following commands:
meson setup build --prefix=/usr \
--buildtype=release \
-D debug-gui=false \
-D tests=false \
-D libwacom=false \
-D udev-dir=/usr/lib/udevninja -C build
Many tests are skipped unless running the test suite as the
root user. To run those tests, as the root user issue:
meson test --suite=root.
To test the package, issue:
cd build meson configure -D tests=true ninja test cd ..
Now Install, as the root user:
ninja -C build install
![[Note]](../images/note.png)
If you have passed -D documentation=true to
meson, you can install the generated documentation
by running the following commands as the root user:
install -v -dm755 /usr/share/doc/libinput-1.29.2/html cp -rv Documentation/* /usr/share/doc/libinput-1.29.2/html
-D debug-gui=false: This switch
disables creation of a visual debug helper for libinput. Remove
if you want it, and you have "GTK3" installed.
-D tests=false: This switch disables compilation
of the standard test suite. Even with the tests defined as false, you
can still run the first six minor tests as a regular user, but one will
be skipped if "pyparsing" is not installed, and another
one if "pytest" is not installed.
-D libwacom=false: Remove this option if you
have libwacom installed, or if you are installing
GNOME.
-D udev-dir=/usr/lib/udev does no harm.
-D documentation=true: This switch enables
generation of the documentation. Add it if you want to generate
the documentation. See the optional dependencies required to build
documentation.
The XF86-input-evdev package contains a Generic Linux input driver for the Xorg X server. It handles keyboard, mouse, touchpads and wacom devices, though for touchpad and wacom advanced handling, additional drivers are required.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://xorg.freedesktop.org/archive/individual/driver/xf86-input-evdev-2.11.0.tar.xz
Download SHA256 Sum: 730022de934cc366bb12439daf202a7bfff52a028cf4573e457642e25a071315
Download MD5 sum: faa89be0ef86aebd6fd0a03eed23839c
Download size: 2,114.9 KB
Estimated disk space required: 3,607.0 KB
Estimated build time: less than 0.1 SBU
Prepare Xorg Evdev Driver by running the following commands:
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-staticNow Build the package, issue:
make
This package does not come with a test suite.
Now Install, as the root user:
make install
The X.Org Libinput Driver is a thin wrapper around libinput and allows for libinput to be used for input devices in X. This driver can be used as drop-in replacement for evdev and synaptics.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://xorg.freedesktop.org/archive/individual/driver/xf86-input-libinput-1.5.0.tar.xz
Download SHA256 Sum: 2524c35f196554ea11aef3bba1cf324759454e1d49f98ac026ace2f6003580e6
Download MD5 sum: f8d0fb6987d843e688d597c2b66ec824
Download size: 2,099.2 KB
Estimated disk space required: 3,770.3 KB
Estimated build time: less than 0.5 SBU
Prepare Xorg Libinput Driver by running the following commands:
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-staticNow Build the package, issue:
make
To test the results, issue:
make check
Now Install, as the root user:
make install
The Xorg Synaptics Driver package contains the X.Org Input Driver, support programs and SDK for Synaptics touchpads. Even though the evdev driver can handle touchpads very well, this driver is required if you want to use advanced features like multi tapping, scrolling with touchpad, turning the touchpad off while typing, etc.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://xorg.freedesktop.org/archive/individual/driver/xf86-input-synaptics-1.10.0.tar.xz
Download SHA256 Sum: e0c26adb068edd0869f87a87f5e9127922d61c0265d7692a247a91a5cc1bb5c2
Download MD5 sum: 017383c13a0d0f4cb320be477ab25513
Download size: 2,534.5 KB
Estimated disk space required: 4,455.5 KB
Estimated build time: less than 0.1 SBU
Prepare Xorg Synaptics Driver by running the following commands:
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-staticNow Build the package, issue:
make
This package does not come with a test suite.
Now Install, as the root user:
make install
The Xorg Wacom Driver package contains the X.Org X11 driver and SDK for Wacom and Wacom-like tablets. It is not required to use a Wacom tablet, the xf86-input-evdev driver can handle these devices without problems.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://github.com/linuxwacom/xf86-input-wacom/releases/download/xf86-input-wacom-1.2.4/xf86-input-wacom-1.2.4.tar.bz2
Download SHA256 Sum: cbc5fccda8994b9314e60da6933d8e5f901e4c3f208dd9fc09a611fe25b71a0d
Download MD5 sum: e22300fe7cf162fa2b1a6e64ef7341f3
Download size: 3,424.9 KB
Estimated disk space required: 6,062.4 KB
Estimated build time: less than 0.1 SBU
"doxygen" and "graphviz"
To use a Wacom tablet with USB interface, enable the following options in your kernel configuration and recompile. Note that other configuration options could be required for tablet with a serial or bluetooth interface:
Device Drivers ---> [*] HID bus support ---> [HID_SUPPORT] {*/M} HID bus core support [HID] Special HID drivers ---> <*/M> Wacom Intuos/Graphire tablet support (USB) [HID_WACOM] USB HID support ---> <*/M> USB HID transport layer [USB_HID] [*] USB support ---> [USB_SUPPORT] <*/M> Support for Host-side USB [USB]
Prepare Xorg Wacom Driver by running the following commands:
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-staticNow Build the package, issue:
make
To test the results, issue:
make check
Now Install, as the root user:
make install