QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 945|回复: 4

usb滑轮鼠标实在不好安啊!

[复制链接]
发表于 2003-7-9 21:23:25 | 显示全部楼层 |阅读模式
相关模块已经加载
只是XF86文件没设置

这是Debian的
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection




这是rh9。0的
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
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 "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

rh的Option 四项  debian的有五项

我应改怎么改啊
发表于 2003-7-9 23:51:37 | 显示全部楼层
同学,你有两个鼠标吗?留两个鼠标的配置在哪里好看呀
只保留下面这个再看看:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" ""/dev/input/mice
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

要不就换一个mouse的设备文件试一下

还有,你确定你的内核支持USB鼠标吗?你可以自己手动编译一个内核,需要编译下面的支持
input
usbcore
usbmouse
hid
mousedev
keybdev

要不就加载相应模块
回复

使用道具 举报

 楼主| 发表于 2003-7-10 09:00:41 | 显示全部楼层
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" ""/dev/input/mice
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

我只保留这项 可是无法进入图形界面了 我又改了回来
回复

使用道具 举报

发表于 2003-7-12 00:27:37 | 显示全部楼层
下面是一些朋友的建议:
       
quanliking

我用的是 Logitech 极光,带滚轮光电,下面是我觉得要加的几个模块:
usb-uhci
mousedev
usbmouse
hid
usbcore
input

不一定都必要,仅供参考,好运!


       
carlos:
我的微软notebook鼠标(呵呵,别打我……)也是自动加载
console下用gpm的配置:
carlos@cliux:~$ cat /etc/gpm.conf
# /etc/gpm.conf - configuration file for gpm(1)
#
# If mouse response seems to be to slow, try using
# responsiveness=15. append can contain any random arguments to be
# appended to the commandline.
#
# If you edit this file by hand, please be aware it is sourced by
# /etc/init.d/gpm and thus all shell meta characters must be
# protected from evaluation (i.e. by quoting them).
#
# This file is used by /etc/init.d/gpm and can be modified by
# /usr/sbin/gpmconfig.
#
device=/dev/psaux
responsiveness=
repeat_type=
type=fups2
append="-M -m /dev/input/mice -t imps2"
sample_rate=

X里的配置
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "TrackPoint"
Driver "mouse"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "YAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
EndSection
.......
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "ThinkPad Keyboard" "CoreKeyboard"
InputDevice "TrackPoint" "CorePointer"
InputDevice "USB Mouse" "SendCoreEvents"
EndSection
回复

使用道具 举报

 楼主| 发表于 2003-7-12 10:47:45 | 显示全部楼层
谢谢 我已经搞定了 少加载了个模块 呵呵
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-5 16:29 , Processed in 0.090485 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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