wall_john 发表于 2005-5-14 17:03:51

synaptics笔记本触摸板驱动安装及其它

1、检测电脑中是否安装有synaptics触摸板
# dmesg | grep -i Synaptic
Synaptics Touchpad, model: 1
input: SynPS/2 Synaptics TouchPad on isa0060/serio2
我的本本提示如上。

2、下载安装synaptics X11驱动synaptics-0.14.1.tar.bz2
到google中搜一下到处都是
http://mirror.gentoo.gr.jp/distfiles/synaptics-0.14.1.tar.bz2
安装:
解压
./configure --prefix=/usr
make
make install

3、配置X11配置文件(xorg.conf或XF86Config)
a.
Section "Module"
...
        Load    "synaptics" #添加触摸板x11模块
EndSection
b.
#新建触摸板输入设备
Section "InputDevice"
   Identifier "Touchpad"
   Driver "synaptics"
   Option "SendCoreEvents"
   Option "Device" "/dev/input/event1" #关于这个的判断请看下面
   Option "Protocol" "event"
   # Next line required only if you want to disable the
   # mousepad while typing:
   Option "SHMConfig" "on"
   # The rest of the options are NOT required, just a default
   # similar to the Windows drivers with non of the extra features.
   Option "LeftEdge" "1900"
   Option "RightEdge" "5400"
   Option "TopEdge" "1400"
   Option "BottomEdge" "4500"
   Option "FingerLow" "25"
   Option "FingerHigh" "30"
   Option "MaxTapTime" "180"
   Option "MaxTapMove" "220"
   Option "VertScrollDelta" "100"
   Option "MinSpeed" "0.02"
   Option "MaxSpeed" "0.18"
   Option "AccelFactor" "0.0010"
EndSection
说明:Option "Device"的判断
ls /dev/input/event*
依此调用
cat /dev/input/eventX
此时移动触摸板看看cat是否有输出,如果有输出说明该/dev/input/eventX
即为你的触摸板输出设备,将该设备路径添加到上面Option "Device"中
我的为:Option "Device" "/dev/input/event1"
c.
Section "ServerLayout"
      Identifier      "Default Layout"
      Screen      0   "Screen0" 0 0
        InputDevice   "Touchpad" #将触摸板设备添加到此处
      InputDevice   "Mouse0" "CorePointer"
      InputDevice   "Keyboard0" "CoreKeyboard"
EndSection

3、下载并安装KDE控制中心touchpad控制模块
ksynaptics-0.2.0.tar.bz2
http://qsynaptics.sourceforge.net/ksynaptics-0.2.0.tar.gz
下载解压
./configure --prefix=/usr
make
make install
重启X后,登陆kde。控制中心 -> 外设 中就会看到一个Touch pad
该模块中提供了touchpad的开启关闭,灵敏度和其它一些功能。

wall_john 发表于 2005-5-14 17:24:19

我的X11配置文件(XF86Config)

# XFree86 4 configuration created by MagicInstaller.

Section "ServerLayout"
      Identifier      "Default Layout"
      Screen      0   "Screen0" 0 0
        InputDevice   "Touchpad"
      InputDevice   "Mouse0" "CorePointer"
      InputDevice   "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
      RgbPath         "/usr/X11R6/lib/X11/rgb"

    FontPath         "/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath         "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath         "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath         "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath         "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath         "/usr/X11R6/lib/X11/fonts/TTF"
    FontPath         "/usr/share/fonts/default/Type1"
    FontPath         "/usr/share/fonts/ttf/zh_CN"
    FontPath         "/usr/local/share/fonts"
    FontPath         "/usr/share/fonts"
    FontPath         "/usr/X11R6/lib/X11/fonts"
    FontPath         "/usr/share/fonts/default"
    FontPath         "/usr/share/fonts/override"
    FontPath         "/usr/share/fonts/pcf"
    FontPath         "/usr/share/fonts/ttf"
    FontPath         "/usr/X11R6/lib/X11/fonts/local"
    FontPath         "/usr/X11R6/lib/X11/fonts/OTF"
    FontPath         "/usr/X11R6/lib/X11/fonts/Speedo"
EndSection

Section "Module"
      Load    "dbe"
      Load    "extmod"
      Load    "fbdevhw"
      Load    "glx"
      Load    "record"
      Load    "freetype"
      Load    "type1"
        Load    "synaptics"
EndSection

Section "InputDevice"
      Identifier      "Keyboard0"
      Driver          "keyboard"
      Option          "XkbRules" "xfree86"
      Option          "XbkModel" "pc105"
      Option          "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier        "Mouse0"
        # Modified by mouseconfig
        Driver                "mouse"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "IMPS/2"
        Option                "Emulate3Buttons"        "no"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "InputDevice"
   Identifier "Touchpad"
   Driver "synaptics"
   Option "SendCoreEvents"
   Option "Device" "/dev/input/event1"
   Option "Protocol" "event"
   # Next line required only if you want to disable the
   # mousepad while typing:
   Option "SHMConfig" "on"
   # The rest of the options are NOT required, just a default
   # similar to the Windows drivers with non of the extra features.
   Option "LeftEdge" "1900"
   Option "RightEdge" "5400"
   Option "TopEdge" "1400"
   Option "BottomEdge" "4500"
   Option "FingerLow" "25"
   Option "FingerHigh" "30"
   Option "MaxTapTime" "180"
   Option "MaxTapMove" "220"
   Option "VertScrollDelta" "100"
   Option "MinSpeed" "0.02"
   Option "MaxSpeed" "0.18"
   Option "AccelFactor" "0.0010"
EndSection

#Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
#      Identifier      "DevInputMice"
#      Driver          "mouse"
#      Option          "Protocol" "PS/2"
#      Option          "Device" "/dev/input/mice"
#      Option          "ZAxisMapping" "4 5"
#      Option          "Emulate3Buttons" "no"
#EndSection

Section "Monitor"
      Identifier      "Monitor0"
      VendorName      "Monitor Vendor"
      ModelName       "LCD Panel 1024x768"
      HorizSync       31.5 - 48.5
      VertRefresh   40.0 - 70.0
EndSection

Section "Device"
      Identifier      "Videocard0"
      Driver          "radeon"
      VendorName      "Videocard vendor"
      BoardName       "ATI Radeon Mobility M9"
      VideoRam      131072
EndSection

Section "Device"
    Identifier"ATI Radeon Mobility 9600 M10"
        Driver      "radeon"
    VendorName"ati"
    BoardName   "Unknown"
    #VideoRam    131072
#Option "nodri"
    # Insert Clocks lines here if appropriate
EndSection

Section "Screen"
      Identifier      "Screen0"
      Device          "ATI Radeon Mobility 9600 M10"
      Monitor         "Monitor0"
      DefaultColorDepth 32
                DefaultDepth    24
        SubSection        "Display8"
                Depth        8
                Modes        "1024x768"
        EndSubSection
        SubSection        "Display15"
                Depth        15
                Modes        "1024x768"
        EndSubSection
        SubSection        "Display16"
                Depth        16
                Modes        "1024x768"
        EndSubSection
        SubSection        "Display24"
                Depth        24
                Modes        "1024x768"
        EndSubSection
EndSection
页: [1]
查看完整版本: synaptics笔记本触摸板驱动安装及其它