LinuxSir.cn,穿越时空的Linuxsir!

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

请大家贴下xorg.conf 中有关 Synaptics 的配置

[复制链接]
发表于 2009-3-16 18:42:59 | 显示全部楼层 |阅读模式
`xorgcfg` 命令并不能自动配置 Synaptics 触摸板,哪位 synaptics 配得好的兄弟贴一下。

主要是右边缘的滑动滚屏功能,其他还有什么好玩的大家也无妨聊聊。前几天有个这里有个帖子说到似乎开始支持多点触摸功能了。
发表于 2009-3-16 18:53:17 | 显示全部楼层
xorg.conf  我有边滑动滚屏也不行。。刚没注意看,不好意思
  1. Section "ServerLayout"
  2.         Identifier     "X.org Configured"
  3.         Screen      0  "Screen0" 0 0
  4.         InputDevice    "Mouse0" "CorePointer"
  5.         InputDevice    "Keyboard0" "CoreKeyboard"
  6.         InputDevice    "Touchpad"
  7. EndSection
  8. Section "Files"
  9.         RgbPath      "/usr/share/X11/rgb"
  10.         ModulePath   "/usr/lib/xorg/modules"
  11.         FontPath     "/usr/share/fonts/misc/"
  12.         FontPath     "/usr/share/fonts/TTF/"
  13.         FontPath     "/usr/share/fonts/OTF"
  14.         FontPath     "/usr/share/fonts/Type1/"
  15.         FontPath     "/usr/share/fonts/100dpi/"
  16.         FontPath     "/usr/share/fonts/75dpi/"
  17. EndSection
  18. Section "Module"
  19.         Load  "glx"
  20.         Load  "extmod"
  21.         Load  "xtrap"
  22.         Load  "record"
  23.         Load  "GLcore"
  24.         Load  "dbe"
  25.         Load  "dri"
  26.         Load  "freetype"
  27.         Load  "type1"
  28. EndSection
  29. Section "InputDevice"
  30.         Identifier  "Keyboard0"
  31.         Driver      "kbd"
  32.         Option            "XkbModel" "pc101"
  33.         Option            "XkbLayout" "us"
  34. EndSection
  35. Section "InputDevice"
  36.         Identifier  "Mouse0"
  37.         Driver      "mouse"
  38.         Option            "Protocol" "IMPS/2"
  39.         Option            "Device" "/dev/input/mice"
  40.         Option            "ZAxisMapping" "4 5"
  41. EndSection
  42. Section "InputDevice"
  43.     Identifier "Touchpad"
  44.     Driver "synaptics"
  45.     Option "Device" "/dev/input/mouse1"
  46.     Option "Protocol" "auto-dev"
  47.     Option "Emulate3Buttons" "true"
  48.     Option "SendCoreEvents"
  49.     Option "LeftEdge" "80"
  50.     Option "RightEdge" "940"
  51.     Option "TopEdge" "130"
  52.     Option "BottomEdge" "700"
  53.     Option "MinSpeed" "000.8"
  54.     Option "MaxSpeed" "001"
  55.     Option "AccelFactor" "0.010"
  56.     Option "SHMConfig" "true"
  57.     Option "CircScrollDelta" "0.05"
  58.     Option "VertEdgeScroll" "true"
  59.     Option "VertScrollDelta" "100"
  60.     Option "RTCornerButton" "3"
  61. EndSection
  62. Section "Monitor"
  63.         #DisplaySize          260   160        # mm
  64.         Identifier   "Monitor0"
  65.         VendorName   "LCD"
  66.         ModelName    "58eb"
  67.         Option             "DPMS"
  68.         HorizSync     49.68-83.46
  69.         VertRefresh   60.0-60.0
  70.         Modeline     "1280x800_60.0" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
  71. EndSection
  72. Section "Device"
  73.         ### Available Driver options are:-
  74.         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  75.         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
  76.         ### [arg]: arg optional
  77.         #Option     "NoAccel"                    # [<bool>]
  78.         #Option     "SWcursor"                   # [<bool>]
  79.         #Option     "ColorKey"                   # <i>
  80.         #Option     "CacheLines"                 # <i>
  81.         #Option     "Dac6Bit"                    # [<bool>]
  82.         #Option     "DRI"                        # [<bool>]
  83.         #Option     "NoDDC"                      # [<bool>]
  84.         #Option     "ShowCache"                  # [<bool>]
  85.         #Option     "XvMCSurfaces"               # <i>
  86.         #Option     "PageFlip"                   # [<bool>]
  87.         Identifier  "Card0"
  88.         Driver      "i810"
  89.         VendorName  "Intel Corporation"
  90.         BoardName   "Mobile Integrated Graphics Controller"
  91.         BusID       "PCI:0:2:0"
  92.         Option            "XAANoOffscreenPixmaps" "true"
  93.         Option            "DRI" "true"
  94. EndSection
  95. Section "Screen"
  96.         Identifier "Screen0"
  97.         Device     "Card0"
  98.         Monitor    "Monitor0"
  99.         DefaultDepth 24
  100.         Option           "AddARGBGLXVisuals" "true"
  101.         SubSection "Display"
  102.                 Viewport   0 0
  103.                 Depth     24
  104.                 Modes "1280x800" "1024x768"
  105.         EndSubSection
  106. EndSection
  107. Section "DRI"
  108.         Mode 0666
  109. EndSection
  110. section "Extensions"
  111.         Option "Composite" "Enable"
  112. Endsection
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-3-16 19:24:43 | 显示全部楼层
Section "InputDevice"
    Identifier  "Touchpad"
    Driver      "synaptics"
    Option      "SendCoreEvents"
    Option      "rotocol" "auto-dev"
    Option      "SHMConfig" "on"
