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. Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Linux Gaming
  9. Linux Distributions
  10. Operating Systems
  11. Event Coverage
  12. All Categories
  1. Phoronix Media
  2. RadeonHD.org
  3. Cekora.com
  4. Phoromatic
  5. Phoronix Test Suite
  1. Featured Links
  2. Data Recovery Software
  3. Hughes Net Internet
  4. Free Trial for Anonymous Surfing Service
  1. Affiliates
  2. Dedicated Server
  3. Web Hosting
  4. Dedicated Servers
  5. UK Web Hosting