On Friday 19 November 2010 04:55:23 Grant Edwards wrote:
> On 2010-11-18, Mick <michaelkintz...@gmail.com> wrote:
> > On Thursday 18 November 2010 15:48:23 Grant Edwards wrote:
> >>> You can adjust synaptics changing the configuration on the
> >>> /etc/hal/fdi/policy/11-x11-synaptics.fdi file. man 4 synaptic can
> >>> give you a lot of extra options.
> >> 
> >> That only works if you're using the synaptics driver -- which I'm not.
> >> 
> >> I haven't figured out how to do that yet.  It was built, since I
> >> included it in INPUT_DEVICES, but HAL decided not to use it.
> > 
> > What does your Xorg.0.log say about synaptics?

> $ grep -i synaptic /var/log/Xorg.0.log
> (II) config/hal: Adding input device SynPS/2 Synaptics TouchPad

Excellent!  It seems then that HAL picks up your touchpad and uses it.

So,

# touch /etc/hal/fdi/policy/11-x11-synaptics.fdi

and paste this in it:

<?xml version="1.0" encoding="ISO-8859-1"?>
<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.VertEdgeScroll" 
type="string">true</merge>
        <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
        <merge key="input.x11_options.HorizEdgeScroll" 
type="string">true</merge>
        <merge key="input.x11_options.TapButton1" type="string">1</merge>
        <merge key="input.x11_options.ClickButton1" type="string">1</merge>
        <!-- Arbitrary options can be passed to the driver using
             the input.x11_options property since xorg-server-1.5. -->
        <!-- EXAMPLES:
        Switch on shared memory, enables the driver to be configured at 
runtime
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>

        Maximum movement of the finger for detecting a tap
        <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>

        Enable vertical scrolling when dragging along the right edge
        <merge key="input.x11_options.VertEdgeScroll" 
type="string">true</merge>

        Enable vertical scrolling when dragging with two fingers anywhere on 
the touchpad
        <merge key="input.x11_options.VertTwoFingerScroll" 
type="string">true</merge>

        Enable horizontal scrolling when dragging with two fingers anywhere on 
the touchpad
        <merge key="input.x11_options.HorizTwoFingerScroll" 
type="string">true</merge>

        If on, circular scrolling is used
        <merge key="input.x11_options.CircularScrolling" 
type="string">true</merge>

        For other possible options, check CONFIGURATION DETAILS in synaptics 
man page
        -->
    </match>
  </device>
</deviceinfo>


Then see the examples in the file and man synaptics for finely tuning your 
touchpad.  However ... I would at this stage suggest again that you have a 
look at xorg-server-1.9.x instead of trying to get HAL working.

HTH.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to