You are not logged in.

#1 2009-07-04 00:57:23

Kardell
Member
From: London a new Babylon
Registered: 2007-02-20
Posts: 225

[solved] Synaptics touchpad [continue story]

I was playing with xorg.conf from the beginning to get touchpad to work properly.
Currently I'm using KDEmod-legacy and according to Wiki advise I still can't scroll.
I removed Touchpad section from xorg.conf.

I've attached SHMConfig to enable gsynaptics, but its settings doesn't work.
I was playing with this for a while and done several X restarts.

root /home/walker #  cat /etc/hal/fdi/policy/99-x11-synaptics.fdi
   <?xml version="1.0" encoding="UTF-8"?>
       <deviceinfo version="0.2">
           <device>
<!-- <match key="info.product" contains="SynPS/2 Synaptics TouchPad">
        <append key="info.capabilities" type="strlist">input.touchpad</append>
</match> -->
        <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_options.SHMConfig" type="string">on</merge>
                   <merge key="input.x11_driver" type="string">synaptics</merge>
                   <merge key="input.x11_options.AlwaysCore" type="string">1</merge>
                   <merge key="input.x11_options.VertEdgeScroll" type="string">1</merge>
                   <merge key="input.x11_options.HorizEdgeScroll" type="string">1</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.protocol" type="string">event</merge>
                   <merge key="input.x11_options.touchpadoff" type="string">0</merge>
                   <merge key="input.x11_options.shmconfig" type="string">on</merge>
               </match>
           </device>
   </deviceinfo>

I apologise, but summer english air conditions (weather) - like Kambodja jungle makes me not fully aware what I'm doing.
smile

Last edited by Kardell (2009-07-04 19:42:46)


"Those who don't know history are doomed to repeat it." Edmund Burke

Offline

#2 2009-07-04 01:14:35

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: [solved] Synaptics touchpad [continue story]

This is mine

<?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>
        <!-- Arbitrary options can be passed to the driver using
             the input.x11_options property since xorg-server-1.5. -->
       
        <!-- 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">220</merge>
        <merge key="input.x11_options.MaxTapTime" type="string">180</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> -->

        <!-- Enable some tapping capabilities -->
        <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">0</merge>
    </match>
  </device>
</deviceinfo>


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#3 2009-07-04 06:47:36

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: [solved] Synaptics touchpad [continue story]

It could be case-sensitive(SHMConfig), but I may be wrong.

Offline

#4 2009-07-04 09:35:01

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: [solved] Synaptics touchpad [continue story]

