如何将键盘连接到tinyX服务器
我在 buildroot 的帮助下为我的arm开发板编译了根文件系统。我的rootfs包含TinyX服务器和火柴盒作为窗口管理器。然后我通过下面的脚本启动了x服务器。
导出 DISPLAY=:0
X -wr -keybd 键盘 -mouse 鼠标 & (TinyX)
火柴盒会话 &
我面临的问题是键盘在 TinyX 服务器中无法工作。 TinyX 服务器产生以下错误消息 “Linux 控制台键盘驱动程序想要在 [0, 0] 之外发布扫描代码 57!” 对于所有按键按下和释放。 但鼠标工作正常。
有人可以给我一些建议来解决这个问题吗?
I have compiled root file system for my arm development board with the help of buildroot.My rootfs contains TinyX server and match-box as window manager.Then i have launched the x server by this script below.
export DISPLAY=:0
X -wr -keybd keyboard -mouse mouse & (TinyX)
matchbox-session &
The problem that i am facing is keyboard not working in the TinyX server.
The TinyX server is producing the following error message
"driver Linux console keyboard wanted to post scancode 57 outside of [0, 0]!"
for all key press and release.
But mouse is working fine.
Can anybody please give me some suggestions to troubleshoot this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Env:Ubuntu 12.10 主机上的 QEMU qemu-system-arm 版本 1.2.0。
Guest:内核 3.2.21
ARMv7l Verstatile Express
模拟板:使用 Buildroot 版本 12.08 构建的具有 X 支持的 Root 文件系统等; TinyX X 服务器。
运行 qemu:
一旦来宾运行,我们就会有一个控制台窗口和一个图形 qemu 窗口(一开始是空的)。
在访客控制台窗口中:
启动X:
然后加载xterm等。
我使用一个简单的脚本,这里是:
注意如何确定鼠标、键盘设备的提示:查找dmesg输出..
Env: QEMU qemu-system-arm ver 1.2.0 on Ubuntu 12.10 host.
Guest: kernel 3.2.21
Emulated board: ARMv7l Verstatile Express
Root filesystem with X support, etc built using Buildroot ver 12.08; TinyX X server.
Ran qemu with:
Once the guest is running, we have a console window and a graphical qemu window (which is empty to start with).
In the guest console window:
Start X:
Then load up xterm, etc.
I use a simple script, here it is:
Notice the hint on how to determine mouse, keyboard device: look up dmesg output..