0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[Linux][command] デバイス_lsusb, lsmod, modprobe

Last updated at Posted at 2025-01-27

USBデバイス

デバイスクラス

デバイスクラス デバイス
HID
Human Interface Deice
キーボード、ジョイスティック、マウスなど
Mass Storage Class USBメモリ、ハードディスクドライブなど
ACM Comunication Device Class モデム、TAなど
Audio Device

lsusb

$ lsusb [オプション]
オプション 英語の由来 説明
(default) list usb システムに接続されているUSBデバイスの基本情報を一覧表示
-v verbose
(冗長な)
詳細に表示する
-t tree 階層構造をツリー状に表示する

デバイスドライバ

lsmod

$ lsmod [オプション]
オプション 英語の由来 説明
(default) list modules 現在ロードされているカーネルモジュールの一覧を表示する
-h help ヘルプメッセージを表示する
-V version lsmod のバージョン情報を表示する

modprobe

$ modprobe [オプション] デバイスドライバ名
オプション 英語の由来 説明
(default) load module 指定したカーネルモジュールをロードする
-v verbose
(冗長な)
実行時の詳細な情報を表示する
-r remove 指定したカーネルモジュールをアンロードする

システム起動時にそのモジュールをロードしないようにする方法

  • /etc/modprobe.d/[*].conf内にblasklist 対象モジュール名を記載する

Ping-t

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?