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. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Raspberry Pi Gets New Wayland Weston Renderer
  2. Debian GNU/Hurd 2013 Release Brings New Packages
  3. Intel Ultrabook Performance Is Faster With Mesa 9.2
  4. Hot Relocation HDD To SSD Support For Btrfs
  5. Phoronix Test Suite 4.6.0 "Utsira" Released
  6. New Intel X.Org Driver Supports All Of Haswell
  7. SQLite Now Faster With Memory Mapped I/O
  8. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  9. Qt For Tizen Launches, Based On Qt 5.1
  10. KTAP Released For Linux Kernel Dynamic Tracing
  11. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
Latest Forum Talk
  1. Intel Ultrabook Performance Is Faster With Mesa...
  2. Microsoft Releases Skype For Linux 4.2, Has...
  3. Raspberry Pi Gets New Wayland Weston Renderer
  4. Debian GNU/Hurd 2013 Release Brings New Packages
  5. Probable reason why coolbits was stripped from...
  6. Intel Linux OpenGL Driver Leading Over Apple OS X
  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