web-dev-qa-db-ja.com

ハードウェアにThunderboltポートが存在するかどうかを表示できるコマンドはありますか?

Lspciがこれを行うツールになると思いますが、特定の出力を見つけることができません。コマンドラインから、Thunderboltポートがマシンに存在するかどうかを知る方法はありますか?

私はThunderboltポートを持っていることがわかっている1台のコンピューターを持っています。lspciはこれを示しています。

00:00.0 Host bridge: Intel Corporation Device 3ec2 (rev 07)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Device 3e92
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Device a379 (rev 10)
00:14.0 USB controller: Intel Corporation Device a36d (rev 10)
00:14.2 RAM memory: Intel Corporation Device a36f (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device a368 (rev 10)
00:16.0 Communication controller: Intel Corporation Device a360 (rev 10)
00:17.0 SATA controller: Intel Corporation Device a352 (rev 10)
00:1d.0 PCI bridge: Intel Corporation Device a330 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a306 (rev 10)
00:1f.3 Audio device: Intel Corporation Device a348 (rev 10)
00:1f.4 SMBus: Intel Corporation Device a323 (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device a324 (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10)
01:00.0 Multimedia video controller: Blackmagic Design DeckLink Mini Recorder
02:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)

別のマシンにリモートでログインしていて、Thunderboltポートがあるかどうかを知りたいのですが、lspciは次のように表示します。

00:00.0 Host bridge: Intel Corporation Device 191f (rev 07)
00:01.0 PCI bridge: Intel Corporation Device 1901 (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Device 1912 (rev 06)
00:14.0 USB controller: Intel Corporation Device a12f (rev 31)
00:14.2 Signal processing controller: Intel Corporation Device a131 (rev 31)
00:16.0 Communication controller: Intel Corporation Device a13a (rev 31)
00:16.3 Serial controller: Intel Corporation Device a13d (rev 31)
00:17.0 RAID bus controller: Intel Corporation 82801 SATA Controller [RAID mode] (rev 31)
00:1d.0 PCI bridge: Intel Corporation Device a118 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device a146 (rev 31)
00:1f.2 Memory controller: Intel Corporation Device a121 (rev 31)
00:1f.3 Audio device: Intel Corporation Device a170 (rev 31)
00:1f.4 SMBus: Intel Corporation Device a123 (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)
01:00.0 Multimedia video controller: Blackmagic Design DeckLink Mini Recorder
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5722 Gigabit Ethernet PCI Express
2
mpr

私のシステムでは、少なくともThunderbolt 3では、何も接続されていないと、lshwとlsusbからは見えません(USB3ポートが表示されます)。 Clevo N131WUラップトップを持っています。これは、System76やTuxedoなどのベンダーから購入できます。

つまり、モジュールが読み込まれます。

[tara @ tuxmonster〜] $ lsmod | grep thund 
 intel_wmi_Thunderbolt 16384 0 
 wmi 28672 1 intel_wmi_Thunderbolt 
 [tara @ tuxmonster〜] $

そして、Thunderboltがインストールされていないが同じディストリビューションとカーネル(Arch、4.18)を実行しているデスクトップコンピューターをダブルチェックしましたが、Thunderboltドライバーがデスクトップに読み込まれていません。

0
TaraF

Macハードウェアでは、Thunderboltホットプラグは主にOSによって管理されるため、Thunderboltコントローラーは常に表示されます。

しかし、x86 PCハードウェアでは、Thunderbolt(少なくともThunderbolt 1)はACPIファームウェアによって管理される傾向があり、ホットプラグは標準のPCIeホットプラグイベントのように処理されます。その結果、Thunderboltバスは、何も接続されていない場合、OSから完全に見えなくなります。しかし、何かをそれに接続すると、Linuxの観点から、いくつかのブリッジデバイスが存在するようになります。Thunderboltバスとデバイスにリソースが割り当てられているため、dmesgには多くの出力が表示されます。その中で。

Thunderbolt 3はUSB Type-Cコネクタと共存し、Type-C構成データに表示される場合があるため、検出できる可能性があります。ただし、現時点ではThunderbolt 3を使用しているシステムにはアクセスできないため、現時点では確認できません。

3
telcoM