The X.Org Plans For Moving Away From HAL

Posted by Michael Larabel on December 02, 2009

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.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. KDE's KWin Made Lots Of Progress In 4.11
  2. Ubuntu Announces Carrier Advisory Group
  3. Qt 5.1 Release Candidate 1 Has Arrived
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Subversion 1.8 Presents New Features
  6. LLVM 3.3 Officially Released
  7. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  8. Intel GPU Driver Tries To Rip Out FBDEV Support
  9. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  10. VP9 Codec Now Enabled By Default In Chrome
  11. openSUSE 13.1 M2 Plays On PulseAudio 4.0
Latest Forum Talk
  1. Planetary Annihilation Plans To Come To Linux
  2. The Wayland Situation: Facts About X vs. Wayland
  3. Benchmarks Of NVIDIA's New Linux GPU Driver
  4. Intel GPU Driver Tries To Rip Out FBDEV Support
  5. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  6. Commodity Tips
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite