Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Two Finger Scrolling (Synaptics0.14.5 new option), how?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Tue Jun 06, 2006 12:14 am    Post subject: Two Finger Scrolling (Synaptics0.14.5 new option), how? Reply with quote

Hi, today the new synaptics driver version .14.5 have been realised. The yhave added many new feature, like 2 finger scrolling, but and information how to use them. Do someone know how to enable this feature?

Last edited by Elv13 on Mon Jun 12, 2006 1:21 pm; edited 2 times in total
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Tue Jun 06, 2006 1:03 am    Post subject: Reply with quote

mabe ask in linuxppc
ibooks have this feature
Back to top
View user's profile Send private message
bigmauler
Apprentice
Apprentice


Joined: 25 Apr 2005
Posts: 177
Location: Seattle, WA

PostPosted: Tue Jun 06, 2006 1:39 am    Post subject: Reply with quote

I shall look into this as I would be very interested in the feature too.
_________________
Never take raisins from a rabbit
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Wed Jun 07, 2006 1:02 am    Post subject: Reply with quote

^^ up
i dont like to do that, but no one seem to understand how it work!
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Wed Jun 07, 2006 3:09 am    Post subject: Reply with quote

have you tried


Option "TwoFingerScrolling" "1"
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Wed Jun 07, 2006 1:36 pm    Post subject: Reply with quote

X don't crash with this option but no 2 finger scrolling :(

EDIT: OK, i found the option :)
Code:
Section "InputDevice"
  Driver        "synaptics"
  Identifier    "Touchpad"
  Option        "Device"                "/dev/psaux"
  Option        "Protocol"              "auto-dev"
  Option        "LeftEdge"              "120"
  Option        "RightEdge"             "830"
  Option        "TopEdge"               "120"
  Option        "BottomEdge"            "650"
  Option        "FingerLow"             "14"
  Option        "FingerHigh"            "15"
  Option        "MaxTapTime"            "180"
  Option        "MaxTapMove"            "110"
  Option        "EmulateMidButtonTime"  "75"
#  Option       "VertScrollDelta"       "20"
#  Option       "HorizScrollDelta"      "15"
  Option        "MinSpeed"              "0.3"
  Option        "MaxSpeed"              "1.00"
  Option        "AccelFactor"           "0.035"
  Option        "EdgeMotionMinSpeed"    "200"
  Option        "EdgeMotionMaxSpeed"    "200"
#  Option       "UpDownScrolling"       "1"
#  Option       "CircularScrolling"     "1"
#  Option       "CircScrollDelta"       "0.1"
#  Option       "CircScrollTrigger"     "2"
  Option        "SHMConfig"     "on"
#0.14.5 New option
  Option        "VertTwoFingerScroll"   "1"
  Option        "HorizTwoFingerSroll"   "1"
#  Option       "EdgeMotionMinZ"
#  Option       "EdgeMotionMaxZ"
#  Option       "EdgeMotionUseAlways"   "1"
#  Option       "PressureMotionMinZ"
#  Option       "PressureMotionMaxZ"
#  Option       "PressureMotionMinFactor"
#  Option       "PressureMotionMaxFactor"
##  Option      "UpDownScrolling"       "1"
##  Option      "LeftRightScrolling"    "1"
##  Option      "UpDownRepeat"          "1"
##  Option      "LeftRightRepeat"       "1"
##  Option      "ScrollButtonRepeat"    "1"
##  Option      "TapButton2"            "1" #
##  Option      "FingerHigh"            "1" #
EndSection


But with all these option, i still have side scroll! WT*!!! why
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Thu Jun 08, 2006 2:12 pm    Post subject: Reply with quote

^^UP

Quote:
NAME
synaptics - Synaptics touchpad driver for XOrg/XFree86.

INTRODUCTION
This is a driver for the Synaptics TouchPad for XOrg/XFree86 4.x. A
Synaptics touchpad by default operates in compatibility mode by emulat-
ing a standard mouse. However, by using a dedicated driver, more
advanced features of the touchpad becomes available, such as:

o Movement with adjustable, non-linear acceleration and speed.

o Button events through short touching of the touchpad.

o Double-Button events through double short touching of the touchpad.

