Page 1 of 1

2 finger scroll with 2 T400 and Ubuntu

Posted: Fri Nov 21, 2008 6:16 am
by Spindoctor
Hi!

I was trying to get two finger scroll working on my T400 with Ubuntu 8.10 installed.

Sadly I didn't succeed.

The output of synclient -m also always shows me that just one finger is detected.

That's kind of strange, as I thought every synaptics touch pad would support multi finger detection.

Is this a software or a hardware issue?

And is it solvable?

Thank you!

Posted: Fri Nov 21, 2008 8:57 am
by Superego
The touch pad does support two finger scrolling (I have it enabled). It should be as simple as adding the following to your etc/X11/xorg.conf, under the touchpad InputDevice section

Code: Select all

Option   "VertTwoFingerScroll"    "1"
Try that and if it doesn't work post your xorg.conf.

Posted: Fri Nov 21, 2008 12:38 pm
by Spindoctor
Thank you, Superego!

In Ubuntu 8.10 these options are not selected via xorg.conf anymore.
But I post the output of synclient -l

Code: Select all

# synclient -l
Parameter settings:
    LeftEdge                = 1632
    RightEdge               = 5312
    TopEdge                 = 1575
    BottomEdge              = 4281
    FingerLow               = 25
    FingerHigh              = 30
    FingerPress             = 256
    MaxTapTime              = 180
    MaxTapMove              = 220
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    FastTaps                = 0
    EmulateMidButtonTime    = 75
    EmulateTwoFingerMinZ    = 257
    VertScrollDelta         = 100
    HorizScrollDelta        = 121
    VertEdgeScroll          = 0
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 1
    MinSpeed                = 0.0898026
    MaxSpeed                = 0.179934
    AccelFactor             = 0.0015
    TrackstickSpeed         = 40
    EdgeMotionMinZ          = 30
    EdgeMotionMaxZ          = 160
    EdgeMotionMinSpeed      = 1
    EdgeMotionMaxSpeed      = 400
    EdgeMotionUseAlways     = 0
    UpDownScrolling         = 1
    LeftRightScrolling      = 1
    UpDownScrollRepeat      = 1
    LeftRightScrollRepeat   = 1
    ScrollButtonRepeat      = 100
    TouchpadOff             = 0
    GuestMouseOff           = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 2
    RBCornerButton          = 3
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 1
    TapButton2              = 2
    TapButton3              = 3
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 1
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 1
    PalmMinWidth            = 10
    PalmMinZ                = 200
    CoastingSpeed           = 0
    PressureMotionMinZ      = 30
    PressureMotionMaxZ      = 160
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 1
However, I think the problem is somehow more difficult than a wrong setting in xorg.conf, as the output of synclient -m 100 gives something like that

Code: Select all

# synclient -m 100
    time     x    y   z f  w  l r u d m     multi  gl gm gr gdx gdy
   0.000     1 5855   0 0  0  0 0 0 0 0  00000000   0  0  0   0   0
   0.901  3019 2172  58 1  4  0 0 0 0 0  00000000   0  0  0   0   0
   1.001     1 5855   2 1  5  0 0 0 0 0  00000000   0  0  0   0   0
   1.102     1 5855   0 0  0  0 0 0 0 0  00000000   0  0  0   0   0
   2.903  4686 1494  52 1 15  0 0 0 0 0  00000000   0  0  0   0   0
   3.004  3518 1002  57 1  9  0 0 0 0 0  00000000   0  0  0   0   0
   3.104  2866 2474   0 0  0  0 0 0 0 0  00000000   0  0  0   0   0
   7.008  2885 3071  55 1 10  0 0 0 0 0  00000000   0  0  0   0   0
   7.109     1 5855   0 0  0  0 0 0 0 0  00000000   0  0  0   0   0
first I used one finger, then two then three.

As you can see, the f column didn't go above 1.

Have you got a suggestion?

Posted: Fri Nov 21, 2008 1:12 pm
by Superego
Do you know if you have an ALPS touchpad or Synaptics? I don't know anything about the T400 or touchpad comes with it but I'm assuming it's a Synaptic. The reason I ask is because the ALPS touchpads, in general, have a hard time registering more than one finger.
Spindoctor wrote: In Ubuntu 8.10 these options are not selected via xorg.conf anymore.
Huh? You don't have/can't modify an xorg.conf anymore? Please clarify.

Posted: Sat Nov 22, 2008 9:21 am
by Spindoctor
In Ubuntu 8.10 it is not nessecary to edit xorg.conf anymore (you can do it anyway). By default, xorg.conf is nearly empty.

Instead HAL is used, meaning you create small xml-files with .fdi-extensions in a certain folder to do basically the same things you did with xorg.conf before.

Coming back to my problem with two finger scroll: in fact I don't know if I have a synaptics- or a ALPS-touchpad.

I also assume it's a synaptics but I don't really know.

How can I find out?

synclient -h says

Code: Select all

# synclient -h
Hardware properties:
    Can't detect hardware properties.
    This is normal if you are running linux kernel 2.6
    Check the kernel log for touchpad hardware information.
Dirver version: 1502
So how do I lookup the kernel log and where do I find those information?

Thank you

Posted: Sat Nov 22, 2008 12:42 pm
by Zender
I fear it seems that recent Synaptics touchpads have multi-finger support disabled at firmware level.
See also here.

Posted: Sun Nov 23, 2008 6:50 am
by Spindoctor
thank you for your reply.

yea looks like you are right.

what a pitty :(

hopefully one day there will be a possibility to change the firmware

Posted: Thu Dec 04, 2008 3:53 pm
by HankB
Spindoctor wrote:In Ubuntu 8.10 it is not nessecary to edit xorg.conf anymore (you can do it anyway). By default, xorg.conf is nearly empty.

Instead HAL is used, meaning you create small xml-files with .fdi-extensions in a certain folder to do basically the same things you did with xorg.conf before.

Coming back to my problem with two finger scroll: in fact I don't know if I have a synaptics- or a ALPS-touchpad.

I also assume it's a synaptics but I don't really know.
I don't know if this helps to determine if the touchpad is a Synaptics. Here is something I find in /var/log/Xorg.0.log:

Code: Select all

(II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
(II) LoadModule: "synaptics"

(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
        compiled for 1.5.2, module version = 0.15.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.1
(II) Synaptics touchpad driver version 0.15.2
(II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
(II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
(**) Option "Device" "/dev/input/event9"
(--) SynPS/2 Synaptics TouchPad touchpad found
(**) SynPS/2 Synaptics TouchPad: always reports core events
(II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
(II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
(II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
(--) SynPS/2 Synaptics TouchPad touchpad found
I am unable to find any other hint for what H/W is actually in place. I believe that the synaptics driver can also work with the ALPS touch pad so this seems not definitive.

Can you tell me how you enabled SHMConfig? I have not been able to figure out how to do that with the X server that comes with Ubuntu 8.10.

many thanks,
hank

Posted: Sun Dec 07, 2008 3:53 pm
by Bashar
what do you mean two fingers scroll ?

with HAL the new configuration is at /etc/hal/fdi/mouse-wheel.fdi or something

for example mine has this

Code: Select all

<match key="info.product" string="TPPS/2 IBM TrackPoint">
 <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
 <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
 <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>
maybe you can add a line like this to have it work:

Code: Select all

 <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merg>
run the command

Code: Select all

xinput list
to get you rinfo.product device name to put it there