LinuxSir.cn,穿越时空的Linuxsir!

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

turbolinux10pre圣诞版中如何使用usb鼠标?

[复制链接]
发表于 2003-12-27 20:22:32 | 显示全部楼层 |阅读模式
系统已经检测到了我的触控板,但是我还有一个usb的鼠标(不是光电的)。
插入之后,系统没有辨认出来。该如何使用它呢?
发表于 2003-12-27 21:59:51 | 显示全部楼层
是啥牌子的?我的罗技很轻松识别!
 楼主| 发表于 2003-12-27 22:09:49 | 显示全部楼层

罗技给联想OEM的鼠标

贴的是联想,买本本时候送的。
windows里面识别为firstpilot+。

Fedora Core 1能够自动识别。

你把你的XF86Config贴一下我看看。
发表于 2003-12-27 22:12:38 | 显示全部楼层
倒!别看了!我在fedora下面的虚拟机装的!
发表于 2003-12-27 22:14:10 | 显示全部楼层
呵呵!不是有意的!请原谅!
发表于 2003-12-27 23:45:00 | 显示全部楼层

回复: turbolinux10pre圣诞版中如何使用usb鼠标?

最初由 hutigers 发表
系统已经检测到了我的触控板,但是我还有一个usb的鼠标(不是光电的)。
插入之后,系统没有辨认出来。该如何使用它呢?


安装的时候把鼠标插上。
发表于 2003-12-28 00:04:27 | 显示全部楼层
你是说插上?安装后拔下来再插上?可是hutigers用的是笔记本,鼠标一直插在在上面的!
发表于 2003-12-28 00:06:14 | 显示全部楼层
最初由 yugilq 发表
你是说插上?安装后拔下来再插上?可是hutigers用的是笔记本,鼠标一直插在在上面的!


安装的时候也是插着的么?

安装过程中,鼠标配置页面里面检查出了几个鼠标?
 楼主| 发表于 2003-12-28 08:03:35 | 显示全部楼层

呵呵。我是采用loadlin硬盘安装的

因为我的本本没有刻录机,也没有软驱。

因此直接进入的时候是文本界面的安装。需要自己选择鼠标。安装过程鼠标是支持插着的。

我的Turbo的/etc/X11/XF86Config的部分如下:
采用xf86cfg添加成两个鼠标之后,自动生成的。#号部分是我改过的,下面有说明。
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse1" "SendCoreEvents"
#       InputDevice     "Mouse1" "CorePointer"
EndSection
……
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "rotocol" "S/2"
                                                                                
        Option      "Device" "/dev/psaux"
EndSection
                                                                                
Section "InputDevice"
                                                                                
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Device" "/dev/usb/mouse0"
        Option      "rotocol" "S/2"
EndSection
我曾经用#号屏蔽掉mouse0的section "InputDevice"的5句,以及原来的ServceLayout段的mouse0和mouse1,并设置usb鼠标为CorePointer,最上的#号部分。
但是X启动不起来,提示没有找到指点设备。

由于系统没有提供/sbin/lsusb, 因此目前我无法提供我的usb信息。但是我可以执行/sbin/lspci -v,结果看来是正常的,我提供了一份放在附件里面了。

同时请参看Fedora Core 1自动生成的XF86Config,对应的部分如下。(在Fedora Core 1里面的时候,USB鼠无论何时插上都可以使用,无论安装或启动时有没有插上,并且触控板和USB鼠可以同时使用)。
Fedora Core 1 XF86Config的相应部分。

# XFree86 4 configuration created by pyxf86config
                                                                                
Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "rotocol" "S/2"
        Option      "Device" "/dev/psaux"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "no"
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      "rotocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "no"
EndSection

#号部分是系统自动生成的,不是我添加的。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2003-12-28 08:08:16 | 显示全部楼层

我的粗浅分析

turbo里面的SendCoreEvents似乎必须得屏蔽掉mouse0(在硬件上拔出鼠标)才行,似乎起到的是一个切换的作用。但是,我的笔记本的触控板是没法拔掉的阿。所以,在硬件上它始终存在,SendCoreEvents也就永远起不到作用了。(无论插拔usb鼠均如此)

:(
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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