o Dragging through short touching and holding down the finger on the
touchpad.

o Middle and right button events on the upper and lower corner of the
touchpad.

o Vertical scrolling (button four and five events) through moving the
finger on the right side of the touchpad.

o The up/down button sends button four/five events.

o Horizontal scrolling (button six and seven events) through moving
the finger on the lower side of the touchpad.

o The multi-buttons send button four/five events for vertical
scrolling and button six/seven events for horizontal scrolling.

o Adjustable finger detection.

o Multifinger taps: two finger for middle button and three finger for
right button events. (Needs hardware support. Not all models
implement this feature.)

o Pressure dependent motion speed.

o Run-time configuration using shared memory. This means you can
change parameter settings without restarting the X server.

Note that depending on the touchpad firmware, some of these features
might be available even without using the synaptics driver. Note also
that some functions are not available on all touchpad models, because
they need support from the touchpad hardware/firmware. (Multifinger
taps for example.)

DESCRIPTION
The driver behavior can be configured with parameters. These parame-
ters are options in the InputDevice section in the XOrg/XFree86 config
file. See the INSTALL file for a working example. If you have the
SHMConfig parameter enabled, these parameters can also be changed at
runtime with the synclient(1) program. The following parameters are
available:

Device (String)
Synaptics device.

Protocol (String)

auto-dev automatic, default
psaux raw
event linux 2.6 kernel events
psm FreeBSD psm driver

SHMConfig (Bool)
Switch on/off shared memory for configuration.

LeftEdge (Integer)
X coordinate for left edge.

RightEdge (Integer)
X coordinate for right edge.

TopEdge (Integer)
Y coordinate for top edge.

BottomEdge (Integer)
Y coordinate for bottom edge.

FingerLow (Integer)
When finger pressure drops below this value, the driver counts
it as a release.

FingerHigh (Integer)
When finger pressure goes above this value, the driver counts it
as a touch.

MaxTapTime (Integer)
Maximum time (in milliseconds) for detecting a tap.

MaxTapMove (Integer)
Maximum movement of the finger for detecting a tap.

MaxDoubleTapTime (Integer)
Maximum time (in milliseconds) for detecting a double tap.

ClickTime (Integer)
The duration of the mouse click generated by tapping.

FastTaps (Bool)
Makes the driver react faster to a single tap, but also makes
double clicks caused by double tapping slower.

VertEdgeScroll (Bool)
Enable vertical scrolling when dragging along the right edge.

HorizEdgeScroll (Bool)
Enable horizontal scrolling when dragging along the bottom edge.

VertTwoFingerScroll (Bool)
Enable vertical scrolling when dragging with two fingers any-
where on the touchpad.

HorizTwoFingerScroll (Bool)
Enable horizontal scrolling when dragging with two fingers any-
where on the touchpad.

VertScrollDelta (Integer)
Move distance of the finger for a scroll event.

HorizScrollDelta (Integer)
Move distance of the finger for a scroll event.

EdgeMotionMinZ (Integer)
Finger pressure at which minimum edge motion speed is set.

EdgeMotionMaxZ (Integer)
Finger pressure at which maximum edge motion speed is set.

EdgeMotionMinSpeed (Integer)
Slowest setting for edge motion speed.

EdgeMotionMaxSpeed (Integer)
Fastest setting for edge motion speed.

EdgeMotionUseAlways (Bool)
If on, edge motion is also used for normal movements. If off,
egde motion is used only when dragging.

Repeater (String)
Repeater device.

MinSpeed (Float)
Minimum speed factor.

MaxSpeed (Float)
Maximum speed factor.

AccelFactor (Float)
Acceleration factor.

PressureMotionMinZ (Integer)
Finger pressure at which minimum pressure motion factor is
applied.

PressureMotionMaxZ (Integer)
Finger pressure at which maximum pressure motion factor is
applied.

PressureMotionMinFactor (Integer)
Lowest setting for pressure motion factor.
PressureMotionMaxFactor (Integer)
Greatest setting for pressure motion factor.

UpDownScrolling (Bool)
If on, the up/down buttons generate button 4/5 events. If off,
the up button generates a double click and the down button gen-
erates a button 2 event.

