Nexus One USB in Ubuntu 9.10
来源:互联网 发布:淘宝客助手免费软件 编辑:程序博客网 时间:2024/06/06 00:40
转http://alan.lamielle.net/2010/01/22/nexus-one-usb-in-ubuntu-9-10 My shiny new Google Nexus One wasn’t connecting properly over USB to my Ubuntu 9.10 (Karmic) notebook using the Android SDK. Here’s how I fixed it. After a few days of debating whether or not to buy a Nexus One, I finally gave in a bought one. Rachael ended up getting a Droid Eris (Verizon) for Christmas, so in the course of a few weeks I gained access to two fantastic Android-powered phones. I had been compiling a list of mobile application ideas and the fact that I now have the hardware to test on motivated me to start looking into Android development. After getting the Android SDK setup I needed to connect my N1 and push an application to it for testing on real hardware. I found some Android documentation that discussed connecting up an Android device over USB. However, after following the steps on this page, I was still seeing strange output when running Hopefully Google updates the documentation to include the Vendor ID 18D1 rather than making us hunt for this number ourselves. Enjoy!adb devices
:List of devices attached
???????????? no permissions
This led to some searching which turned up a blog post. Basically, the Google Android team hasn’t added the Vendor ID for the Nexus One. Apparently HTC’s USB Vendor ID isn’t correct. So, I followed these steps to fix it:sudo vim /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", SYSFS{idVendor}=="18D1", MODE="0666"
(Note the vendor ID of 18D1. This was changed from the HTC vendor code of 0BB4.)sudo reload udev
orsudo service udev reload
adb devices
and you should see something likeList of devices attached
############ device
- Nexus One USB in Ubuntu 9.10
- Nexus s Android 4.1.1 通过USB共享Ubuntu网络
- Remove one known host in ubuntu
- Google Nexus One 手机
- 烧写nexus one
- [备忘]在Ubuntu Linux 9.10 下使用HP Officejet J4580 All-in-One 的扫描器功能
- [译] Linus 喜欢 Nexus One
- 使用adb连接nexus one
- Nexus One: Compile CyanogenMod (Linux)
- One Line Command to Install Adobe Flash Player in Ubuntu
- Remove Old Kernels In Ubuntu With One Command
- Ubuntu One
- ubuntu安装nexus私服
- Android2.1 谷歌Nexus One售价曝光
- 谷歌手机Nexus One正式发布
- 谷歌手机Nexus One发布
- Android新机皇 谷歌Nexus one
- Google出Nexus One的原因
- 开始看论文
- Qt编程的禁忌和限制 – moc应该这样用
- 例解BITMAP的数据格式
- Html有关密码输入框复制和粘贴
- VC6使用UNICODE问题
- Nexus One USB in Ubuntu 9.10
- 任务计划实现开机自启动实现
- 面试题攻略之一
- ASP基本函数
- SOCKET 通讯原理
- listview绑定数据库的表VB.NET
- 取某一行开始的后10行数据,用于分页
- ubuntu窗口最大化/最小化/关闭三个图标问题
- 十、 使用SoapMonitor监视WebService的请求和响应信息