EndSection
回复 支持 反对

使用道具 举报

发表于 2009-3-16 20:09:09 | 显示全部楼层
xorg.conf中不需要放,我所有输入设备都由hal处理了,其中synaptics的是这样的,
11-x11-synaptics.fdi:
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <deviceinfo version="0.2">
  3.   <device>
  4.     <match key="info.capabilities" contains="input.touchpad">
  5.         <merge key="input.x11_driver" type="string">synaptics</merge>
  6.             <!-- Switch on shared memory, enables the driver to be configured at runtime -->
  7.         <merge key="input.x11_options.SHMConfig" type="string">true</merge>
  8.         <!--merge key="input.x11_options.ZAxisMapping" type="strlist">4:5</merge>
  9.         <merge key="input.x11_options.UpDownScrolling" type="string">on</merge-->
  10.         <merge key="input.x11_options.LeftEdge" type="string">1700</merge>
  11.         <merge key="input.x11_options.RightEdge" type="string">5300</merge>
  12.         <merge key="input.x11_options.TopEdge" type="string">1700</merge>
  13.         <merge key="input.x11_options.ButtomEdge" type="string">4200</merge>
  14.         <merge key="input.x11_options.Finger" type="strlist">25:30</merge>
  15.         <merge key="input.x11_options.MaxTapTime" type="string">180</merge>
  16.         <merge key="input.x11_options.MaxTapMove" type="string">220</merge>
  17.         <merge key="input.x11_options.TapButton1" type="string">1</merge>
  18.         <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
  19.         <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
  20.         <merge key="input.x11_options.VertScrollDelta" type="string">100</merge>
  21.         <merge key="input.x11_options.HorizScrollDelta" type="string">75</merge>
  22.         <merge key="input.x11_options.MinSpeed" type="string">1</merge>
  23.         <merge key="input.x11_options.MaxSpeed" type="string">1</merge>
  24.         <merge key="input.x11_options.AccelFactor" type="string">0.0015</merge>
  25.         <merge key="input.x11_options.CircularScrolling" type="string">true</merge>
  26.         </match>
  27.   </device>
  28. </deviceinfo>
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-3-17 11:32:03 | 显示全部楼层
最近好多人升级xorg后鼠标键盘不好用了.
有机会的话.大家看看ubuntu.现在都在学习这个发现版本.
所以出现问题是驱动和服务没有启动所致.现在系统都把这些硬件识别都放给了hald.这样启动的时候都会加载模块.启动x也一样会识别这些了.
回复 支持 反对

使用道具 举报

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

本版积分规则

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