LeftRightScrolling (Bool)
If on, the left/right buttons generate button 6/7 events. If
off, the left/right buttons both generate button 2 events.

UpDownRepeat (Bool)
If on, and the up/down buttons are used for scrolling (UpDown-
Scrolling), these buttons will send auto-repeating 4/5 events,
with the delay between repeats determined by ScrollButtonRepeat.

LeftRightRepeat (Bool)
If on, and the left/right buttons are used for scrolling (Left-
RightScrolling), these buttons will send auto-repeating 6/7
events, with the delay between repeats determined by ScrollBut-
tonRepeat.

ScrollButtonRepeat (Integer)
The number of milliseconds between repeats of button events 4-7
from the up/down/left/right scroll buttons.

EmulateMidButtonTime (Integer)
Maximum time (in milliseconds) for middle button emulation.

TouchpadOff (Integer)
Switch off the touchpad. Valid values are:

0 Touchpad is enabled
1 Touchpad is switched off
2 Only tapping and scrolling is switched off

GuestMouseOff (Bool)
Switch on/off guest mouse (often a stick).

LockedDrags (Bool)
If off, a tap and drag gesture ends when you release the finger.
If on, the gesture is active until you tap a second time.

RTCornerButton (Integer)
Which mouse button is reported on a right top corner tap. Set
to 0 to disable.

RBCornerButton (Integer)
Which mouse button is reported on a right bottom corner tap.
Set to 0 to disable.

LTCornerButton (Integer)
Which mouse button is reported on a left top corner tap. Set to
0 to disable.

LBCornerButton (Integer)
Which mouse button is reported on a left bottom corner tap. Set
to 0 to disable.

TapButton1 (Integer)
Which mouse button is reported on a non-corner one-finger tap.
Set to 0 to disable.

TapButton2 (Integer)
Which mouse button is reported on a non-corner two-finger tap.
Set to 0 to disable.

TapButton3 (Integer)
Which mouse button is reported on a non-corner three-finger tap.
Set to 0 to disable.

CircularScrolling (Bool)
If on, circular scrolling is used.

CircScrollDelta (Float)
Move angle (radians) of finger to generate a scroll event.

CircScrollTrigger (Integer)
Trigger region on the touchpad to start circular scrolling

0 All Edges
1 Top Edge
2 Top Right Corner
3 Right Edge
4 Bottom Right Corner
5 Bottom Edge
6 Bottom Left Corner
7 Left Edge
8 Top Left Corner

CircularPad (Bool)
Instead of being a rectangle, the edge is the ellipse enclosed
by the Left/Right/Top/BottomEdge parameters. For circular
touchpads.

PalmDetect (Bool)
If palm detection should be enabled. Note that this also
requires hardware/firmware support from the touchpad.

PalmMinWidth (Integer)
Minimum finger width at which touch is considered a palm.

PalmMinZ (Integer)
Minimum finger pressure at which touch is considered a palm.

CoastingSpeed (Float)
Coasting threshold scrolling speed. 0 disables coasting.

SingleTapTimeout (Integer)
Timeout after a tap to recognize it as a single tap.

The LeftEdge, RightEdge, TopEdge and BottomEdge parameters are used to
define the edge and corner areas of the touchpad. The parameters split
the touchpad area in 9 pieces, like this:

| |
| LeftEdge | RightEdge
+-----+-------------+---+ Physical top edge
| 1 | 2 | 3 |
+-----+-------------+---+ TopEdge
| | | |
| 4 | 5 | 6 |
| | | |
+-----+-------------+---+ BottomEdge
| 7 | 8 | 9 |
+-----+-------------+---+ Physical bottom edge
Physical left edge Physical right edge

Coordinates to the left of LeftEdge are part of the left edge (areas 1,
4 and 7), coordinates to the left of LeftEdge and above TopEdge (area
1) are part of the upper left corner, etc. A good way to find appro-
priate edge parameters is to enable the SHMConfig option and run "syn-
client -m 1" to see the x/y coordinates corresponding to different
positions on the touchpad.

