Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

2 finger scroll with 2 T400 and Ubuntu

Linux on ThinkPads
Post Reply
Message
Author
Spindoctor
Posts: 7
Joined: Thu Nov 20, 2008 7:41 am
Location: Vienna, Austria

2 finger scroll with 2 T400 and Ubuntu

#1 Post by Spindoctor » Fri Nov 21, 2008 6:16 am

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!

Superego
Sophomore Member
Posts: 239
Joined: Tue Feb 20, 2007 4:05 pm
Location: Minneapolis, MN

#2 Post by Superego » Fri Nov 21, 2008 8:57 am

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.
W510: i7-820QM / 8GB 1066 RAM/ 1 GB NVIDIA Quadro FX 880M / 500GB 7200rpm / 15.6" HD 1080 / Arch Linux

Spindoctor
Posts: 7
Joined: Thu Nov 20, 2008 7:41 am
Location: Vienna, Austria

#3 Post by Spindoctor » Fri Nov 21, 2008 12:38 pm

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?

Superego
Sophomore Member
Posts: 239
Joined: Tue Feb 20, 2007 4:05 pm
Location: Minneapolis, MN

#4 Post by Superego » Fri Nov 21, 2008 1:12 pm

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.
W510: i7-820QM / 8GB 1066 RAM/ 1 GB NVIDIA Quadro FX 880M / 500GB 7200rpm / 15.6" HD 1080 / Arch Linux

Spindoctor
Posts: 7
Joined: Thu Nov 20, 2008 7:41 am
Location: Vienna, Austria

#5 Post by Spindoctor » Sat Nov 22, 2008 9:21 am

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

Zender
Junior Member
Junior Member
Posts: 315
Joined: Sun Mar 18, 2007 8:34 pm
Location: Prague, Czech Republic
Contact:

#6 Post by Zender » Sat Nov 22, 2008 12:42 pm

I fear it seems that recent Synaptics touchpads have multi-finger support disabled at firmware level.
See also here.
T60 14" SXGA+ 9c T5600 3GB X1400 4965AGN MC8780 IR BT FPR DVDRW Alps XPP

Spindoctor
Posts: 7
Joined: Thu Nov 20, 2008 7:41 am
Location: Vienna, Austria

#7 Post by Spindoctor » Sun Nov 23, 2008 6:50 am

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

HankB
Posts: 7
Joined: Wed Dec 03, 2008 1:22 pm
Location: Winfield, IL

#8 Post by HankB » Thu Dec 04, 2008 3:53 pm

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

Bashar
Freshman Member
Posts: 112
Joined: Fri Nov 02, 2007 5:51 pm
Location: Salmiya, Kuwait
Contact:

#9 Post by Bashar » Sun Dec 07, 2008 3:53 pm

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
Bashar Al-Abdulhadi

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 44 guests