You are not logged in.

#1 2009-10-01 09:06:40

drsjlazar
Member
From: Kasama
Registered: 2009-10-01
Posts: 133
Website

[SOLVED] Synaptics touchpad: SHMConfig turned on but cannot configure

Hi all!

My first post. Yay!

I've always thought Arch was was an interesting distro since a friend explained the pros of it, but I have been too comfortable in the Debian/Ubuntu/Mint world to actually give it a serious go. Until now. I want to try out KDE4.3 and Kubuntu seemed to always keep breaking on me. So here I am.

Now for my problem. I am running the alpha 3 version of the Chakra Project which I am supposing is simply Arch with KDEmod. My synaptics touchpad seems to be working properly being configured in HAL and not xorg.conf. I can turn it on or off, enable or disable edge scrolling, change acceleration, etc using the synclient tool. However, the hardware buttons on my laptop are kind of broken so I really need to enable corner tapping for right click and middle click... and that is what I cannot do. Any ideas?

Here is my 11-x11-synaptics.fdi file

<?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>
    </match> 
    <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="string">1500</merge>
        <merge key="input.x11_options.RightEdge" type="string">5800</merge>
        <merge key="input.x11_options.TopEdge" type="string">1500</merge>
        <merge key="input.x11_options.BottomEdge" type="string">4500</merge>

        <merge key="input.x11_options.ClickFinger1" type="string">1</merge>
        <merge key="input.x11_options.ClickFinger2" type="string">3</merge>
        <merge key="input.x11_options.ClickFinger3" type="string">2</merge>
        <merge key="input.x11_options.HorizEdgeScroll" type="string">0</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">1</merge>
        <merge key="input.x11_options.EmulateMidButtonTime" type="string">75</merge>
        <merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">25</merge>
        <merge key="input.x11_options.EmulateTwoFingerMinW" type="string">6</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.HorizScrollDelta" type="string">100</merge>
        <merge key="input.x11_options.VertScrollDelta" type="string">100</merge>
        <merge key="input.x11_options.PressureMotionMinZ" type="string">10</merge>
        <merge key="input.x11_options.FingerLow" type="string">25</merge>
        <merge key="input.x11_options.FingerHigh" type="string">30</merge>
        <merge key="input.x11_options.FingerPress" type="string">256</merge>
        <merge key="input.x11_options.PalmDetect" type="string">0</merge>
        <merge key="input.x11_options.PalmMinWidth" type="string">10</merge>
        <merge key="input.x11_options.PalmMinZ" type="string">200</merge>
        <merge key="input.x11_options.MinSpeed" type="string">0.40</merge>
        <merge key="input.x11_options.MaxSpeed" type="string">0.75</merge>
        <merge key="input.x11_options.AccelFactor" type="string">0.003</merge>
        <merge key="input.x11_options.MaxTapMove" type="string">220</merge>
        <merge key="input.x11_options.MaxTapTime" type="string">180</merge>
        <merge key="input.x11_options.MaxDoubleTapTime" type="string">200</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.RTCornerButton" type="string">2</merge>
        <merge key="input.x11_options.RBCornerButton" type="string">3</merge>
        <merge key="input.x11_options.LTCornerButton" type="string">0</merge>
       <merge key="input.x11_options.LBCornerButton" type="string">0</merge>
       <merge key="input.x11_options.CornerCoasting" type="string">true</merge>
       <merge key="input.x11_options.CoastingSpeed" type="string">0.50</merge>

    </match>
  </device>
</deviceinfo>