A tap event happens when the finger is touched and released in a time
interval shorter than MaxTapTime, and the touch and release coordinates
are less than MaxTapMove units apart. A "touch" event happens when the
Z value goes above FingerHigh, and an "untouch" event happens when the
Z value goes below FingerLow.

The MaxDoubleTapTime parameter has the same function as the MaxTapTime
parameter, but for the second, third, etc tap in a tap sequence. If
you can't perform double clicks fast enough (for example, xmms depends
on fast double clicks), try reducing this parameter. If you can't get
word selection to work in xterm (ie button down, button up, button
down, move mouse), try increasing this parameter.

The ClickTime parameter controls the delay between the button down and
button up X events generated in response to a tap event. A too long
value can cause undesirable autorepeat in scroll bars and a too small
value means that visual feedback from the gui application you are
interacting with is harder to see. For this parameter to have any
effect, "FastTaps" has to be disabled.

The MinSpeed, MaxSpeed and AccelFactor parameters control the pointer
motion speed. The speed value defines the scaling between touchpad
coordinates and screen coordinates. When moving the finger very
slowly, the MinSpeed value is used, when moving very fast the MaxSpeed
value is used. When moving the finger at moderate speed, you get a
pointer motion speed somewhere between MinSpeed and MaxSpeed. If you
don't want any acceleration, set MinSpeed and MaxSpeed to the same
value.

The MinSpeed, MaxSpeed and AccelFactor parameters don't have any effect
on scrolling speed. Scrolling speed is determined solely from the
on scrolling speed. Scrolling speed is determined solely from the
VertScrollDelta and HorizScrollDelta parameters. To disable vertical
or horizontal scrolling, set VertScrollDelta or HorizScrollDelta to
zero.

When hitting an egde, movement can be automatically continued. If
EdgeMotionUseAlways is false, edge motion is only used when dragging.
With EdgeMotionUseAlways set to true, it is also used for normal cursor
movements.

Edge motion speed is calculated by taking into account the amount of
pressure applied to the touchpad. The sensitivity can be adjusted
using the EdgeMotion parameters. If the pressure is below EdgeMotion-
MinZ, EdgeMotionMinSpeed is used, and if the pressure is greater than
EdgeMotionMaxZ, EdgeMotionMaxSpeed is used. For a pressure value
between EdgeMotionMinZ and EdgeMotionMaxZ, the speed is increased lin-
early.

When pressure motion is activated, the cursor motion speed depends on
the pressure exerted on the touchpad (the more pressure exerted on the
touchpad, the faster the pointer). More precisely the speed is first
calculated according to MinSpeed, MaxSpeed and AccelFactor, and then is
multiplied by a sensitivity factor. The sensitivity factor can be
adjusted using the PressureMotion parameters. If the pressure is below
PressureMotionMinZ, PressureMotionMinFactor is used, and if the pres-
sure is greater than PressureMotionMaxZ, PressureMotionMaxFactor is
used. By default, PressureMotionMinZ and PressureMotionMaxZ are equal
to EdgeMotionMinZ and EdgeMotionMaxZ. For a pressure value between
PressureMotionMinZ and PressureMotionMaxZ, the factor is increased lin-
early.

Since most synaptics touchpad models don't have a button that corre-
sponds to the middle button on a mouse, the driver can emulate middle
mouse button events. If you press both the left and right mouse but-
tons at almost the same time (no more than EmulateMidButtonTime mil-
liseconds apart) the driver generates a middle mouse button event.

Circular scrolling acts like a scrolling wheel on the trackpad.
Scrolling is engaged when a drag starts in the given CircScrollTrigger
region, which can be all edges, a particular side, or a particular cor-
ner. Once scrolling is engaged, moving your finger in clockwise cir-
cles around the trackpad will generate scroll down events and counter
clockwise scroll up events. Lifting your finger will disengage circu-
lar scrolling. Use tight circles near the center of the pad for fast
scrolling and large circles for better control. When used together
with vertical scrolling, hitting the upper or lower right corner will
seamlessly switch over from vertical to circular scrolling.

