under ubuntu, using usb and adb connect device

1. 添加usb支持,使linux系統認識這個Vendor。
Create a new udev rule file under the PC's /etc/udev/rules.d/ named: imx- android .rules. And fill in the following line into the file: 
SUBSYSTEM=="usb", SYSFS{idVendor}==" 15a2 ", MODE="0666" 

2 update the files:~/. android /adb_usb.ini, to add  freescale  vendor id: 
android update adb to create the adb_usb.ini file.
ANDROID  3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT. 
# USE ' android  update adb' TO GENERATE. 
# 1 USB VENDOR ID PER LINE. 
0x 15a2   (freecescal 解決方案)
htc 解決方案

3 :Change the new udev rule file's permission: 
chmod a+r /etc/udev/rules.d/imx- android .rules 

4 rec onnect the  Android  Device 

5 :Restart the adb server 

6 :adb kill-server 
7 :adb start-server  all finish.
相關文章
相關標籤/搜索