1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

The xorg.conf.d Patches Emerge

X.Org

Published on 17 December 2009 01:11 PM EST
Written by Michael Larabel in X.Org
6 Comments

One of the features being worked on for X Server 1.8 is the removal of HAL support. The FreeDesktop.org Hardware Abstraction Layer project is nice in that is multi-platform, but the HAL project has largely been abandoned and is being replaced by UDisks and similar projects.

HAL is currently being used by the X Server for input device detection with hot-plugging support, mapping, and device option handling, but all of that is in the process of being gutted. Instead the X Server will revert to using platform-specific libraries and code for handling these responsibilities. To replace the device option handling that was previously done through HAL FDI files, the X Server is picking up support for reading configuration files from a directory rather than just the conventional /etc/X11/xorg.conf.

Being worked on right now (with the patches already having gone through multiple iterations) is support for storing .conf files within /etc/X11/xorg.conf.d. The X Server will continue to support reading options from the traditional xorg.conf and these options will take precedent over any values set within xorg.conf.d, where the other options can be stored. Within the xorg.conf.d directory could be a file for your mouse, a file for your input tablet, joystick, and any other devices. If there is no xorg.conf or any configuration files within this new directory, the X Server will fall-back to its usual auto-detection routines.

The latest version of the xorg.conf.d patch can be found on xorg-devel, but it should end up being merged into the X Server shortly.

HAL FDIs support matching a configuration file to a specific device that's installed or to not load the configuration at all if the device isn't found. This works by matching the FDI file to either the manufacturer/product ID, device path, or a string. Through other patches, the xorg.conf.d files will gain similar support. Dan Nicholson (who also wrote the xorg.conf.d support) has submitted patches that introduce InputAttributes and InputClass configuration options.

InputAttributes stores the product/vendor name, device path, and also some device attributes -- such as whether the device has a pointer and/or input keys. The InputClass support then exposes this to the X configuration options so that configuration options can be set for specific vendors/products, a path-name pattern, or specific types of devices (keyboard, pointer, joystick, tablet, touch-pad, or touch-screen). This then allows X.Org input drivers to install their own configuration file within /etc/X11/xorg.conf.d, but these options will only be applied by the X Server if the actual device is present.

The InputAttributes and InputClass patches can be found here and here, respectively.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. 7-Way Linux Desktop Gaming Comparison On Ubuntu 14.10
  2. Intel P-State vs. CPUFreq Benchmarks On The i7-5960X
  3. RadeonSI GLAMOR Benchmarks With X.Org Server 1.16
  4. RadeonSI Gallium3D vs. Catalyst At 4K UHD On Linux
Latest Linux News
  1. Mesa Gets Closer To Having OpenGL 4.0 Tessellation Support
  2. Uselessd: A Stripped Down Version Of Systemd
  3. F2FS Tools Gain FSCK Support
  4. FreeBSD 10.1 Has The New VT Driver, Hardware Improvements
  5. AntiMicro 2.6 Yields Greater Compatibility For Gamepads On Linux
  6. OpenGL 3.3 / GLSL 3.30 Lands For Intel Sandy Bridge On Mesa
  7. AMD's RadeonSI Gallium3D Driver Sees Some Improvements
  8. Mesa 10.3 Released With The Latest Open-Source GPU Driver Improvements
  9. GNOME 3.13.92 Officially Released
  10. Wine 1.7.27 Is Still Working Towards Direct2D Support
Latest Forum Discussions
  1. New stress testing utility for GPU's
  2. Stop grabbing my keyboard :(
  3. New Group Calls For Boycotting Systemd
  4. X.Org Women Outreach Program Only Turns Up Two Applicants So Far
  5. SSD seems slow
  6. R. Tyler restarts work on FreeBSD launchd port, openlaunchd
  7. Can Linux kill a motherboard?
  8. Glamor now enabled in Debian radeonsi