Coasting is enabled by setting the CoastingSpeed parameter to a non-
zero value. When coasting is enabled, horizontal/vertical scrolling
can continue after the finger is released from the lower/right edge of
the touchpad. The driver computes the scrolling speed corresponding to
the finger speed immediately before the finger leaves the touchpad. If
this scrolling speed is larger than the CoastingSpeed parameter (mea-
sured in scroll events per second), the scrolling will continue with
the same speed in the same direction until the finger touches the
touchpad again.

AUTHORS
Peter Osterlund <petero2@telia.com> and many others.

SEE ALSO
synclient(1), syndaemon(1)



0.14.5 synaptics(5)

if some one get it to work, say how and what is your touchpad (synaptic or alps)
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Thu Jun 08, 2006 3:48 pm    Post subject: Reply with quote

Do you have a new MacBook[Pro] ?
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Thu Jun 08, 2006 5:01 pm    Post subject: Reply with quote

No, a normal PC, a toshiba satellite A70
the touchpad itself suport 2 finger, like all touchpad
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Thu Jun 08, 2006 6:00 pm    Post subject: Reply with quote

Actually not all touchpads support two finger scrolling. mine doesn't. Its a hardware thing.
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Thu Jun 08, 2006 11:44 pm    Post subject: Reply with quote

both alps ans synaptics can, i confirm for both, the driver version 0.14.5 have this feature the question is how to enable it.

I have installed many osx86, i got 2 finger scrolling to work on both alps and synaptics touchpad, including my laptop so it suport 2fs
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Fri Jun 09, 2006 12:06 am    Post subject: Reply with quote

Can you show me where you have found the information proving that *all* synaptics/alps touchpads support this feature?
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Fri Jun 09, 2006 1:44 am    Post subject: Reply with quote

i got mine to work under osx86 with this driver:
http://forum.osx86project.org/index.php?showtopic=5419&st=80#

the driver for synaptics (on osx86 again):
http://forum.osx86project.org/index.php?showtopic=8569 few got it to work, on a nc6000 i got it to work
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Fri Jun 09, 2006 3:50 am    Post subject: Reply with quote

ok, that still does not prove that it is not a hardware dependent thing.
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Fri Jun 09, 2006 1:26 pm    Post subject: Reply with quote

but the hardware suported by the synaptics driver support 2fs
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Fri Jun 09, 2006 2:12 pm    Post subject: Reply with quote

not all touchpads support this feature, I have an alps touchpad and it does not, I have tried.

try this as a user, not root, from an xterm:

Code:

synclient -m 1



and try using two or three fingers on the touchpad, if you get no output then you do not have hardware support. I do not.
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Fri Jun 09, 2006 4:38 pm    Post subject: Reply with quote

get osx86 (for the test only) and try it, you will see, it will work
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Sat Jun 10, 2006 7:59 pm    Post subject: Reply with quote

``UP
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Mon Jun 12, 2006 1:21 pm    Post subject: Reply with quote

^^ Last up after i let this topic dieing
Back to top
View user's profile Send private message
Seron
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 293
Location: Malmö, Sweden

PostPosted: Thu May 29, 2008 7:25 am    Post subject: Reply with quote

I have the problem that a page often jumps to the bottom after I release the touchpad from two-finger scrolling. Anyone had this problem and have a solution?
_________________
man cannot be brave without being afraid
Back to top
View user's profile Send private message
koolfy
n00b
n00b


Joined: 05 Dec 2007
Posts: 12

PostPosted: Sun Aug 31, 2008 12:19 pm    Post subject: Reply with quote

Same "jumping" two finger scroll here, dunno how to fix it, is it a bug or a config issue ? anyone fixed it ?
Back to top
View user's profile Send private message
spupy
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2007
Posts: 102
Location: Germany

PostPosted: Sun Nov 09, 2008 1:16 pm    Post subject: Reply with quote

To give some hope:
I got a Toshiba Satellite using the synaptics driver. The touchpad can't detect more than one finger. I did a small hack in the synaptics driver to detect higher pressure as two fingers. Now two-finger scroll works perfect. Both horizontally and vertically. Also added the gesture [button1]+[scroll left or right] to send mouse events 8 and 9 which in firefox works as forward and backward in browsing history.
If anyone is interested I can send a diff for synaptics-0.14.6
_________________
Make install - not war!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum