/ informatica

MacBook synaptics configuration for Hal

Since Ubuntu 8.10 the device configuration was moved from Xorg to Hal. So i had to "translate" my old notes to let my touchpad work with hal.
Just create a new .fdi file into /etc/hal/fdi/policy and paste the translated configuration below:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<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.SHMConfig" type="string">true</merge>
<merge key="input.x11_options.LeftEdge" type="string">100</merge>
<merge key="input.x11_options.RightEdge" type="string">1120</merge>
<merge key="input.x11_options.TopEdge" type="string">50</merge>
<merge key="input.x11_options.BottomEdge" type="string">310</merge>
<merge key="input.x11_options.FingerLow" type="string">5</merge>
<merge key="input.x11_options.FingerHigh" type="string">20</merge>
<merge key="input.x11_options.MaxTapTime" type="string">100</merge>
<merge key="input.x11_options.MaxTapMove" type="string">150</merge>
<merge key="input.x11_options.MaxDoubleTapTime" type="string">180</merge>
<merge key="input.x11_options.VertScrollDelta" type="string">20</merge>
<merge key="input.x11_options.HorizScrollDelta" type="string">50</merge>
<merge key="input.x11_options.MinSpeed" type="string">0.49</merge>
<merge key="input.x11_options.MaxSpeed" type="string">0.78</merge>
<merge key="input.x11_options.AccelFactor" type="string">0.0010</merge>
<merge key="input.x11_options.LockedDrags" type="string">false</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">3</merge>
<merge key="input.x11_options.TapButton3" type="string">2</merge>
<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">false</merge>
<merge key="input.x11_options.FastTaps" type="string">true</merge>
<merge key="input.x11_options.VertEdgeScroll" type="string">false</merge>
<merge key="input.x11_options.HorizEdgeScroll" type="string">false</merge>
</match>
</device>
</deviceinfo>