You are not logged in.

#1 2010-06-02 17:11:51

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Enabling multitouch without HAL

I have ASUS 1005p netbook. It has multitouch support on Windows system. Unfortunately i have three issues on Arch.

I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input6
U: Uniq=
H: Handlers=mouse0 event6
B: EV=b
B: KEY=420 0 30000 0 0 0 0 0 0 0 0
B: ABS=11000003
[Parameter settings:
    LeftEdge                = 1700
    RightEdge               = 5300
    TopEdge                 = 1700
    BottomEdge              = 4200
    FingerLow               = 50
    FingerHigh              = 55
    FingerPress             = 255
    MaxTapTime              = 180
    MaxTapMove              = 221
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    FastTaps                = 0
    EmulateMidButtonTime    = 75
    EmulateTwoFingerMinZ    = 60
    EmulateTwoFingerMinW    = 8
    VertScrollDelta         = 100
    HorizScrollDelta        = 100
    VertEdgeScroll          = 1
    HorizEdgeScroll         = 0
    CornerCoasting          = 1
    VertTwoFingerScroll     = 0
    HorizTwoFingerScroll    = 0
    MinSpeed                = 0.1
    MaxSpeed                = 0.7
    AccelFactor             = 0.004
    TrackstickSpeed         = 40
    EdgeMotionMinZ          = 29
    EdgeMotionMaxZ          = 159
    EdgeMotionMinSpeed      = 1
    EdgeMotionMaxSpeed      = 401
    EdgeMotionUseAlways     = 0
    UpDownScrolling         = 1
    LeftRightScrolling      = 1
    UpDownScrollRepeat      = 1
    LeftRightScrollRepeat   = 1
    ScrollButtonRepeat      = 100
    TouchpadOff             = 1
    GuestMouseOff           = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 0
    RBCornerButton          = 0
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 0
    TapButton2              = 0
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 2
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 1
    PalmMinWidth            = 10
    PalmMinZ                = 50
    CoastingSpeed           = 0.3
    PressureMotionMinZ      = 40
    PressureMotionMaxZ      = 159
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 1
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Synaptics0" "SendCoreEvents"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
    Load  "dri2"
    Load  "record"
    Load  "dbe"
    Load  "synaptics"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier  "Synaptics0"
    Driver      "synaptics"
    Option      "AlwaysCore" "true"
    Option      "Device" "/dev/input/event6"
    Option      "Protocol"    "auto-dev"
    Option      "SHMConfig" "true"
    Option      "LeftEdge"          "1700"  # x coord left
    Option      "RightEdge"         "5300"  # x coord right
    Option      "TopEdge"           "1700"  # y coord top
    Option      "BottomEdge"        "4200"  # y coord bottom
    Option      "FingerLow"         "45"    # pressure below this level triggers release
    Option      "FingerHigh"        "50"    # pressure above this level triggers touch
    Option      "MaxTapTime"        "180"   # max time in ms for detecting tap
    Option      "VertEdgeScroll"    "0"  # enable vertical scroll zone
    Option      "HorizEdgeScroll"   "0"  # enable horizontal scroll zone
    Option      "CornerCoasting"    "1"  # enable continuous scroll with finger in corner
    Option      "CoastingSpeed"     "0.30"  # corner coasting speed
    Option      "VertScrollDelta"   "100"   # edge-to-edge scroll distance of the vertical scroll
    Option      "HorizScrollDelta"  "100"   # edge-to-edge scroll distance of the horizontal scroll
    Option      "MinSpeed"          "0.10"  # speed factor for low pointer movement
    Option      "MaxSpeed"          "0.70"  # maximum speed factor for fast pointer movement
    Option      "AccelFactor"       "0.0040"    # acceleration factor for normal pointer movements
    Option      "VertTwoFingerScroll"   "1"  # vertical scroll anywhere with two fingers
    Option      "HorizTwoFingerScroll"  "1"  # horizontal scroll anywhere with two fingers
    Option      "EmulateTwoFingerMinZ"  "60"    # this may vary between different machines
    Option      "EmulateTwoFingerMinW"  "8"
    Option      "TapButton1"        "1"
    Option      "TapButton2"        "3"
    Option      "TapButton3"        "2"
    Option      "PalmDetect"        "1"
    Option      "PalmMinWidth"      "10"
    Option      "PalmMinZ"          "50"
    Option      "PressureMotionMinZ"    "35"
    
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Pineview Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
    Option      "AccelMethod" "uxa"
    Option "XvMC" "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

First issue is that some of properties declared in xorg.conf are working good, but some arent. For example TapButtons, *TwoFingerScroll arent working - arent set in synclient -l after boot.

Secound issue is that touchpad can only emulate multitouch - after synclient -m100 "f" value is 1 even if i put two or three fingers on touchpad. On Ubuntu f value changes proprelly after putting more than one finger on touchpad.

Last issue is that after scrolling with two fingers and releasing touchpad, cursor goes wild for few secounds.

Offline

#2 2010-06-03 12:09:07

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Enabling multitouch without HAL

http://wiki.archlinux.org/index.php/Xor … t-plugging

If you plan on configuring your devices in xorg.conf, you need to disable HAL or UDEV. I don't think all of the options that you set, are even being used...

Zl.

Offline

#3 2010-06-07 10:49:37

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: Enabling multitouch without HAL

Ive upgraded to testing repo (xorg 1.8, new udev, etc) and completly disabled hal. Ive removed gsynaptics. I dont have any udev rules about touchpad, so as far as i understand, it should only read its configuration from xorg.conf. But problem still exists, most of properties set in xorg.conf are also set in system after boot, but TapButton1,2,3, VertTwoFingerScrool, VertEdgeScroll are still default and i cannot set them from xorg.conf.

Offline

Board footer

Powered by FluxBB