You are not logged in.

#1 2009-10-03 20:04:52

zozobra
Member
Registered: 2009-09-14
Posts: 10

[SOLVED] Unable to disable tap-to-click on ALPS touchpad

This is my xorg.conf for a Dell Latitude D620 which has an ALPS touchpad. The touchpad works great except that I can't disable tap-to-click. I set the "maxtaptime" to 0 and it didn't work. What am I missing?

Thanks

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "record"
    Load  "glx"
    Load  "dbe"
    Load  "dri2"
    Load  "extmod"
    Load  "dri"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier   "Touchpad"
    Driver         "Synaptics"
    Option       "MaxTapTime" "0"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    HorizSync     30.0 - 130.0
    VertRefresh   50.0 - 100.0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes     "1440x900"
    EndSubSection
EndSection

Section "Extensions"
    Option "Composite" "enable"
EndSection

Last edited by zozobra (2009-10-03 22:06:07)

Offline

#2 2009-10-03 20:32:48

drsjlazar
Member
From: Kasama
Registered: 2009-10-01
Posts: 133
Website

Re: [SOLVED] Unable to disable tap-to-click on ALPS touchpad

Since xorg 7.3 or something like that, the touchpad is configured by HAL and not xorg. So you will have to change your configs in HAL. Your system should be able to run well even with no xorg.conf file! The file you should edit is:

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

Offline

#3 2009-10-03 20:45:48

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: [SOLVED] Unable to disable tap-to-click on ALPS touchpad

You seem to have two Devices

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier   "Touchpad"
    Driver         "Synaptics"
    Option       "MaxTapTime" "0"
EndSection

Try combining the two, replace Mouse0 with SynapticsTouchpad and mouse with synaptics this is what mine looks like

Section "InputDevice"
        Identifier  "SynapticsTouchpad"
        Driver      "synaptics"
        Option      "AlwaysCore"        "true"  # send events to CorePointer
       #Option      "Device"            "/dev/input/mice"
        Option      "Device"            "/dev/psaux"
        Option      "Protocol"          "auto-dev"
        Option      "SHMConfig"         "false" # configurable at runtime? security risk
        Option      "LeftEdge"          "1700"  # x coord left
        Option      "RightEdge"         "5300"  # x coord right
        Option      "TopEdge"           "1700"  # y coord top
        Option      "BottomEdge"        "4200"  # y coord bottom
        Option      "FingerLow"         "25"    # pressure below this level triggers release
        Option      "FingerHigh"        "30"    # pressure above this level triggers touch
        Option      "MaxTapTime"        "0"   # max time in ms for detecting tap
        Option      "VertEdgeScroll"    "true"  # enable vertical scroll zone
        Option      "HorizEdgeScroll"   "true"  # enable horizontal scroll zone
        Option      "CornerCoasting"    "true"  # enable continuous scroll with finger in corner
        Option      "CoastingSpeed"     "0.30"  # corner coasting speed
        Option      "VertScrollDelta"   "100"   # edge-to-edge scroll distance of the vertical scroll
        Option      "HorizScrollDelta"  "100"   # edge-to-edge scroll distance of the horizontal scroll
        Option      "MinSpeed"          "0.10"  # speed factor for low pointer movement
        Option      "MaxSpeed"          "0.60"  # maximum speed factor for fast pointer movement
        Option      "AccelFactor"       "0.0020"    # acceleration factor for normal pointer movements
        Option      "VertTwoFingerScroll"   "true"  # vertical scroll anywhere with two fingers
        Option      "HorizTwoFingerScroll"  "true"  # horizontal scroll anywhere with two fingers
        Option      "TapButton1" "1"
        Option      "TapButton2" "2"
        Option      "TapButton3" "3"
EndSection

Offline

#4 2009-10-03 21:20:33

zozobra
Member
Registered: 2009-09-14
Posts: 10

Re: [SOLVED] Unable to disable tap-to-click on ALPS touchpad

I'll leave the second there in case I use an external usb mouse.

What I've done is:

cp /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi /etc/hal/fdi/policy/

I'm not sure what I need to put in there that would disable tapping though. Here's the 11-x11-synaptics.fdi:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="ETPS/2 Elantech Touchpad">
        <append key="info.capabilities" type="strlist">input.touchpad</append>
    </match> 
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
    <merge key="input.x11_options.TapButton1" type="string">1</merge>
    <merge key="input.x11_options.TapButton2" type="string">2</merge>
    <merge key="input.x11_options.TapButton3" type="string">3</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>

Offline

#5 2009-10-03 22:05:06

zozobra
Member
Registered: 2009-09-14
Posts: 10

Re: [SOLVED] Unable to disable tap-to-click on ALPS touchpad

So I took the touchpad section out of the xorg.conf, and in the .fdi, set

"input.x11_options.MaxTapMove"

to 0. Seems to be working now. Thanks.

Offline

Board footer

Powered by FluxBB