LinuxSir.cn,穿越时空的Linuxsir!

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

在笔记本上装MDK10,触摸板鼠标的点击不起作用

[复制链接]
发表于 2004-5-18 01:56:37 | 显示全部楼层 |阅读模式
用触摸板可以移动鼠标,但点击没反应,从安装开始就是这样。
只能用触摸板上的左右键,不习惯,也不方便。
MDK9是可以的,这是不是10的BUG?
发表于 2004-5-18 02:28:13 | 显示全部楼层
看看和你装9时的XF86Config-4中的鼠标设置有什么不同
 楼主| 发表于 2004-5-18 05:49:46 | 显示全部楼层
啊,9已经没有了
有没有碰到过这种情况的兄弟?
发表于 2004-5-18 08:25:23 | 显示全部楼层
我的情况是根本检测不到触摸板!9.2就是好的。贴出9.2的XF86Config-4:

  1. # File generated by XFdrake.

  2. # **********************************************************************
  3. # Refer to the XF86Config man page for details about the format of
  4. # this file.
  5. # **********************************************************************

  6. Section "Files"
  7.     # Multiple FontPath entries are allowed (they are concatenated together)
  8.     # By default, Mandrake 6.0 and later now use a font server independent of
  9.     # the X server to render fonts.
  10.     FontPath "unix/:-1"
  11. EndSection

  12. Section "ServerFlags"
  13.     AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
  14.     #DontZap # disable <Crtl><Alt><BS> (server abort)
  15.     #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
  16. EndSection

  17. Section "Module"
  18.     Load "dbe" # Double-Buffering Extension
  19.     Load "v4l" # Video for Linux
  20.     Load "extmod"
  21.     Load "type1"
  22.     Load "freetype"
  23.     Load "glx" # 3D layer
  24. EndSection

  25. Section "InputDevice"
  26.     Identifier "Keyboard1"
  27.     Driver "Keyboard"
  28.     Option "XkbModel" "pc105"
  29.     Option "XkbLayout" "en_US"
  30.     Option "XkbOptions" ""
  31. EndSection

  32. Section "InputDevice"
  33.     Identifier "Mouse1"
  34.     Driver "mouse"
  35.     Option "Protocol" "IMPS/2"
  36.     Option "Device" "/dev/usbmouse"
  37.     Option "ZAxisMapping" "4 5"
  38. EndSection

  39. Section "InputDevice"
  40.     Identifier "Mouse2"
  41.     Driver "mouse"
  42.     Option "Protocol" "PS/2"
  43.     Option "Device" "/dev/psaux"
  44.     Option "Emulate3Buttons"
  45.     Option "Emulate3Timeout" "50"
  46. EndSection

  47. Section "Monitor"
  48.     Identifier "monitor1"
  49.     VendorName "Generic"
  50.     ModelName "Flat Panel 1024x768"
  51.     HorizSync 31.5-48.5
  52.     VertRefresh 40-70
  53.    
  54.     # Sony Vaio C1(X,XS,VE,VN)?
  55.     # 1024x480 @ 85.6 Hz, 48 kHz hsync
  56.     ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
  57.    
  58.     # TV fullscreen mode or DVD fullscreen output.
  59.     # 768x576 @ 79 Hz, 50 kHz hsync
  60.     ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
  61.    
  62.     # 768x576 @ 100 Hz, 61.6 kHz hsync
  63.     ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
  64. EndSection

  65. Section "Device"
  66.     Identifier "device1"
  67.     Driver "sis"
  68.     Option "DPMS"
  69. EndSection

  70. Section "Screen"
  71.     Identifier "screen1"
  72.     Device "device1"
  73.     Monitor "monitor1"
  74.     DefaultColorDepth 24
  75.    
  76.     Subsection "Display"
  77.         Depth 8
  78.         Virtual 1024 768
  79.     EndSubsection
  80.    
  81.     Subsection "Display"
  82.         Depth 15
  83.         Virtual 1024 768
  84.     EndSubsection
  85.    
  86.     Subsection "Display"
  87.         Depth 16
  88.         Virtual 1024 768
  89.     EndSubsection
  90.    
  91.     Subsection "Display"
  92.         Depth 24
  93.         Virtual 1024 768
  94.     EndSubsection
  95. EndSection

  96. Section "ServerLayout"
  97.     Identifier "layout1"
  98.     Screen "screen1"
  99.     InputDevice "Keyboard1" "CoreKeyboard"
  100.     InputDevice "Mouse1" "CorePointer"
  101.     InputDevice "Mouse2" "SendCoreEvents"
  102. EndSection
复制代码
发表于 2004-5-21 22:39:43 | 显示全部楼层

在MDK10上编译触摸板驱动成功

一、下载驱动源码: http://w1.894.telia.com/~u89404340/touchpad/index.html#Download

编译(需要libxfree86-devel),将"synaptics_drv.o"复制到"/usr/X11R6/lib/modules/input/"

二、修改/etc/X11/XF86Config:

Section "Module"
    ......
    Load "synaptics" # touchpad
EndSection

Section "InputDevice"
  Identifier    "Mouse2"
  Driver        "synaptics"
  Option        "Device"        "/dev/psaux"
  Option        "rotocol"      "auto-dev"
  Option        "LeftEdge"      "1700"
  Option        "RightEdge"     "5300"
  Option        "TopEdge"       "1700"
  Option        "BottomEdge"    "4200"
  Option        "FingerLow"     "25"
  Option        "FingerHigh"    "30"
  Option        "MaxTapTime"    "180"
  Option        "MaxTapMove"    "220"
  Option        "VertScrollDelta" "100"
  Option        "MinSpeed"      "0.06"
  Option        "MaxSpeed"      "0.12"
  Option        "AccelFactor" "0.0010"
  Option        "SHMConfig"     "on"
#  Option       "Repeater"      "/dev/ps2mouse"
EndSection

Section "ServerLayout"
    ......
    InputDevice "Mouse1" "AlwaysCore"
    InputDevice "Mouse2" "CorePointer"
    ......
EndSection

三、修改/etc/modprobe.preload,增加一行"evdev"。如果在重启系统前想要测试要执行modprobe evdev,否则会造成X启动失败。


驱动里有一些在windows里也没见过的新特性,比如:敲右上角、右下角或用两个手指、三个手指分别代替中键和右键。


在lenovo E200上测试成功
参考了以下网址: http://kerneltrap.org/node/view/1582
发表于 2004-5-21 22:46:31 | 显示全部楼层
是不是2.6内核都是这样, 我的笔记本运行FC2也是这样. 为什么新版本还会失去一些东西,比如我的台式机,在用mdk9.2时声卡好使,运行mdk10声卡就不出声.
 楼主| 发表于 2004-5-22 00:56:04 | 显示全部楼层
9494,应该是新内核的问题,我试了FC2也是这样。

对我这样的菜鸟而言,自己编译驱动的工作难度和危险性太高了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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