Ubuntu 8.10: HAL .fdi files replace xorg.conf
With the release of Ubuntu 8.10 comes a relatively radical change from the norm; The obsolescence of the xorg.conf file!
The xorg.conf file is now replaced with the use of .fdi files that can be “plugged” and “unplugged” without the need to restart the computer. More information on the usage of these fdi files can be found on Ubuntu’s wiki site. Overall they provide more flexibility then the previous xorg.conf syntax, make use of XML, and allow for “matching” or “pairing” if the system has enabled components.
Here’s a .fdi file I whipped up for my touchpad that I called touchpad.fdi and placed in the /etc/hal/fdi/policy folder as per the wiki’s instructions.
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="input.x11_driver" string="synaptics">
<merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
<merge key="input.x11_options.Device" type="string">/dev/psaux</merge>
<merge key="input.x11_options.Protocol" type="string">auto-dev</merge>
<merge key="input.x11_options.HorizEdgeScroll" type="string">0</merge>
<merge key="input.x11_options.SHMConfig" type="string">on</merge>
<merge key="input.x11_options.FingerLow" type="string">7</merge>
<merge key="input.x11_options.FingerHigh" type="string">8</merge>
<merge key="input.x11_options.MinSpeed" type="string">0.60</merge>
<merge key="input.x11_options.MaxSpeed" type="string">1.10</merge>
<merge key="input.x11_options.AccelFactor" type="string">0.030</merge>
</match>
</device>
</deviceinfo>
<deviceinfo version="0.2">
<device>
<match key="input.x11_driver" string="synaptics">
<merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
<merge key="input.x11_options.Device" type="string">/dev/psaux</merge>
<merge key="input.x11_options.Protocol" type="string">auto-dev</merge>
<merge key="input.x11_options.HorizEdgeScroll" type="string">0</merge>
<merge key="input.x11_options.SHMConfig" type="string">on</merge>
<merge key="input.x11_options.FingerLow" type="string">7</merge>
<merge key="input.x11_options.FingerHigh" type="string">8</merge>
<merge key="input.x11_options.MinSpeed" type="string">0.60</merge>
<merge key="input.x11_options.MaxSpeed" type="string">1.10</merge>
<merge key="input.x11_options.AccelFactor" type="string">0.030</merge>
</match>
</device>
</deviceinfo>