LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1325|回复: 10

gentoo 中synaptics

[复制链接]
发表于 2010-3-26 17:50:23 | 显示全部楼层 |阅读模式
现在就是单击、双击都没问题,但是无法实现滚动……
已经安装xf86-input-synaptics     
但synclient -l
提示没有发现设备……何解?:help
求助!谢谢
发表于 2010-3-27 07:39:58 | 显示全部楼层
配置问题。
  1. Section "InputDevice"
  2.         Identifier  "Touchpad"
  3.         Driver      "synaptics"
  4.         Option            "Device" "/dev/input/mouse0"
  5.         Option            "Protocol" "auto-dev"
  6.         Option            "LeftEdge" "1700"
  7.         Option            "RightEdge" "5300"
  8.         Option            "TopEdge" "1700"
  9.         Option            "BottomEdge" "4200"
  10.         Option            "FingerLow" "25"
  11.         Option            "FingerHigh" "30"
  12.         Option            "MaxTapTime" "0"
  13.         Option            "MaxTapMove" "220"
  14.         Option            "VertScrollDelta" "100"
  15.         Option            "MinSpeed" "0.06"
  16.         Option            "MaxSpeed" "0.22"
  17.         Option            "AccelFactor" "0.0010"
  18.         Option            "SHMConfig" "on"
  19.         Option            "VertEdgeScroll" "true"         #vertical scrolling when dragging along the right edge.
  20.         Option            "HorizEdgeScroll" "true"        #horizontal scrolling when dragging along the bottom edge.
  21.         Option            "CornerCoasting" "1"        #如果手指滑动到最边界是否屏幕继续滚动
  22.         Option            "CircularScrolling" "on"
  23.         Option            "CircScrollTrigger" "3"
  24. EndSection
复制代码
回复 支持 反对

使用道具 举报

发表于 2010-3-27 09:50:33 | 显示全部楼层
借路同问:

     如何实现单击面板的单击操作,而不是必须要按那个button,好像我怎么写都不起左右。

Section "InputDevice"
    Identifier  "Synapitcs"
    Driver      "synapitcs"
    Option      "rotocol" "auto-dev"
    Option      "Device" "/dev/input/mice"
#   Option      "SendCoreEvents"
    Option      "SHMConfig" "on"
    Option      "VertEdgeScroll" "true"
    Option      "HorizEdgeScroll" "true"
    Option      "CornerCoasting"    "0"
    Option      "CircularScrolling" "on"
    Option      "CircScrollTrigger" "3"
#   Option      "TapButton1" "1"
#   Option      "TapButton1" "2"
#   Option      "TapButton1" "3"
#   Option      "RBCornerButton" "3"
#   Option      "Emulate3Buttons" "yes"
EndSection
回复 支持 反对

使用道具 举报

发表于 2010-3-27 14:07:50 | 显示全部楼层
把我上面这一句
Option            "MaxTapTime" "0"

改掉后面的“0”就可以了。
回复 支持 反对

使用道具 举报

发表于 2010-3-27 19:59:40 | 显示全部楼层
改了,无效,完整的xorg.conf如下,
帮忙看看哪里还需要修改

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
#        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Synapitcs" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
#        FontPath     "/usr/share/fonts/TTF/"
#        FontPath     "/usr/share/fonts/OTF"
#        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "glx"
        Load  "dbe"
        Load  "record"
        Load  "extmod"
        Load  "dri"
        Load  "dri2"
        Load  "FGL.renamed.libglx"
        Load  "synaptics"
EndSection

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

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

Section "InputDevice"
        Identifier  "Synapitcs"
        Driver      "synapitcs"
        Option            "rotocol" "auto-dev"
        Option            "Device" "/dev/input/mice"
        Option      "SendCoreEvents"
        Option            "LeftEdge" "1700"
        Option            "RightEdge" "5300"
        Option            "TopEdge" "1700"
        Option            "BottomEdge" "4200"
        Option            "FingerLow" "25"
        Option            "FingerHigh" "30"
        Option            "MaxTapTime" "20"
        Option            "MaxTapMove" "220"
        Option            "VertScrollDelta" "100"
        Option            "MinSpeed" "0.06"
        Option            "MaxSpeed" "0.22"
        Option            "AccelFactor" "0.0010"
        Option            "SHMConfig" "on"
        Option            "VertEdgeScroll" "true"
        Option            "HorizEdgeScroll" "true"
        Option                "CornerCoasting"        "0"
        Option                "CircularScrolling" "on"
        Option                "CircScrollTrigger" "3"
#        Option                 "TapButton1" "1"
#        Option                 "TapButton1" "2"
#        Option                 "TapButton1" "3"
#        Option                 "RBCornerButton" "3"
#        Option                 "Emulate3Buttons" "yes"
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     "AccelMethod"                # [<str>]
        #Option     "offscreensize"              # [<str>]
        #Option     "SWcursor"                   # [<bool>]
        #Option     "ignoreconnector"            # [<str>]
        #Option     "forcereduced"               # [<bool>]
        #Option     "forcedpi"                   # <i>
        #Option     "useconfiguredmonitor"         # [<bool>]
        #Option     "HPD"                        # <str>
        #Option     "NoRandr"                    # [<bool>]
        #Option     "RROutputOrder"              # [<str>]
        #Option     "DRI"                        # [<bool>]
        #Option     "TVMode"                     # [<str>]
        #Option     "ScaleType"                  # [<str>]
        #Option     "UseAtomBIOS"                # [<bool>]
        #Option     "AtomBIOS"                   # [<str>]
        #Option     "UnverifiedFeatures"         # [<bool>]
        #Option     "Audio"                      # [<bool>]
        #Option     "AudioStreamSilence"         # [<str>]
        #Option     "HDMI"                       # [<str>]
        #Option     "COHERENT"                   # [<str>]
        #Option     "ForceLowPowerMode"          # [<bool>]
        #Option     "LowPowerModeEngineClock"         # <i>
        #Option "XAANoOffscreenPixmaps" "true"
        Identifier  "Card0"
#        Driver      "radeonhd"
        Driver      "fglrx"
        VendorName  "ATI Technologies Inc"
        BoardName   "RS780M/RS780MN [Radeon HD 3200 Graphics]"
        BusID       "CI:1:5:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
#        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
回复 支持 反对

使用道具 举报

发表于 2010-3-27 22:37:28 | 显示全部楼层
http://li2z.cn/2010/03/07/synaptics_tapbutton/
看看这个,和下边的评论。
回复 支持 反对

使用道具 举报

发表于 2010-3-28 07:33:55 | 显示全部楼层
我用的hal,需要改/etc/hal/fdi/policy/11-x11-synaptics.fdi这个文件,不知道你是不是也一样。
回复 支持 反对

使用道具 举报

发表于 2010-3-28 09:38:06 | 显示全部楼层
感谢各位,搞定。
我在xorg.conf中的设置不起作用,同样的设置在hal策略文件中可用。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-28 13:08:21 | 显示全部楼层
感谢各位支持!试过上述方法还是不行。不知到是不是内核没设好。我先调配下内核
回复 支持 反对

使用道具 举报

发表于 2010-3-30 07:15:03 | 显示全部楼层
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表