The ADB does not recognize Android devices under Linux

Source: Internet
Author: User

The use of the ADB in Linux has been very smooth, until the day before yesterday to meet the Xiaomi tablet, how there is no way to identify, according to Google official http://developer.android.com/tools/device.htmlto do, but still a little effect is not, occasionally see this posthttp://blog.csdn.net/liuqz2009/article/details/7942569to solve the problem. The workaround is to add the USB Idvendor (vendor) in the $home/.android/adb_usb.ini.
If theThere's no $HOME/.android/adb_usb.ini.Db_usb.ini To add a file like this. Idvendor can be obtained by LSUSB
[email protected]-dev:~$ lsusb Bus 002 Device 002:ID8087:8000 Intel Corp. Bus 002 Device 001:ID1d6b:0002 Linux Foundation 2.0Root HubBus 001 Device 087: ID 2a45:2008 Bus 001 Device 002:ID8087:8008 Intel Corp. Bus 001 Device 001:ID1d6b:0002 Linux Foundation 2.0Root HubBus 004 Device 001:ID1d6b:0003 Linux Foundation 3.0Root HubBus 003 Device 001:ID1d6b:0002 Linux Foundation 2.0Root Hub

[email protected]:~$ lsusb Bus 001 Device 002:ID80ee:0021 VirtualBoxUSBTabletBus 001 Device 001:ID1d6b:0001 Linux Foundation 1.1Root Hub
above 80ee is Idvendor (vendor number), 0021 is idproduct (product number). The above two are able to recognize the normal can not be added, if it is not correctly identified after the device name is not displayed, the device name is VirtualBox USB tablet These, we just need to add those not recognized, no device name of those devices.
add a vendor number to the Adb_usb.ini, for example
0x80ee

The ADB does not recognize Android devices under Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.