Here is my xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
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  "dbe"
    Load  "dri"
    Load  "dri2"
    Load  "extmod"
    Load  "glx"
    Load  "record"
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     "Accel"                  # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "TurboQueue"             # [<bool>]
        #Option     "FastVram"               # [<bool>]
        #Option     "HostBus"                # [<bool>]
        #Option     "RenderAcceleration"     # [<bool>]
        #Option     "ForceCRT1Type"          # <str>
        #Option     "ForceCRT2Type"          # <str>
        #Option     "ShadowFB"               # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "AGPSize"                # <i>
        #Option     "GARTSize"               # <i>
        #Option     "Vesa"                   # [<bool>]
        #Option     "MaxXFBMem"              # <i>
        #Option     "EnableSiSCtrl"          # [<bool>]
        #Option     "SWCursor"               # [<bool>]
        #Option     "HWCursor"               # [<bool>]
        #Option     "UseColorHWCursor"       # [<bool>]
        #Option     "Rotate"                 # <str>
        #Option     "Reflect"                # <str>
        #Option     "Xvideo"                 # [<bool>]
        #Option     "InternalModes"          # [<bool>]
        #Option     "OverruleFrequencyRanges"     # [<bool>]
        #Option     "RestoreBySetMode"       # [<bool>]
        #Option     "ForceCRT1"              # [<bool>]
        #Option     "XvOnCRT2"               # [<bool>]
        #Option     "PanelDelayCompensation"     # <i>
        #Option     "PDC"                    # <i>
        #Option     "PanelDelayCompensation2"     # <i>
        #Option     "PDC2"                   # <i>
        #Option     "PanelDelayCompensation1"     # <i>
        #Option     "PDC1"                   # <i>
        #Option     "EMI"                    # <i>
        #Option     "LVDSHL"                 # <i>
        #Option     "ForcePanelRGB"          # <i>
        #Option     "SpecialTiming"          # <str>
        #Option     "TVStandard"             # <str>
        #Option     "UseROMData"             # [<bool>]
        #Option     "UseOEMData"             # [<bool>]
        #Option     "YV12"                   # [<bool>]
        #Option     "CHTVType"               # [<bool>]
        #Option     "CHTVOverscan"           # [<bool>]
        #Option     "CHTVSuperOverscan"      # [<bool>]
        #Option     "CHTVLumaBandwidthCVBS"     # <i>
        #Option     "CHTVLumaBandwidthSVIDEO"     # <i>
        #Option     "CHTVLumaFlickerFilter"     # <i>
        #Option     "CHTVChromaBandwidth"     # <i>
        #Option     "CHTVChromaFlickerFilter"     # <i>
        #Option     "CHTVCVBSColor"          # [<bool>]
        #Option     "CHTVTextEnhance"        # <i>
        #Option     "CHTVContrast"           # <i>
        #Option     "SISTVEdgeEnhance"       # <i>
        #Option     "SISTVAntiFlicker"       # <str>
        #Option     "SISTVSaturation"        # <i>
        #Option     "SISTVCFilter"           # [<bool>]
        #Option     "SISTVYFilter"           # <i>
        #Option     "SISTVColorCalibFine"     # <i>
        #Option     "SISTVColorCalibCoarse"     # <i>
        #Option     "SISTVXScale"            # <i>
        #Option     "SISTVYScale"            # <i>
        #Option     "TVXPosOffset"           # <i>
        #Option     "TVYPosOffset"           # <i>
        #Option     "SIS6326TVAntiFlicker"     # <str>
        #Option     "SIS6326TVEnableYFilter"     # [<bool>]
        #Option     "SIS6326TVYFilterStrong"     # [<bool>]
        #Option     "SIS6326TVForcePlug"     # <str>
        #Option     "SIS6326FSCAdjust"       # <i>
        #Option     "YPbPrAspectRatio"       # <str>
        #Option     "TVBlueWorkAround"       # [<bool>]
        #Option     "ColorHWCursorBlending"     # [<bool>]
        #Option     "ColorHWCursorBlendThreshold"     # <i>
        #Option     "CRT2Detection"          # [<bool>]
        #Option     "ForceCRT2ReDetection"     # [<bool>]
        #Option     "SenseYPbPr"             # [<bool>]
        #Option     "CRT1Gamma"              # [<bool>]
        #Option     "CRT2Gamma"              # [<str>]
        #Option     "GammaBrightness"        # <str>
        #Option     "GammaBrightnessCRT2"     # <str>
        #Option     "CRT2GammaBrightness"     # <str>
        #Option     "Brightness"             # <str>
        #Option     "NewGammaBrightness"     # <str>
        #Option     "CRT2Brightness"         # <str>
        #Option     "CRT2NewGammaBrightness"     # <str>
        #Option     "Contrast"               # <str>
        #Option     "NewGammaContrast"       # <str>
        #Option     "CRT2Contrast"           # <str>
        #Option     "CRT2NewGammaContrast"     # <str>
        #Option     "CRT1Saturation"         # <i>
        #Option     "XvGamma"                # [<str>]
        #Option     "XvDefaultContrast"      # <i>
        #Option     "XvDefaultBrightness"     # <i>
        #Option     "XvDefaultHue"           # <i>
        #Option     "XvDefaultSaturation"     # <i>
        #Option     "XvDefaultDisableGfx"     # [<bool>]
        #Option     "XvDefaultDisableGfxLR"     # [<bool>]
        #Option     "XvChromaMin"            # <i>
        #Option     "XvChromaMax"            # <i>
        #Option     "XvUseChromaKey"         # [<bool>]
        #Option     "XvInsideChromaKey"      # [<bool>]
        #Option     "XvYUVChromaKey"         # [<bool>]
        #Option     "XvDisableColorKey"      # [<bool>]
        #Option     "XvUseMemcpy"            # [<bool>]
        #Option     "BenchmarkMemcpy"        # [<bool>]
        #Option     "UseSSE"                 # [<bool>]
        #Option     "XvDefaultAdaptor"       # <str>
        #Option     "ScaleLCD"               # [<bool>]
        #Option     "CenterLCD"              # [<bool>]
        #Option     "EnableHotkey"           # [<bool>]
        #Option     "ForceCRT1VGAAspect"     # <str>
        #Option     "ForceCRT2VGAAspect"     # <str>
        #Option     "MergedFB"               # [<str>]
        #Option     "TwinView"               # [<str>]
        #Option     "MergedFBAuto"           # [<bool>]
        #Option     "CRT2HSync"              # <str>
        #Option     "SecondMonitorHorizSync"     # <str>
        #Option     "CRT2VRefresh"           # <str>
        #Option     "SecondMonitorVertRefresh"     # <str>
        #Option     "CRT2Position"           # <str>
        #Option     "TwinViewOrientation"     # <str>
        #Option     "MetaModes"              # <str>
        #Option     "MergedDPI"              # <str>
        #Option     "MergedXinerama"         # [<bool>]
        #Option     "TwinviewXineramaInfo"     # [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0"     # [<bool>]
        #Option     "MergedNonRectangular"     # [<bool>]
        #Option     "MergedMouseRestriction"     # [<bool>]
    Identifier  "Card0"
    Driver      "sis"
    VendorName  "Silicon Integrated Systems [SiS]"
    BoardName   "661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter"
    BusID       "PCI:1:0:0"
    Option      "DRI"    "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

