- 论坛徽章:
- 0
|
普通PS/2光电鼠标。刚开始滚轮是时灵时不灵,完全没找到触发条件;现在完全失效了。\r\n\r\n/var/log/Xorg.0.log中相关内容如下:\r\n\r\n $ grep -i mouse /var/log/Xorg.0.log\r\n(**) |-->Input Device \"Mouse0\"\r\n(II) LoadModule: \"mouse\"\r\n(II) Loading /usr/X11/lib/modules/input//mouse_drv.so\r\n(II) Module mouse: vendor=\"X.Org Foundation\"\r\n(==) NVIDIA(0): Silken mouse disabled\r\n(II) Mouse0: Setting Device option to \"/dev/mouse\"\r\n(**) Mouse0: Protocol: VUID\r\n(**) Mouse0: Core Pointer\r\n(**) Option \"Device\" \"/dev/mouse\"\r\n(II) Mouse0: Setting Buttons option to \"3\"\r\n(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50\r\n(**) Mouse0: ZAxisMapping: buttons 4 and 5\r\n(**) Mouse0: Buttons: 9\r\n(II) XINPUT: Adding extended input device \"Mouse0\" (type: MOUSE) | \r\n\r\n/etc/X11/xorg.conf配置如下:\r\n\r\n$ cat /etc/X11/xorg.conf\r\nSection \"ServerLayout\"\r\n Identifier \"X.org Configured\"\r\n Screen 0 \"Screen0\" 0 0\r\n InputDevice \"Mouse0\" \"CorePointer\"\r\n InputDevice \"Keyboard0\" \"CoreKeyboard\"\r\nEndSection\r\n\r\nSection \"Files\"\r\n RgbPath \"/usr/X11/share/X11/rgb\"\r\n ModulePath \"/usr/X11/lib/modules\"\r\n FontPath \"/usr/X11/lib/X11/fonts/TrueType/\"\r\n FontPath \"/usr/X11/lib/X11/fonts/Type1/\"\r\n FontPath \"/usr/X11/lib/X11/fonts/Type1/sun/\"\r\n FontPath \"/usr/X11/lib/X11/fonts/F3bitmaps/\"\r\n FontPath \"/usr/X11/lib/X11/fonts/misc/\"\r\n FontPath \"/usr/X11/lib/X11/fonts/100dpi/\"\r\n FontPath \"/usr/X11/lib/X11/fonts/75dpi/\"\r\nEndSection\r\n\r\nSection \"Module\"\r\n Load \"IA\"\r\n Load \"Xst\"\r\n Load \"dbe\"\r\n Load \"extmod\"\r\n Load \"record\"\r\n Load \"xtrap\"\r\n Load \"GLcore\"\r\n Load \"glx\"\r\n Load \"bitstream\"\r\n Load \"type1\"\r\nEndSection\r\n\r\nSection \"InputDevice\"\r\n Identifier \"Keyboard0\"\r\n Driver \"kbd\"\r\nEndSection\r\n\r\nSection \"InputDevice\"\r\n Identifier \"Mouse0\"\r\n Driver \"mouse\"\r\n Option \"Protocol\" \"auto\"\r\n Option \"Device\" \"/dev/mouse\"\r\n Option \"ZAxisMapping\" \"4 5\"\r\nEndSection\r\n\r\nSection \"Monitor\"\r\n Identifier \"Monitor0\"\r\n VendorName \"Monitor Vendor\"\r\n ModelName \"Monitor Model\"\r\nEndSection\r\n\r\nSection \"Device\"\r\n Identifier \"Card0\"\r\n Driver \"nvidia\"\r\n VendorName \"nVidia Corporation\"\r\n BoardName \"NV25 [GeForce4 Ti 4200]\"\r\n BusID \"PCI:1:0:0\"\r\n Option \"NoLogo\" \"true\"\r\nEndSection\r\n\r\nSection \"Screen\"\r\n Identifier \"Screen0\"\r\n Device \"Card0\"\r\n Monitor \"Monitor0\"\r\n SubSection \"Display\"\r\n Viewport 0 0\r\n Depth 24\r\n EndSubSection\r\nEndSection | \r\n\r\n备注:我把Protocol改成PS/2或者IMPS/2只会让鼠标乱跳,从Xorg.0.log中看来是把协议侦测为VUID的;鼠标滚轮作为中健使用是正常的,也就是说,在X11中粘贴选中内容的功能,是正常的。当然,鼠标本身肯定没坏,我在FreeBSD下用得很畅快。并且 cat /dev/mouse 后滚动滚轮,屏幕是有反应的。\n\n[ 本帖最后由 Jockey_Kyd 于 2008-1-29 23:03 编辑 ] |
|