X Error: BadDevice, invalid or uninitialized input device 15

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
zbx
帖子: 1
注册时间: 2007-08-30 9:55

X Error: BadDevice, invalid or uninitialized input device 15

#1

帖子 zbx » 2007-08-30 9:58

help help........
colorpi
帖子: 125
注册时间: 2005-12-02 22:08
来自: 毛里求虱

#2

帖子 colorpi » 2007-09-02 22:51

我的错误提示:
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 148
Minor opcode: 3
Resource id: 0x0
Failed to open device

此error产生源于/etc/X11/xorg.conf文件中有"wacom"的输入设备。"wacom"是wacom公司
一个主产品,唤作"压感笔"。一般用户是用不到。故可以在xorg.conf文件中"注释掉"
# Section "InputDevice"
# Driver "wacom"
# Identifier "stylus"
# Option "Device" "/dev/wacom" # Change to
# # /dev/input/
event
# # for USB
# Option "Type" "stylus"
# Option "ForceDevice" "ISDV4" # Tablet PC
ONLY
#EndSection

#Section "InputDevice"
# Driver "wacom"
# Identifier "eraser"
# Option "Device" "/dev/wacom" # Change to
# # /dev/input/
event
# # for USB
# Option "Type" "eraser"
# Option "ForceDevice" "ISDV4" # Tablet PC
ONLY
#EndSection

#Section "InputDevice"
# Driver "wacom"
# Identifier "cursor"
# Option "Device" "/dev/wacom" # Change to
# # /dev/input/
event
# # for USB
# Option "Type" "cursor"
# Option "ForceDevice" "ISDV4" # Tablet PC
ONLY
#EndSection

并且也要"注释掉"该设备的输出服务,即唤作"serverlayout"中的对应项[e.g. : "stylus("顶针"~~据说
是)";"cousor";"eraser"]---注:此步骤很重要!!!否则只修改前面的话,据说不能启动X了...晕!我没敢试过...

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection
回复