usb滑轮鼠标实在不好安啊!
相关模块已经加载只是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的有五项
我应改怎么改啊 同学,你有两个鼠标吗?留两个鼠标的配置在哪里好看呀 :lol:
只保留下面这个再看看:
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
要不就加载相应模块 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
我只保留这项 可是无法进入图形界面了 我又改了回来 下面是一些朋友的建议:
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 谢谢 我已经搞定了 少加载了个模块 呵呵
页:
[1]