0
Help us understand the problem. What are the problem?

More than 1 year has passed since last update.

posted at

Organization

MacでiPhoneが接続されているかをterminal上で確認するにはsystem_profiler SPUSBDataTypeを使おう

なんか動作がおかしいiPhoneがったのでUSBに接続して中身を見たかったのだけど、どのレベルで認識されていないのか調べたのでついでにこれもやってみた。

terminal上で確認したい場合system_profiler SPUSBDataTypeで確認する。

(linux系ではlsusbコマンドで表示されるが、Macだと独自コマンドらしい)

出力例:


$ system_profiler SPUSBDataType  

2021-05-16 21:40:22.748 system_profiler[2972:64012] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be
USB:

    USB 3.1 Bus:

      Host Controller Driver: AppleUSBXHCIAR
      PCI Device ID: 0x15d4 
      PCI Revision ID: 0x0002 
      PCI Vendor ID: 0x8086 
      Bus Number: 0x01 

    USB 3.1 Bus:

      Host Controller Driver: AppleUSBXHCIAR
      PCI Device ID: 0x15d4 
      PCI Revision ID: 0x0002 
      PCI Vendor ID: 0x8086 
      Bus Number: 0x00 

    USB 3.0 Bus:

      Host Controller Driver: AppleUSBXHCISPTLP
      PCI Device ID: 0x9d2f 
      PCI Revision ID: 0x0021 
      PCI Vendor ID: 0x8086 

        iPhone:

          Product ID: 0xXXXX
          Vendor ID: 0x05ac (Apple Inc.)
          Version: 11.06
          Serial Number: XXXXXXXXXXXXXXXXXXXX
          Speed: Up to 480 Mb/s
          Manufacturer: Apple Inc.
          Location ID: 0x14500000 / 5
          Current Available (mA): 500
          Current Required (mA): 500
          Extra Operating Current (mA): 1900
          Sleep current (mA): 2400

        Apple T1 Controller:

          Product ID: 0xXXXX
          Vendor ID: 0x05ac (Apple Inc.)
          Version: 1.01
          Manufacturer: Apple Inc.
          Location ID: 0x14100000

Register as a new user and use Qiita more conveniently

  1. You can follow users and tags
  2. you can stock useful information
  3. You can make editorial suggestions for articles
What you can do with signing up
0
Help us understand the problem. What are the problem?