You are not logged in.

#1 2010-05-02 11:31:04

AmaR_87
Member
From: Sarajevo, BiH
Registered: 2010-04-11
Posts: 8

Tap stopped working

I installed Arch on my laptop (Acer Aspire 7520) some time ago, and it all went well for some time. Suddenly, my touchpad stopped working, but I managed to fix it somehow. But, tapping doesn't work anymore (it worked before). I just booted Ubuntu live, and tap works there, so it's Arch related issue.
When configuring tuchpad from GUI,  'Enable tapping' checkbox is selected.

Here is my Xorg.conf, I added synaptics part, while trying to fix the touchpad.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Fri Mar 12 02:12:40 PST 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice       "SynapticsTouchpad"  "AlwaysCore"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load "synaptics"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

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"         "true" # 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"        "180"   # 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

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Any ideas?

Offline

#2 2010-05-02 17:21:09

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: Tap stopped working

Unless you are using Xorg server 1.8, the xorg.conf file will not do what you think it does.  You will need to create an fdi file for hal to set the touchpad parameters. 

See this thread http://bbs.archlinux.org/viewtopic.php?id=94588


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2010-05-03 07:02:53

AmaR_87
Member
From: Sarajevo, BiH
Registered: 2010-04-11
Posts: 8

Re: Tap stopped working

I tried what you suggested, but it didn't work. I just booted latest Ubuntu, to see what configuration files it uses, it didn't have xorg.conf, and the only fdi file in /etc/hal/fdi/policy/ was preferences.fdi:

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<!-- 
  Some examples how to use hal fdi files for system preferences 
  You can either uncomment the examples here or put them in a seperate .fdi
  file.
-->
<deviceinfo version="0.2">
<!-- 
  The following shows how to hint gnome-volume-manager and other programs 
  that honor the storage.automount_enabled_hint to not mount non-removable
  media.
-->
<!--
  <device>
    <match key="storage.hotpluggable" bool="false">
      <match key="storage.removable" bool="false">
        <merge key="storage.automount_enabled_hint" type="bool">false</merge>
      </match>
    </match>
  </device>
-->
</deviceinfo>

I also noticed that vertical edge scrolling works on Ubuntu.

Offline

#4 2010-05-03 08:52:47

Tets
Member
From: Praha, Czech Republic
Registered: 2009-09-22
Posts: 2

Re: Tap stopped working

Hi, I have Synaptics touchpad, Xorg 1.8.
I needed to edit the /etc/X11/xorg.conf.d/10-synaptics.conf so it looks like:

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        Option "VertEdgeScroll" "true"
EndSection
Section "InputClass"
        Identifier "tap-by-default"
        MatchIsTouchpad "on"
        Option "TapButton1" "1"
EndSection

I just added the ' Option "VertEdgeScroll" "true" ' and the 2nd ' Section "InputClass" ' to the original file. After restart it works fine.

Offline

#5 2010-05-03 09:24:56

AmaR_87
Member
From: Sarajevo, BiH
Registered: 2010-04-11
Posts: 8

Re: Tap stopped working

My Xorg version is 1.7.6

Offline

#6 2010-05-03 14:41:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: Tap stopped working

Here is my fdi file and the location where it lives

ewaller@odin:~ 1038 %cat /etc/hal/fdi/policy/11-x11-synaptics.fdi
<?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.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>
        <merge key="input.x11_options.SHMConfig" type="string">true</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
        -->
        <merge key="input.x11_options.CircularScrolling" type="string">true</merge>
        <merge key="input.x11_options.CircScrollTrigger" type="string">3</merge>
        <merge key="input.x11_options.LBCornerButton" type="string">2</merge>
        <merge key="input.x11_options.RBCornerButton" type="string">3</merge>
        <merge key="input.x11_options.AccelFactor" type="string">2</merge>
    </match>
  </device>
</deviceinfo>

If, for some reason this does not find your touchpad, you may need to change the line that says:
    <match key="info.capabilities" contains="input.touchpad">

you can use lshal to find out about your touchpad.  Here is the excerpt from mine (after the fdi has been applied):

udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input_0'
  info.capabilities = {'input', 'input.touchpad'} (string list)
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'  (string)
  info.product = 'AlpsPS/2 ALPS GlidePoint'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input_0'  (string)
  input.device = '/dev/input/event9'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'  (string)
  input.product = 'AlpsPS/2 ALPS GlidePoint'  (string)
  input.x11_driver = 'synaptics'  (string)
  input.x11_options.AccelFactor = '2'  (string)
  input.x11_options.CircScrollTrigger = '3'  (string)
  input.x11_options.CircularScrolling = 'true'  (string)
  input.x11_options.LBCornerButton = '2'  (string)
  input.x11_options.RBCornerButton = '3'  (string)
  input.x11_options.SHMConfig = 'true'  (string)
  input.x11_options.TapButton1 = '1'  (string)
  input.x11_options.TapButton2 = '2'  (string)
  input.x11_options.TapButton3 = '3'  (string)
  linux.device_file = '/dev/input/event9'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/devices/platform/i8042/serio1/input/input9/event9'  (string)

You could, for example, modify the match line to look to "info.product" for the name provided by lshal

I'm off to catch a plane.  I'll check back late tonight (GMT-4)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2010-05-04 11:10:03

AmaR_87
Member
From: Sarajevo, BiH
Registered: 2010-04-11
Posts: 8

Re: Tap stopped working

Well, I tried what you said and it didn't work.
But then I deleted SynapticsTouchpad part from xorg.conf, and removed fdi file related to synaptics, restarted Arch, and now it works, even vertical/circular scrolling big_smile

Offline

Board footer

Powered by FluxBB