The X.Org Plans For Moving Away From HAL

Written by Michael Larabel in X.Org on 2 December 2009 at 03:42 PM EST. 29 Comments
X.ORG
To address the questions that have been coming up frequently regarding the X.Org Server and the plans to stop using HAL, Sun's Alan Coopersmith has created a new Wiki page called XorgHAL.

On this Wiki page, Alan explains how this hardware abstraction layer for Linux and other operating systems is currently in use for finding input devices, being notified of input device hot-plugging, mapping system input devices, and setting input device options. X.Org has been using HAL since X Server 1.4 and it continues to be used in the most recent X Server 1.7 series, but the migration away from HAL will likely be completed in time for X Server 1.8. This next version of the X.Org Server is planned for release in March.

In replace of HAL in the X Server will be a lot more of OS-specific code to the operating system's respective libraries for device enumeration and device notification. On Linux this means connecting a lot of libudev directly into the X Server. Instead of the input device options being stored in HAL FDI files, the X Server will begin supporting a xorg.conf.d directory for handling input driver options. These new files will utilize a new syntax for matching the options with the respective devices. While the X Server will be picking up this directory support, editing the xorg.conf will remain supported and a valid option.

This code is not yet in place, but it's the current plans for dropping HAL from the X Server for input devices, since the upstream project itself is stopping development in favor of supporting DeviceKit and other projects.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week