免费注册 查看新帖 |

Chinaunix

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

请教:比较另类的usb鼠标滚轮的配置。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-05-03 22:48 |只看该作者 |倒序浏览
想用滚轮在debian中,我的情况比较特别,我的电脑是ECS desknote,只有usb口,而没有ps/2口,因此我用的是罗技usb wheel mouse, 如果XF86Config-4文件是这样:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "rotocol" "ImPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection

则/var/log/XFree86.0.log文件是最后一部分有如下错误:

(**) Option "rotocol" "ImPS/2"
(**) Configured Mouse: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
        No such device.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device "Configured Mouse"
(II) UnloadModule: "mouse"
(WW) No core pointer registered
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
No core pointer

Fatal server error:
failed to initialize core devices


它说打不开/dev/input/mice

只有把它改成:
Option "rotocol" "S/2"
Option "Device" "/dev/psaux"
才行。(变成没滚轮的ps/2鼠标)

如果是:
Option "rotocol" "IMPS/2"
Option "Device" "/dev/psaux"
则xwindow下光标乱串。

真奇怪啊!

论坛徽章:
0
2 [报告]
发表于 2004-05-03 22:54 |只看该作者

请教:比较另类的usb鼠标滚轮的配置。

  1. Section "InputDevice"
  2.         Identifier  "Mouse0"
  3.         Driver      "mouse"
  4.         Option      "Protocol" "IMPS/2"
  5.         Option      "Device" "/dev/psaux"
  6.         Option      "ZAxisMapping" "4 5"
  7.         Option      "Emulate3Buttons" "no"
  8. EndSection
复制代码

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
3 [报告]
发表于 2004-05-04 11:21 |只看该作者

请教:比较另类的usb鼠标滚轮的配置。

哦,看到了。
purge的环境:Redflag Desktop linux v4
purge有两个鼠标,都是无名的鼠标。
一个滚轮ps/2接口,一个滚轮usb接口。
如下:

Section "InputDevice"
        Identifier        "Mouse1"
        Driver        "mouse"
        Option        "Device"        "/dev/input/mice"
        Option        "rotocol"        "IMPS/2"
        Option        "Emulate3Buttons"        "yes"
        Option        "ZAxisMapping"        "4 5"
EndSection

Section "InputDevice"
        Identifier        "Mouse2"
        Driver        "mouse"
        Option        "Device"        "/dev/psaux"
        Option        "rotocol"        "IMPS/2"
        Option        "Emulate3Buttons"        "yes"
        Option        "ZAxisMapping"        "4 5"
EndSection

两个鼠标的滚轮都可以用,而且都可以同时使用。   

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
4 [报告]
发表于 2004-05-04 11:26 |只看该作者

请教:比较另类的usb鼠标滚轮的配置。

这是purge有关鼠标的一部分:
/var/log/XFree86.0.log


(**) Option "rotocol" "IMPS/2"
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "yes"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(**) Option "rotocol" "IMPS/2"
(**) Mouse2: Protocol: "IMPS/2"
(**) Option "SendCoreEvents"
(**) Mouse2: always reports core events
(**) Option "Device" "/dev/psaux"
(**) Option "Emulate3Buttons" "yes"
(**) Mouse2: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse2: ZAxisMapping: buttons 4 and 5
(**) Mouse2: Buttons: 5
(II) XINPUT: Adding extended input device "Mouse2" (type: MOUSE)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: ps2EnableDataReporting: succeeded
(II) Mouse2: ps2EnableDataReporting: succeeded








难道是大小写(“IMPS/2”“ImPS/2”)的问题?或者是模拟三键的问题?

论坛徽章:
0
5 [报告]
发表于 2004-05-04 11:28 |只看该作者

请教:比较另类的usb鼠标滚轮的配置。

FT,是不是跟kernel有关啊?我的kernel version是2.2.20,可能太低了,需要升级吧?

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
6 [报告]
发表于 2004-05-04 11:30 |只看该作者

请教:比较另类的usb鼠标滚轮的配置。

purge的内核:
2.4.20-8

论坛徽章:
0
7 [报告]
发表于 2004-05-04 19:37 |只看该作者

请教:比较另类的usb鼠标滚轮的配置。

[quote]原帖由 "小飞爱使申华"]FT,是不是跟kernel有关啊?我的kernel version是2.2.20,可能太低了,需要升级吧?[/quote 发表:


分特2.2.20,我没听错吧,现在2.6铺天盖地的````换吧
我怀疑你的xf86版本也太低,ImPS/2和IMPS/2没啥区别的
我USB鼠标用的正常的要命```

论坛徽章:
0
8 [报告]
发表于 2004-05-07 13:18 |只看该作者

请教:比较另类的usb鼠标滚轮的配置。

大哥们,如果有图形界面的配置方法就不要非弄那些配置文件吧~~~
我的就配置的很好~

论坛徽章:
0
9 [报告]
发表于 2004-05-07 14:43 |只看该作者

请教:比较另类的usb鼠标滚轮的配置。

[quote]原帖由 "小飞爱使申华"]FT,是不是跟kernel有关啊?我的kernel version是2.2.20,可能太低了,需要升级吧?[/quote 发表:


2.4以后的usb 驱动才好用了,以前的只是样子货
debian不是可以在线update吗?现在我都用2.6的内核了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP