List of devices attached is followed by blank!
2015-08-08 13:33
351 查看
1).$ lsusb
2).Find the usb device appeared when you plug in your smartphone. You can use the command above twice to find it.
3).Copy the id of your device to /home/.android/adb_usb.ini
Example :
~$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 010: ID 2207:0010 <---------------------------------------------------------------This is it!
Bus 002 Device 003: ID 046d:c05a Logitech, Inc. Optical Mouse M90
Bus 002 Device 004: ID 046d:c31d Logitech, Inc.
>>>Add Ox2207 to adb_usb.ini.
4).adb kill-server
adb start server
5).Try "adb devices" now, miracle happens.
Reference:
http://danaquentin.lofter.com/post/dd8db_5de3ad http://stackoverflow.com/questions/21236049/list-of-devices-attached-is-empty-on-ubuntu-12-04
2).Find the usb device appeared when you plug in your smartphone. You can use the command above twice to find it.
3).Copy the id of your device to /home/.android/adb_usb.ini
Example :
~$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 010: ID 2207:0010 <---------------------------------------------------------------This is it!
Bus 002 Device 003: ID 046d:c05a Logitech, Inc. Optical Mouse M90
Bus 002 Device 004: ID 046d:c31d Logitech, Inc.
>>>Add Ox2207 to adb_usb.ini.
4).adb kill-server
adb start server
5).Try "adb devices" now, miracle happens.
Reference:
http://danaquentin.lofter.com/post/dd8db_5de3ad http://stackoverflow.com/questions/21236049/list-of-devices-attached-is-empty-on-ubuntu-12-04
相关文章推荐
- STM32F4: Generating parallel signals with the FSMC
- PhotoShop 证件照背景的简单替换
- iOS第三方做滤镜最主流的开源框架GPUImage
- .NET项目web自动化测试实战——Selenium 2.0
- [Leetcode]Count Primes
- 如何使用Createjs来编写HTML5游戏(六)完成一个简单的打飞机游戏(上)
- uva11020 Efficient Solutions(STL multiset的应用+二分查找函数)
- 最小代价树
- python_random随机
- mac删除输入法
- 动态规划01背包问题
- 四舍六入五成双的浮点转整型的宏定义
- 图像去模糊(逆滤波)
- Cloudera在Ubuntu的安装部署
- Leetcode|Different Ways to Add Parentheses
- [IOS] Object - Oriented
- HTTP协议之Content-Encoding
- Android之——卸载应用程序
- 数据结构学习---线性表链表实现
- 数据结构学习---线性表链表实现