2 lsusb 查詢 USB 上已經接的裝置

列出所有的USB 裝置 

使用方法

lsusb [options

描述

lsusb

用於顯示有關所有USB總線在系統中,並連接到他們的所有設備信息的工具。

為了使這個程序的所有功能的使用,你需要有Linux內核2.3.15或更新版本支持的

 /proc/bus/usb interface.

選項

-v
Tells lsusb to be verbose and display detailed information about all devices.
-vv
Tells lsusb to be very verbose and display even more information (actually everything the PCI device is able to tell).
-s [[<bus>]:][<devnum>]]
Show only devices in specified bus and devnum.
-d [<vendor>]:[<product>]
Show only devices with specified vendor and product ID. Both ID’s are given in hexadecimal and may be omitted.
-p <procpath>
Use another path instead of /proc/bus/usb.
-D <device>
Do not scan the /proc/bus/usb directory, instead display only information if the device whose device file is given.
-t
Tells lsusb to dump the physical USB device hierarchy as a tree. 

選項

$lusb

Screen Shot 2014-01-14 at 2.36.41 PM

Linux
CH1 簡介CH10 自動啟動CH2 檔案指令CH20 Q&ACH3 系统指令CH4 用戶管理CH5 網路CH6 shell scriptsCH8 安裝軟體CH9 硬體驅動程式