用SecureCRT命令运行,板上能正常出现界面,但是SECURECRT出现Error opening mouse device '/dev/mouse0': No such file or directory,然后再CRT界面就不能继续输入命令了,我的程序只是简单的HELLO程序,没涉及到鼠标,怎么出现这个?如何解决
如果是有触摸输入的,可以在终端下用 vi 修改文件系统下的 /etc/profile 文件
if [ -f /sys/devices/virtual/input/input0/uevent ] ; then
export set TSLIB_TSDEVICE=/dev/event0
export set TSLIB_CALIBFILE=/etc/pointercal
export set TSLIB_CONFFILE=/etc/ts.conf
export set TSLIB_PLUGINDIR=/lib/ts
export set QWS_MOUSE_PROTO="TSLIB:/dev/event0 Intellimouse:/dev/mouse0"
else
export set QWS_MOUSE_PROTO="Intellimouse:/dev/mouse0"
fi