Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@tukapai

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

0
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
tukapai
何故か仏教を学んだプログラマー 通常はインフラ系ですが、何でもやるマン 主にRubyが最近好き💕
vsn
IT、メカトロニクス・エレクトロニクス、バイオ・ケミストリー分野における無期雇用型派遣事業を行っています。技術力とコンサル力でお客さま事業に革新をもたらすべく、約4,000名のエンジニアが活躍中です。

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
0
Help us understand the problem. What is going on with this article?