LinuxSir.cn,穿越时空的Linuxsir!

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

怎样配置USB鼠标?

[复制链接]
发表于 2002-12-11 09:05:42 | 显示全部楼层 |阅读模式
请问怎样在debian下配置USB鼠标?
 楼主| 发表于 2002-12-11 16:26:17 | 显示全部楼层
没有人做过?
发表于 2002-12-11 17:15:28 | 显示全部楼层
I did a google search.
from: http://panuganty.tripod.com/debiantips/mouse.htm

How do I get my USB mouse work?

Preferably, use the 2.4.x kernel. You first need to configure your kernel for the USB mouse support. Turn on the 'USB Human Interface Device (HID)" in the USB support and 'Mouse Support" in the Input Core support. Make sure you do NOT turn on the HIDBP mouse support. The HIDBP (boot protocol) way is intended for embedded systems with resource constraints and is inferior for normal desktop systems. Do "insmod input; insmod usbcore; insmod usb-uhci; insmod hid"

Look for bootup messages (dmesg or /proc/bus/usb/devices) for see if the USB mouse got recognised. Do 'mkdir /dev/input' and 'mknod /dev/input/mice c 13 63'. The directory is to later allow addition of multiple USB input devices (mice, touch pad,...)

How do I configure USB mouse in XFree86-4.0?

Add these lines in /etc/X11/XF86Config-4

Section "InputDevice"
    Identifier    "Intelli Mouse"
    Driver        "mouse"
    Option        "AlwaysCore"
    Option        "CorePointer"
    Option        "rotocol"      "IMPS/2"
    Option        "Device"        "/dev/input/mice"
EndSection
发表于 2002-12-11 18:19:30 | 显示全部楼层
还有个内核模块,运行
modprobe mousedev
发表于 2002-12-11 21:51:33 | 显示全部楼层
我已经用了很长一段时间了,woody

大致和楼上两位说的差不多,
不过这里略有不同:
Option "rotocol" "IMPS/2"
Option "Device" "/dev/psaux" # "/dev/input/mice"
在dpkg-reconfigure xserver-xfree86 时候选择/dev/psaux和IMPS/2两项
发表于 2002-12-11 21:58:59 | 显示全部楼层
主要 是内核的编译问题, 要支持usb的hid,input core中的
mousedev。
发表于 2002-12-13 10:41:23 | 显示全部楼层

usbmouse配制方法

安装如下两个包:
hotplug
hotplug-utils (optional)
mdetect
然后运行
mdetect -v -x  (for xfree3.x)
mdetect -v -o (for xfree4.x)
mdetect就给你找到相应的鼠标设备了.
然后自己修改/etc/X11/XF86Config
或则/etc/X11/XF86Config-4
重新启动Xwindows就可以了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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