zoukankan      html  css  js  c++  java
  • mac下使用mx4调试

    MAC上想要用MX4来进行真机调试,然后,发现。。没反应,恩,然后,就是下面这样子了。

     1.  插上手机打开终端,输入:system_profiler SPUSBDataType,将输出结果记住。

     2.   拔下手机,重复以上动作。

     两者结果对比后会获得一个Vendor ID

    (其实输入一遍就可以啦,根据名字判定其实也可以了,直接里面写着有MX4啦)

    [plain] view plaincopy
     
    1. USB Hi-Speed Bus:  
    2.   
    3.      Host Controller Location: Built-in USB  
    4.      Host Controller Driver: AppleUSBEHCI  
    5.      PCI Device ID: 0x1c2d   
    6.      PCI Revision ID: 0x0005   
    7.      PCI Vendor ID: 0x8086   
    8.      Bus Number: 0x1a   
    9.   
    10.        Hub:  
    11.   
    12.          Product ID: 0x0024  
    13.          Vendor ID: 0x8087  (Intel Corporation)  
    14.          Version:  0.00  
    15.          Speed: Up to 480 Mb/sec  
    16.          Location ID: 0x1a100000 / 2  
    17.          Current Available (mA): 500  
    18.          Current Required (mA): 0  
    19.   
    20.            MX4:  
    21.   
    22.              Product ID: 0x0c02  
    23.              Vendor ID: 0x2a45  
    24.              Version: ff.ff  
    25.              Serial Number: 75UBCKJ22AUV  
    26.              Speed: Up to 480 Mb/sec  
    27.              Manufacturer: Meizu  
    28.              Location ID: 0x1a110000 / 4  
    29.              Current Available (mA): 500  
    30.              Current Required (mA): 192  
    31.   
    32.            USB OPTICAL MOUSE:  
    33.   
    34.              Product ID: 0x2510  
    35.              Vendor ID: 0x093a  (Pixart Imaging, Inc.)  
    36.              Version:  1.00  
    37.              Speed: Up to 1.5 Mb/sec  
    38.              Manufacturer: PIXART  
    39.              Location ID: 0x1a120000 / 3  
    40.              Current Available (mA): 500  
    41.              Current Required (mA): 100  

    3.在终端里输入echo "0x2a45" >> ~/.android/adb_usb.ini

    红色为你的设备VendorID

    4.adb kill-server  或者在eciplse 的 ddms 里reset  adb

  • 相关阅读:
    (四)自定义多个Realm以及Authenticator与AuthenticationStrategy
    (三)自定义Realm
    (二)shiro之jsp标签
    (一)shiro简介和用户登录demo及角色管理
    解决Cannot change version of project facet Dynamic web module to 2.5(转)
    (十二)easyUI之表单和验证完成登录页面
    (十一)springmvc和spring的整合
    (十)springmvc之文件的处理
    (九)springmvc之json的数据请求(客户端发送json数据到服务端)
    (九)springmvc之json的处理(服务端发送json数据到客户端)
  • 原文地址:https://www.cnblogs.com/weilf/p/4237113.html
Copyright © 2011-2022 走看看