You are not logged in.

#1 2009-12-12 23:41:54

aaron.kilbride
Member
Registered: 2009-08-25
Posts: 65

two finger scrolling?

i have no idea how to get 2 finger scrolling to work. i've read the wiki... but despite adding some lines to /etc/hal/fdi/policy/11-x11-synaptics.fdi
nothing happens.

here is my  /etc/hal/fdi/policy/11-x11-synaptics.fdi

  
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="ETPS/2 Elantech Touchpad">
        <append key="info.capabilities" type="strlist">input.touchpad</append>
    <merge key="input.x11_options.SHMConfig" type="string">on</merge>
    </match>
    <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.VertTwoFingerScroll" type="string">1</merge>
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</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
        -->
    </match>
  </device>

here is the output of synclient -l

 
[aaron@Arch ~]$ synclient -l      
Parameter settings:               
    LeftEdge                = 153 
    RightEdge               = 870 
    TopEdge                 = 115 
    BottomEdge              = 652 
    FingerLow               = 12  
    FingerHigh              = 14  
    FingerPress             = 127 
    MaxTapTime              = 180 
    MaxTapMove              = 56  
    MaxDoubleTapTime        = 180 
    SingleTapTimeout        = 180 
    ClickTime               = 100 
    FastTaps                = 0   
    EmulateMidButtonTime    = 75  
    EmulateTwoFingerMinZ    = 139 
    EmulateTwoFingerMinW    = 7   
    VertScrollDelta         = 25  
    HorizScrollDelta        = 25  
    VertEdgeScroll          = 1   
    HorizEdgeScroll         = 0   
    CornerCoasting          = 0   
    VertTwoFingerScroll     = 1   
    HorizTwoFingerScroll    = 1   
    MinSpeed                = 0.4 
    MaxSpeed                = 0.7 
    AccelFactor             = 0.0391236
    TrackstickSpeed         = 40       
    EdgeMotionMinZ          = 14       
    EdgeMotionMaxZ          = 79       
    EdgeMotionMinSpeed      = 1        
    EdgeMotionMaxSpeed      = 102      
    EdgeMotionUseAlways     = 0        
    UpDownScrolling         = 1        
    LeftRightScrolling      = 1        
    UpDownScrollRepeat      = 1        
    LeftRightScrollRepeat   = 1        
    ScrollButtonRepeat      = 100      
    TouchpadOff             = 0        
    GuestMouseOff           = 0        
    LockedDrags             = 0        
    LockedDragTimeout       = 5000     
    RTCornerButton          = 0        
    RBCornerButton          = 0        
    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              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 99
    CoastingSpeed           = 0
    PressureMotionMinZ      = 14
    PressureMotionMaxZ      = 79
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 1
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0

and when i do synclient -m 100

[aaron@Arch ~]$ synclient -m 100
Can't access shared memory area. SHMConfig disabled?

do i have to use EmulateTwoFingerMinZ? i don't have a dell... so do i still need to use it?

i'm just very confused..

Offline

#2 2009-12-13 10:11:11

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: two finger scrolling?

As the message says SHMConfig is off... You will need to turn that on i think.
This is also explained on the synaptics wiki-page.

What do you get when it is turned on?

Offline

#3 2009-12-13 10:51:54

Condex
Member
From: Sol III - Sol System
Registered: 2008-02-04
Posts: 38

Re: two finger scrolling?

Hi there!

Here's what I have in my fdi file. It's a Synaptics touchpad though, not «Elantech».

<?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.SHMConfig" type="string">true</merge>

      <merge key="input.x11_options.LeftEdge" type="int">1700</merge>
      <merge key="input.x11_options.RightEdge" type="int">5300</merge>
      <merge key="input.x11_options.TopEdge" type="int">1700</merge>
      <merge key="input.x11_options.BottomEdge" type="int">4200</merge>
      <merge key="input.x11_options.FingerLow" type="int">25</merge>
      <merge key="input.x11_options.FingerHigh" type="int">30</merge>
      <merge key="input.x11_options.MaxTapTime" type="int">180</merge>
      <merge key="input.x11_options.MaxTapMove" type="int">220</merge>
      <merge key="input.x11_options.VertScrollDelta" type="int">100</merge>
      <merge key="input.x11_options.MinSpeed" type="double">0.06</merge>
      <merge key="input.x11_options.MaxSpeed" type="double">0.12</merge>
      <merge key="input.x11_options.AccelFactor" type="double">0.0010</merge>

      <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
      <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>

      <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
      <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
    </match>
  </device>
</deviceinfo>

And it works flawlessly. Two finger scroll, both vertical and horizontal wink

Take a look at your lshal to see if the options are merged. Something like: lshal | grep -B1 -A34 touchpad.

Hope it helps!

Cheers!
Condex- cool

Last edited by Condex (2009-12-13 10:52:36)


« Carpe diem quam minimum credula postero. »

Offline

#4 2009-12-13 19:44:59

aaron.kilbride
Member
Registered: 2009-08-25
Posts: 65

Re: two finger scrolling?

toffyrn wrote:

As the message says SHMConfig is off... You will need to turn that on i think.
This is also explained on the synaptics wiki-page.

What do you get when it is turned on?

how do i turn that on? i had no idea what it is or how i disabled it....

Offline

#5 2009-12-13 19:58:49

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: two finger scrolling?

This is taken from wikipage: http://wiki.archlinux.org/index.php/Synaptics

With hotplugging enabled(default), append this the match section of your 99-x11-synaptics.fdi or 11-x11-synaptics.fdi:

<merge key="input.x11_options.SHMConfig" type="string">on</merge>

Fine-tuning with synclient

The synclient monitor can display pressure and placement on the touchpad in real-time, allowing further refinement of the default Synaptics settings. In order for synclient to work properly, the SHMConfig option must be set to on or true.

You can start the Synaptics monitor with the following command:

$ synclient -m 100

Where -m activates the monitor and the following number specifies the update interval in milliseconds.

After changing to SHMConfig on restart (at least restart hal, and therefore also X) before trying synclient again smile

Offline

#6 2009-12-14 05:34:15

aaron.kilbride
Member
Registered: 2009-08-25
Posts: 65

Re: two finger scrolling?

ok even with that line added... i still get the same error with shmconfig disabled.
i don't get it. i read the wiki more and tried changing the name where the xxx's are to  match what was in my
/proc/bus/input/devices file.these are the two entries i saw

<match key="info.product" contains="xxxxx">
 I: Bus=0011 Vendor=0002 Product=0008 Version=0000
N: Name="PS/2 Mouse"
P: Phys=isa0060/serio1/input1
S: Sysfs=/devices/platform/i8042/serio1/input/input12
U: Uniq=
H: Handlers=mouse1 event12
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0002 Product=0008 Version=7321
N: Name="AlpsPS/2 ALPS GlidePoint"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input13
U: Uniq=
H: Handlers=mouse2 event13
B: EV=f
B: KEY=420 70000 0 0 0 0
B: REL=3
B: ABS=1000003

when i first copied my 11-x11-synaptics from usr/share/whatever like the wiki said this space contained et/ps2 elantech
idk why hal is not listening to this file. i even added the append section as the wiki suggested

Last edited by aaron.kilbride (2009-12-14 05:42:27)

Offline

#7 2009-12-14 09:24:43

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: two finger scrolling?

hmmm... not sure what it is then.
But some of the new ones are not supported with two fingerscrolling (yet) i have heard...

Make sure you dont have disabled hotplugging in xorg.conf
http://wiki.archlinux.org/index.php/Xor … otplugging

Offline

Board footer

Powered by FluxBB