zoukankan      html  css  js  c++  java
  • [原]OS X 10.9 Mavericks

    If want to do iOS kernel debugging on A4 device,

    first you should install Virtual COM port (VCP) drivers.

    After has installed the driver on OS X Mavericks, 

    plugin your device (for examle: iPod Touch 4, WiFi),

    then execute the following command:

    ls /dev/tty.usb*

    Sadly, can't find the device.

    Following the steps to fix this issue:

    Step 1: Install VCP Driver.

    Step 2: Unload the driver: sudo kextunload /System/Library/Extensions/FTDIUSBSerialDriver.kext

    Step 3: Edit driver Info.plist: 

    cp /System/Library/Extensions/FTDIUSBSerialDriver.kext/Contents/Info.plist ~/Desktop/

    open the plist file with xcode,

    extend the IOKitPersonalities key,

    copy an existing item, for example: iPod Serial Port,

    and change vendor and produnt id for your device, for example :iPod Touch 4, WiFi, VID is 1659, PID is 8963,

    save the plist file,

    and then 

    sudo cp -f ~/Desktop/Info.plist /System/Library/Extensions/FTDIUSBSerialDriver.kext/Contents/

    Step 4: Load the driver: sudo kextload /System/Library/Extensions/FTDIUSBSerialDriver.kext

    Step 5: view device: ls /dev/tty.usb*, you will see it

    The Key Point:

    Rules Of Driver Best Match: Product ID & Vendor ID.

    ref:

    http://www.ftdichip.com/Drivers/VCP.htm

    http://www.ftdichip.com/Support/Documents/InstallGuides/Mac_OS_X_Installation_Guide.pdf

     

  • 相关阅读:
    pandas DataFrame
    pandas Series
    numpy nan和inf
    Filder配置及使用教程
    Vmware Ubuntu18.04更换清华源
    numpy 其它常用方法
    numpy 数组的拼接
    numpy 数值的修改
    numpy 索引和切片
    class 绑定的数据对象不必内联定义在模板里
  • 原文地址:https://www.cnblogs.com/Proteas/p/3663610.html
Copyright © 2011-2022 走看看