Rube @ Rube :~ $ 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 003 Device 002: ID 17ef: 6025 Lenovo
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 003 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b: 0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0e8f: 0022 GreenAsia Inc.
Bus 002 Device 003: ID 05ca: 1823 Ricoh Co., Ltd
Connect the usb to Xiaomi and enter lsusb on the terminal
Rube @ Rube :~ $ 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 003 Device 002: ID 17ef: 6025 Lenovo
Bus 002 Device 013: ID 05c6: 9031 Qualcomm, Inc.
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 003 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b: 0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0e8f: 0022 GreenAsia Inc.
Bus 002 Device 003: ID 05ca: 1823 Ricoh Co., Ltd
We found out that there was an additional Bus 002 Device 013: ID 05c6: 9031 Qualcomm, Inc. Which is the Xiaomi Device.
3. then configure the file
The absolute path to add the configuration file is/etc/udev/rules. d/51-Android.rules. Some tutorials write 50-android.rules, but I tried it and got it wrong. I don't know why.
Add the following content to the configuration file. Create a 51-Android.rules file without this file.
SUBSYSTEM = "usb", SYSFS {idVendor} = "05c6", MODE = "0666"
SUBSYSTEM = "usb", ATTR {idVendor} = "05c6", ATTR {idProduct} = "9301", SYMLINK + = "android_adb"
Modify permissions:
Sudo chmod a + r/etc/udev/rules. d/51-android.rules
4. Enable debugging
Dial-up is required for enabling usb debugging for Xiaomi on the Internet: * #717717 # * # after broadcasting, I found a Log ~ What are the prompts...
Restart adb in sdk-> paltform-tools.
Sudo./adb kill-server
Sudo./adb devices
Can I debug it with eclipse.
<! -- Then -->
I have never known what to do recently. I am bored to start playing with Android again, and the log has also been changed to the blog garden to help a local teacher make purchase websites, apps use old and old techniques and do not learn anything new.
New things don't have time to study, and the school's classes are boring and not interested in learning. linux is always used. net class. sophomore year next semester... I thought about what to do, go out to work, and fight for school.
However, I can only take technology to the next level, but how can my creative brain come in handy...