将Android开发板连接到Ubuntu 11.04
我最近收到了 TI 的开发板,它在 OMAP 3621 上运行 Android,我尝试通过 USB 将其连接到我的机器。主板显示已在调试模式下连接。
system@system-laptop:~$ lsusb |grep Google
Bus 002 Device 006: ID 18d1:0001 Google Inc.
在板上,USB 调试处于打开状态,因此接受来自未知来源的调试。 我的 udev .rule 文件如下所示,
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct} =="0001",SYMLINK+="android_adb", MODE="0666"
之后我使用 sudo 重新启动了 udev 和 adb 服务器。它仍然没有检测到开发板,但它检测到我的 HTC Desire。我尝试过谷歌搜索但徒劳无功,我什至尝试在 adb_usb.ini 文件中添加供应商 ID 但仍然徒劳。
我可能会错过什么?
I recently received a development board from TI which is running Android on OMAP 3621 and I am trying to connect it to my machine through USB. The board says Connected in Debugging Mode.
system@system-laptop:~$ lsusb |grep Google
Bus 002 Device 006: ID 18d1:0001 Google Inc.
On the board the USB debugging is ON and so is accept from Unknown Source.
My .rule
file for udev is as follows
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct} =="0001",SYMLINK+="android_adb", MODE="0666"
After this I restarted udev and adb servers using sudo. Still it does not detect the dev board, but it detects my HTC Desire. I have tried Googling but in vain, and I have even tried adding the vendor ID in the adb_usb.ini file but still in vain.
What could I be missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Adb 还不知道供应商 ID,因此它不会连接到您的设备。
你只需要将 id 添加到文件 ~/.android/adb.ini 中就可以了。
它应该是一个纯文本文件,其中每行列出一个您使用的所有 Android 设备的所有供应商 ID。如果您只想要 TI 板,它应该包含一行:
如果这不起作用(它应该,但是......)尝试在 adb.ini 上进行谷歌搜索。
Adb does not yet know about the vendor id, so it will not connect to your device.
You only have to add the id to the file ~/.android/adb.ini and then it will work.
It should be a plain text file with all vendor id's of all android devices you work with listed one per line. If you only want your TI-board it should contain the single line:
If this does not work (it should, but...) try a google search on adb.ini.
我猜你应该 grep Texas Instruments 并使用该 ID
You should grep Texas Instruments and use that ID I guess