I'm concern to make a working solution, specially for two-finger-scroll and 2 finger tapping. Unfortunately HAL doesn't get the job done and I can only rely on the Xorg.conf.
My X.log:

    Informazioni    USB Mouse: ps2EnableDataReporting: succeeded
    Informazioni    Synaptics touchpad driver version 1.1.2
    Rilevato    Tpad auto-dev sets device to /dev/input/event8
    Dal file di configurazione    Option "Device" "/dev/input/event8"
    Informazioni    Tpad: x-axis range 1472 - 5472
    Informazioni    Tpad: y-axis range 1408 - 4448
    Informazioni    Tpad: pressure range 0 - 255
    Informazioni    Tpad: finger width range 0 - 0
    Informazioni    Tpad: buttons: left right middle
    Dal file di configurazione    Option "SHMConfig" "true"
    Dal file di configurazione    Option "LeftEdge" "1700"
    Dal file di configurazione    Option "RightEdge" "5300"
    Dal file di configurazione    Option "TopEdge" "1700"
    Dal file di configurazione    Option "BottomEdge" "4200"
    Dal file di configurazione    Option "FingerLow" "25"
    Dal file di configurazione    Option "FingerHigh" "30"
    Dal file di configurazione    Option "MaxTapTime" "180"
    Dal file di configurazione    Option "VertScrollDelta" "100"
    Dal file di configurazione    Option "HorizScrollDelta" "100"
    Dal file di configurazione    Option "VertEdgeScroll" "true"
    Dal file di configurazione    Option "HorizEdgeScroll" "true"
    Dal file di configurazione    Option "CornerCoasting" "true"
    Dal file di configurazione    Option "VertTwoFingerScroll" "true"
    Dal file di configurazione    Option "HorizTwoFingerScroll" "true"
    Dal file di configurazione    Option "TapButton1" "1"
    Dal file di configurazione    Option "TapButton2" "2"
    Dal file di configurazione    Option "TapButton3" "3"
    Dal file di configurazione    Option "MinSpeed" "0.10"
    Dal file di configurazione    Option "MaxSpeed" "0.60"
    Dal file di configurazione    Option "AccelFactor" "0.0020"
    Dal file di configurazione    Option "CoastingSpeed" "0.30"
    Rilevato    Tpad: touchpad found
    Dal file di configurazione    Option "AlwaysCore" "true"
    Dal file di configurazione    Option "SendCoreEvents"
    Dal file di configurazione    Tpad: always reports core events
    Informazioni    XINPUT: Adding extended input device "Tpad" (type: TOUCHPAD)
    Dal file di configurazione    Tpad: (accel) keeping acceleration scheme 1
    Dal file di configurazione    Tpad: (accel) filter chain progression: 2.00
    Dal file di configurazione    Tpad: (accel) filter stage 0: 20.00 ms
    Dal file di configurazione    Tpad: (accel) set acceleration profile 0
    Rilevato    Tpad: touchpad found
    Informazioni    config/hal: Adding input device AT Translated Set 2 keyboard
    Errore    config/hal: NewInputDeviceRequest failed (8)
    Informazioni    config/hal: Adding input device Macintosh mouse button emulation
    Errore    config/hal: NewInputDeviceRequest failed (8)
    Informazioni    config/hal: Adding input device SynPS/2 Synaptics TouchPad
    Errore    config/hal: NewInputDeviceRequest failed (8)

Sorry for the l10n,  I hope it's clear.

Last edited by TheSaint (2009-07-04 09:37:03)


do it good first, it will be faster than do it twice the saint wink

Offline

#5 2009-07-04 12:59:02

thorcik
Member
From: Warsaw, PL
Registered: 2009-04-16
Posts: 4
Website

Re: [solved] Synaptics touchpad [continue story]

I also have it in xorg.conf file, here You are:

Section "ServerLayout"
    InputDevice    "SynapticsTouchpad" "SendCoreEvents"
Section "Module"
    Load  "synaptics"
Section    "InputDevice"
    Identifier    "SynapticsTouchpad"
    Driver        "synaptics"
    Option        "AlwaysCore"    "true"
    Option        "Device"    "/dev/psaux"
    Option        "Protocol"    "auto-dev"
    Option        "SHMConfig"    "false"
    Option        "LeftEdge"    "1700"
    Option        "RightEdge"    "5300"
    Option        "TopEdge"    "1700"
    Option        "BottomEdge"    "4200"
    Option        "FingerLow"    "25"
    Option        "FingerHigh"    "30"
    Option        "MaxTapTime"    "200"
    Option        "VertEdgeScroll"    "true"
    Option        "HorizEdgeScroll"    "true"
    Option        "CircularScrolling"    "false"
    Option          "TapButton1"            "1"
    Option        "TapButton2"        "2"
    Option        "TapButton3"        "3"
EndSection

In Your case, change "SHMConfig" to "true"

Offline

#6 2009-07-04 18:28:46

Kardell
Member
From: London a new Babylon
Registered: 2007-02-20
Posts: 225

Re: [solved] Synaptics touchpad [continue story]

Thx thorcik, your xorg.conf solution is the best known for me.

So what the heck is wrong with HAL and its solution?
Usually when I hear HAL I predict troubles.
I think, because it's directed to KDE4 now.

Like this still unresolved problem with Hal storage mounting.

org.freedesktop.hal.storage.mount-removable no <-- (action, result)

The solution provided by some poeple does not work.
That's why I use pmount succesfully.


"Those who don't know history are doomed to repeat it." Edmund Burke

Offline

#7 2009-07-07 11:13:57

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [solved] Synaptics touchpad [continue story]

Did any of you actually make it work at all using evdev only?

Offline

Board footer

Powered by FluxBB