macでAndroid端末、iPhoneがどのUSBに接続されているかを判別するためにはLinuxでは lsusb コマンドを使います。
lsusb はUSBバスとUSBデバイスの一覧を表示する事ができるコマンドです。
macはunix系のOSですが lsusb がありません。しかし、その代わりに system_profiler SPUSBDataType コマンドがあるようです。このサイトにあるようにaliasで lsusb を登録しておくと便利かもしれません。
例えばmacbook airの左側のUSBポートにXperiaを接続するとこのようになり、
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
USB: USB 3.0 SuperSpeed Bus: Host Controller Location: Built-in USB Host Controller Driver: AppleUSBXHCI PCI Device ID: 0x1e31 PCI Revision ID: 0x0004 PCI Vendor ID: 0x8086 Bus Number: 0x0a USB 3.0 Hi-Speed Bus: Host Controller Location: Built-in USB Host Controller Driver: AppleUSBXHCI PCI Device ID: 0x1e31 PCI Revision ID: 0x0004 PCI Vendor ID: 0x8086 Bus Number: 0x0a USB Hi-Speed Bus: Host Controller Location: Built-in USB Host Controller Driver: AppleUSBEHCI PCI Device ID: 0x1e2d PCI Revision ID: 0x0004 PCI Vendor ID: 0x8086 Bus Number: 0x1a Hub: Product ID: 0x0024 Vendor ID: 0x8087 (Intel Corporation) Version: 0.00 Speed: Up to 480 Mb/sec Location ID: 0x1a100000 / 2 Current Available (mA): 500 Current Required (mA): 0 Built-In: Yes SO-02F: Product ID: 0x01a5 Vendor ID: 0x0fce (Sony Ericsson Mobile Communications AB) Version: 2.32 Serial Number: CB5A1WRYD0 Speed: Up to 480 Mb/sec Manufacturer: Sony Location ID: 0x1a120000 / 4 Current Available (mA): 500 Current Required (mA): 500 FaceTime HD Camera (Built-in): Product ID: 0x8510 Vendor ID: 0x05ac (Apple Inc.) Version: 80.25 Serial Number: DJHCAJZ2B3DWC7C0 Speed: Up to 480 Mb/sec Manufacturer: Apple Inc. Location ID: 0x1a110000 / 3 Current Available (mA): 500 Current Required (mA): 500 Built-In: Yes USB Hi-Speed Bus: Host Controller Location: Built-in USB Host Controller Driver: AppleUSBEHCI PCI Device ID: 0x1e26 PCI Revision ID: 0x0004 PCI Vendor ID: 0x8086 Bus Number: 0x1d Hub: Product ID: 0x0024 Vendor ID: 0x8087 (Intel Corporation) Version: 0.00 Speed: Up to 480 Mb/sec Location ID: 0x1d100000 / 2 Current Available (mA): 500 Current Required (mA): 0 Built-In: Yes Hub: Product ID: 0x2513 Vendor ID: 0x0424 (SMSC) Version: b.b3 Speed: Up to 480 Mb/sec Location ID: 0x1d180000 / 3 Current Available (mA): 500 Current Required (mA): 2 Built-In: Yes Internal Memory Card Reader: Product ID: 0x8404 Vendor ID: 0x05ac (Apple Inc.) Version: 3.10 Serial Number: 000000000310 Speed: Up to 480 Mb/sec Manufacturer: Apple Location ID: 0x1d183000 / 6 Current Available (mA): 500 Current Required (mA): 500 Built-In: Yes BRCM20702 Hub: Product ID: 0x4500 Vendor ID: 0x0a5c (Broadcom Corp.) Version: 1.00 Speed: Up to 12 Mb/sec Manufacturer: Apple Inc. Location ID: 0x1d181000 / 5 Current Available (mA): 500 Current Required (mA): 94 Built-In: Yes Bluetooth USB Host Controller: Product ID: 0x821f Vendor ID: 0x05ac (Apple Inc.) Version: 1.50 Speed: Up to 12 Mb/sec Manufacturer: Apple Inc. Location ID: 0x1d181300 / 7 Current Available (mA): 500 Current Required (mA): 0 Built-In: Yes Apple Internal Keyboard / Trackpad: Product ID: 0x024e Vendor ID: 0x05ac (Apple Inc.) Version: 2.19 Speed: Up to 12 Mb/sec Manufacturer: Apple Inc. Location ID: 0x1d182000 / 4 Current Available (mA): 500 Current Required (mA): 40 Built-In: Yes |
右側のに接続するとこのようになりどのポートに接続されたのかわかります。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
USB: USB 3.0 SuperSpeed Bus: Host Controller Location: Built-in USB Host Controller Driver: AppleUSBXHCI PCI Device ID: 0x1e31 PCI Revision ID: 0x0004 PCI Vendor ID: 0x8086 Bus Number: 0x0a USB 3.0 Hi-Speed Bus: Host Controller Location: Built-in USB Host Controller Driver: AppleUSBXHCI PCI Device ID: 0x1e31 PCI Revision ID: 0x0004 PCI Vendor ID: 0x8086 Bus Number: 0x0a USB Hi-Speed Bus: Host Controller Location: Built-in USB Host Controller Driver: AppleUSBEHCI PCI Device ID: 0x1e2d PCI Revision ID: 0x0004 PCI Vendor ID: 0x8086 Bus Number: 0x1a Hub: Product ID: 0x0024 Vendor ID: 0x8087 (Intel Corporation) Version: 0.00 Speed: Up to 480 Mb/sec Location ID: 0x1a100000 / 2 Current Available (mA): 500 Current Required (mA): 0 Built-In: Yes FaceTime HD Camera (Built-in): Product ID: 0x8510 Vendor ID: 0x05ac (Apple Inc.) Version: 80.25 Serial Number: DJHCAJZ2B3DWC7C0 Speed: Up to 480 Mb/sec Manufacturer: Apple Inc. Location ID: 0x1a110000 / 3 Current Available (mA): 500 Current Required (mA): 500 Built-In: Yes USB Hi-Speed Bus: Host Controller Location: Built-in USB Host Controller Driver: AppleUSBEHCI PCI Device ID: 0x1e26 PCI Revision ID: 0x0004 PCI Vendor ID: 0x8086 Bus Number: 0x1d Hub: Product ID: 0x0024 Vendor ID: 0x8087 (Intel Corporation) Version: 0.00 Speed: Up to 480 Mb/sec Location ID: 0x1d100000 / 2 Current Available (mA): 500 Current Required (mA): 0 Built-In: Yes SO-02F: Product ID: 0x01a5 Vendor ID: 0x0fce (Sony Ericsson Mobile Communications AB) Version: 2.32 Serial Number: CB5A1WRYD0 Speed: Up to 480 Mb/sec Manufacturer: Sony Location ID: 0x1d110000 / 8 Current Available (mA): 500 Current Required (mA): 500 Hub: Product ID: 0x2513 Vendor ID: 0x0424 (SMSC) Version: b.b3 Speed: Up to 480 Mb/sec Location ID: 0x1d180000 / 3 Current Available (mA): 500 Current Required (mA): 2 Built-In: Yes Internal Memory Card Reader: Product ID: 0x8404 Vendor ID: 0x05ac (Apple Inc.) Version: 3.10 Serial Number: 000000000310 Speed: Up to 480 Mb/sec Manufacturer: Apple Location ID: 0x1d183000 / 6 Current Available (mA): 500 Current Required (mA): 500 Built-In: Yes BRCM20702 Hub: Product ID: 0x4500 Vendor ID: 0x0a5c (Broadcom Corp.) Version: 1.00 Speed: Up to 12 Mb/sec Manufacturer: Apple Inc. Location ID: 0x1d181000 / 5 Current Available (mA): 500 Current Required (mA): 94 Built-In: Yes Bluetooth USB Host Controller: Product ID: 0x821f Vendor ID: 0x05ac (Apple Inc.) Version: 1.50 Speed: Up to 12 Mb/sec Manufacturer: Apple Inc. Location ID: 0x1d181300 / 7 Current Available (mA): 500 Current Required (mA): 0 Built-In: Yes Apple Internal Keyboard / Trackpad: Product ID: 0x024e Vendor ID: 0x05ac (Apple Inc.) Version: 2.19 Speed: Up to 12 Mb/sec Manufacturer: Apple Inc. Location ID: 0x1d182000 / 4 Current Available (mA): 500 Current Required (mA): 40 Built-In: Yes |
コメントを残す