Linux (Ubuntu) adb unrecognized problem-solving method _linux

Source: Internet
Author: User

Linux (Ubuntu) adb unrecognized problem

General development companies have developers working on different development boards at the same time because project iterations are needed. But different development boards have different USB, which makes the ADB unrecognized. The workaround is given below.

Step One:

Open Terminal, enter LSUSB

The above 2,207:0006 is our new development Board of the USB ID, do not know how to identify the classmate, you can repeatedly plug to find which is the change value. We need to replicate: prefix 2207, added to the config file.

Step Two:

modifying 51-android.ruls configuration Files

On the terminal input: sudo vim/etc/udev/rules.d/51-android.rules, you can see the following data

Copy the two lines of data, and then change the line again. Then modify the data for the value of Sysfs{idvendor} and change it to 2207, as shown in the following diagram:

Step Three:

modifying Adb_usb.ini configuration Files

On the terminal input: Vim. Android/adb_usb.ini, there is a similar 0x2218 value, the other line to fill in the 0x2207 can be. The following figure:

OK, finish the above steps, then you can see the results of the ADB devices.

Thank you for reading, I hope to help you, thank you for your support for this site!

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.