Section "Extensions"
    Option "Composite" "Enable"
    Option "RENDER" "Enable"
EndSection

Section "DRI"
        Group  "video"
        Mode   0666
EndSection

The output of synclient -h

$ 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.

synclient -l

$ synclient -l
Parameter settings:                
    LeftEdge                = 1500 
    RightEdge               = 5800 
    TopEdge                 = 1500 
    BottomEdge              = 4500 
    FingerLow               = 25   
    FingerHigh              = 30   
    FingerPress             = 256  
    MaxTapTime              = 180  
    MaxTapMove              = 220  
    MaxDoubleTapTime        = 200  
    SingleTapTimeout        = 180  
    ClickTime               = 100  
    FastTaps                = 0    
    EmulateMidButtonTime    = 75   
    EmulateTwoFingerMinZ    = 25   
    EmulateTwoFingerMinW    = 6    
    VertScrollDelta         = 100  
    HorizScrollDelta        = 100  
    VertEdgeScroll          = 1    
    HorizEdgeScroll         = 0    
    CornerCoasting          = 1    
    VertTwoFingerScroll     = 1    
    HorizTwoFingerScroll    = 1    
    MinSpeed                = 0.4  
    MaxSpeed                = 0.75 
    AccelFactor             = 0.069
    TrackstickSpeed         = 40   
    EdgeMotionMinZ          = 29   
    EdgeMotionMaxZ          = 159  
    EdgeMotionMinSpeed      = 1    
    EdgeMotionMaxSpeed      = 401  
    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          = 3
    TapButton1              = 1
    TapButton2              = 3
    TapButton3              = 2
    ClickFinger1            = 1
    ClickFinger2            = 3
    ClickFinger3            = 2
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 200
    CoastingSpeed           = 0.5
    PressureMotionMinZ      = 10
    PressureMotionMaxZ      = 159
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 1

The values here change when I modify them using synclient... e.g. I just changed the LBCornerButton value to 3... But tapping in any of the corners just gives me a left click (1) when monitored using synclient -m 10. What is the problem here?

Thanks in advance!

[EDIT] I just realised that 2 finger tapping is actually working as left click while 3 finger tapping works as middle click... which kind of eases the problem, but I would still like to get the corner tapping working as that is what I am used to.

Last edited by drsjlazar (2009-10-02 14:38:07)

Offline

#2 2009-10-02 14:37:29

drsjlazar
Member
From: Kasama
Registered: 2009-10-01
Posts: 133
Website

Re: [SOLVED] Synaptics touchpad: SHMConfig turned on but cannot configure

Ok I just had a 'duuuh' moment. I studied my configs in closer detail and I found the problem. I didn't have the correct figures for defining the edges of my touchpad. Editing the location of the left edge fixed it. I changed this line:

RightEdge = 5350

And thats all! Scrolling and corner tapping works just like i want it to. In case someone else has this problem, you can check the limits of your touchpad using

synclient -m 10

Offline

Board footer

Powered by FluxBB