免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3146 | 回复: 0
打印 上一主题 下一主题

Solaris10u4中Xorg无法用鼠标滚轮 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-29 23:00 |只看该作者 |倒序浏览
普通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 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP