The iphone driver is not recognized by Eclipse under Ubuntu (in the case of Xiaomi 2S)

Source: Internet
Author: User

Google's official Development wizard has set the Android phone to allow the installation of non-market programs, and in the USB debugging mode, but still can not be recognized after USB connection to the computer, the problem is explained.

In the Ubuntu Linux environment, you need to add a rules file that contains the USB configuration information for each device you want to debug. Take the HTC phone as an example to achieve the following steps:

    1. 在终端输入 sudo gedit /etc/udev/rules.d/51-android.rules
    2. In the open file, addSUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"
    3. Save after exiting in terminal executionsudo chmod a+r /etc/udev/rules.d/51-android.rules

Once the phone is connected to your computer, the HTC phone will be recognized as normal.

If it is another manufacturer's phone, you need to change ATTR{idVendor} the value in step 2. If you want to add more than one manufacturer's phone, repeat step 2. The IDs of other USB vendors are as follows:

Company
USB Vendor ID
Acer 0502
ASUS 0B05
Dell 413C
Foxconn 0489
Garmin-asus 091E
Google 18D1
Htc 0BB4
Huawei 12D1
K-touch 24E3
KT Tech 2116
Kyocera 0482
Lenevo 17EF
Lg 1004
Motorola 22B8
Nec 0409
Nook 2080
Nvidia 0955
Otgv 2257
Pantech 10A9
Pegatron 1D4D
Philips 0471
Pmc-sierra 04DA
Qualcomm 05C6//小米
SK Telesys 1F53
Samsung 04E8
Sharp 04DD
Sony Ericsson 0FCE
Toshiba 0930
ZTE 19D2

Note: If the steps are still not recognized, check if the  ATTR{idVendor} letters in the values are lowercase (or as recognized by the computer!). )。 Note If the device list is not on top, you can use the LSUSB command (Plug and unplug your phone to see how the device changes)

Method Two:

The contents of the/etc/udev/rules.d/51-android.rules file are modified to:

subsystem== "USB", env{devtype}== "Usb_device", mode= "0666", group= "Plugdev"

The iphone driver is not recognized by Eclipse under Ubuntu (in the case of Xiaomi 2S)

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.