hpet 模拟器错误并创建传感器端口
我从最新的 Andriod SDK 中收到 1 个模拟器错误(在 Ubuntu11.10 和 CentOS6.2 上):
[@localhost ~]$/android-sdks/tools/emulator -avd api15&
模拟器:警告:无法创建传感器端口:连接被拒绝
在 CentOS6.2 上,还有一个 HPET 错误。(即使我的 HPET 已设置为 1024):
[@localhost ~]$ cat /proc/sys/dev/hpet/max-user-freq
1024
[@localhost ~]$/android-sdks/tools/emulator -avd api15&
无法将“/dev/hpet”配置为具有 1024Hz 计时器。这不是一个致命错误,而是为了更好的仿真精度,输入:'echo 1024 > > /proc/sys/dev/hpet/max-user-freq' 作为 root。
模拟器:警告:无法创建传感器端口:连接被拒绝
我束手无策。它想告诉我什么?任何帮助将不胜感激!
以下是背景信息:
[@localhost ~]$ 模拟器-版本
Android 模拟器版本 16.0 (build_id ICS_MR0-234950)
版权所有 (C) 2006-2011 Android 开源项目及其他许多项目。
该程序是 QEMU CPU 仿真器 (www.qemu.org) 的衍生产品。
...[@localhost ~]cat /etc/issue.net
CentOS 版本 6.2(最终版)
内核 \r 上的 \m[@localhost ~]uname -a
Linux localhost.localdomain 2.6.32-220.4.1.el6.x86_64 #1 SMP 1 月 24 日星期二 02:13:44 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux
I got 1 emulator error from the latest Andriod SDK(on both Ubuntu11.10 and CentOS6.2):
[@localhost ~]$/android-sdks/tools/emulator -avd api15&
emulator: WARNING: Unable to create sensors port: Connection refused
On CentOS6.2, there is also an HPET error.(even though my HPET was set to 1024 already):
[@localhost ~]$ cat /proc/sys/dev/hpet/max-user-freq
1024
[@localhost ~]$/android-sdks/tools/emulator -avd api15&
Could not configure '/dev/hpet' to have a 1024Hz timer. This is not a fatal error, but for better emulation accuracy type: 'echo 1024 > /proc/sys/dev/hpet/max-user-freq' as root.
emulator: WARNING: Unable to create sensors port: Connection refused
I am at my wits end. What is it trying to tell me? Any help would be greatly appreciated!
Here are the background info:
[@localhost ~]$ emulator -version
Android emulator version 16.0 (build_id ICS_MR0-234950)
Copyright (C) 2006-2011 The Android Open Source Project and many others.
This program is a derivative of the QEMU CPU emulator (www.qemu.org).
...[@localhost ~]cat /etc/issue.net
CentOS release 6.2 (Final)
Kernel \r on an \m[@localhost ~]uname -a
Linux localhost.localdomain 2.6.32-220.4.1.el6.x86_64 #1 SMP Tue Jan 24 02:13:44 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
第一个并不是真正的问题。在模拟器中,您没有传感器,这就是这里出现错误的原因。这是所有版本的所有模拟器的常见错误。
至于第二种情况我从来没有注意到这样的错误。
The first is not a real problem. In the emulator you do not have sensors that's why there is an error here. This a common error for all emulators for all versions.
As for the second case I've never noticed such error.