独显接显示器报错提示:Mouse0: cannot open input device

HP小机有两块独显,一块集成显卡,显示器与独显连接时提示:RV100 113-85538-100 BIOS,连接不上主机,接集成显卡时是OK的
没有接触过HP小机,都不知如何下手
解决方法:
1、检查主机显示板没有报错灯显示
2、检查dmesg没有报错
3、检查/var/adm/syslog/syslog.log没有报错
4、刚开始是以为独显坏了,更换独显,天公不作美啊,还是同样的报错,最后回过头想想两块独显同时坏的可能性很小;
5、检查DT报错日志
# cat /var/dt/Xerrors

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Build Date: Mar 21 2008
Build Operating System: HP-UX B.11.11 U 9000/785 
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/X11/Xserver/logs/Xf86.0.log", Time: Thu Aug 29 17:34:01 2013
(==) Using config file: "/etc/X11/XF86Config"
(EE) xf86OpenSerial: Cannot open device /dev/deviceFileSystem/mouseMux
        No such device.
(EE) Mouse0: cannot open input device
(EE) PreInit failed for input device "Mouse0"
No core pointer

Fatal server error:
failed to initialize core devices

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to your HP support representative.

XIO:  fatal IO error 232 (Connection reset by peer) on X server "XXX"
      after 0 requests (0 known processed) with 0 events remaining.
 
Thu Aug 29 17:34:06 2013
error (pid 2885): Server for display dts2:0 terminated unexpectedly 1

6、检查X11报错日志
# cd /var/X11/Xserver/logs
# ls
Xf86.0.log      Xf86.0.log.old  Xstartup.0.log
# cat Xf86.0.log | more

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Build Date: Mar 21 2008
Build Operating System: HP-UX B.11.11 U 9000/785 
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/X11/Xserver/logs/Xf86.0.log", Time: Thu Aug 29 17:34:29 2013
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Main Layout"
(**) |--&gtScreen "Screen 0" (0)
(**) |   |--&gtMonitor "Monitor 0"
(**) |   |--&gtDevice "Console"
(**) |--&gtInput Device "Mouse0"
(**) |--&gtInput Device "Keyboard0"
(==) Keyboard device file is '/dev/deviceFileSystem/keyboardMux'
(==) Keyboard: CustomKeycode disabled
(WW) The directory "/usr/lib/X11/fonts/hp_japanese/75dpi/" does not exist.
(WW)    Entry deleted from font path.
7、通过第5、6步都提示鼠标有问题,想了想小机上没有接鼠标会不会有关系,不管三七二十一把自己电脑的鼠标接上,重启DT服务
# ps -ef | grep dtlogin
    root  2882  2858  0 11:09:05 ?         0:00 /usr/dt/bin/dtlogin
#kill -9 2882
#cd /usr/dt/bin/
#./dtconfig -reset重置DT配置文件
done 
dtlogin config resources reloaded.
# ./dtconfig -start启动DT程序
done 
dtlogin startup complete. 
# ps -ef|grep dtlogin
    root  5483  5467  0 00:43:23 console   0:00 /usr/dt/bin/dtlogin
    root  5485  1968  0 00:43:31 console   0:00 grep dtlogin
重做第5、6步还是有报错
8、会不会是配置文件有问题呢?有这个可能,正好一台机子配置、应用是一样的机子,于是从另一台机子把配置文件拷贝到本机
#cd /etc/X11/替换文件:XF86Config,当然替换前先备份好原来的配置文件
重启服务,还是有报错
9、死马当活马医了,求助同事想出一个更馊的主意,把配置文件删除了,然后重启机子,以为会重新生成一个配置文件,结果没生成,还是报错
10、既然是提示Mouse0: cannot open input device,那我可不可以把配置文件里有把mouse的都注释呢?值 得一做,注释后提示配置文件错误,真扯蛋了,到止已经
处理了差不多两天,我还要不要回家过周末了……
vi /etc/X11/XF86Config
Section "ServerLayout"
        Identifier     "Main Layout"
        Screen      0  "Screen 2-1" 0 0
        Screen      1  "Screen 1-1" RightOf "Screen 2-1"
        #InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    FontPath      "/usr/lib/X11/fonts/wFont/zh_CN.GBK"
     FontPath      "/usr/lib/X11/fonts/wFont/zh_CN.EUC"
     FontPath      "/usr/lib/X11/fonts/hp_roman8/75dpi/"
     FontPath      "/usr/lib/X11/fonts/iso_8859.1/100dpi/"
     FontPath      "/usr/lib/X11/fonts/iso_8859.1/75dpi/"
     FontPath      "/usr/lib/X11/fonts/hp_kana8/"
     FontPath      "/usr/lib/X11/fonts/hp_japanese/100dpi/"
     FontPath      "/usr/lib/X11/fonts/hp_korean/75dpi/"
     FontPath      "/usr/lib/X11/fonts/hp_chinese_s/75dpi/"
     FontPath      "/usr/lib/X11/fonts/hp_chinese_t/75dpi/"
     FontPath      "/usr/lib/X11/fonts/iso_8859.2/75dpi/"
     FontPath      "/usr/lib/X11/fonts/iso_8859.5/75dpi/"
     FontPath      "/usr/lib/X11/fonts/iso_8859.6/75dpi/"
     FontPath      "/usr/lib/X11/fonts/iso_8859.7/75dpi/"
     FontPath      "/usr/lib/X11/fonts/iso_8859.8/75dpi/"
     FontPath      "/usr/lib/X11/fonts/iso_8859.9/75dpi/"
     FontPath      "/usr/lib/X11/fonts/misc/"
     FontPath      "/usr/dt/config/xfonts/C"
     FontPath      "/usr/dt/config/xfonts/zh_CN.hp15CN"
     FontPath      "/usr/lib/X11/fonts/iso_8859.15/75dpi"

EndSection 

Section "Module"
EndSection 

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

#Section "InputDevice"
        #Identifier  "Mouse0"
        #Driver      "mouse"
        #Option      "Protocol" "PS/2"
#EndSection

11、仔细检查配置文件发现鼠标使用的是PS口的,但是主机面没有PS接口啊,怎么办呢,能不能改配置文件,那是肯定的,试着修改
修改前:
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
EndSection
修改后:
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
EndSection
重置配置,重启服务还是报错,要疯了
12、冷静下来想想,既然有一台机子跟它一样的,为什么另一台没有问题呢,配置文件是一样的,说明配置文件应该没有问题,为什么呢……
想想用户的需求,是想直接把显示器接到独显上,而另一台能显示并不是直接连独显,是通过KVM连接,那我能不能把另一台的KVM连接的鼠标接口插到有问题的
主机上呢?不试不知道,试了自己成了白痴,老天还真的显灵了。
原因:原来是由于KVM可以把USB属性的接口协议转换为PS协议的,而DT启需要的配置文件需要使用PS协议的鼠标,KVM正好提供了这个转换功能
结论:最后搞下来回想起来觉得很简单,不就换个接口嘛,可当时真的是花了不少功夫处理,知识有限,学得不深入真是杯具

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27015256/viewspace-772099/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/27015256/viewspace-772099/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值