In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail about using the lsusb command of linux to display the list of USB devices. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
The lsusb command is used to display a list of native USB devices, as well as details of USB devices.
The USB device information displayed by the lsusb command comes from the corresponding file in the "/ proc/bus/usb" directory.
Syntax format: lsusb [parameters]
Common parameters:
-v displays details of USB devices-s displays only devices with specified bus and / or device numbers-d displays only devices with specified manufacturer and product numbers-t displays the hierarchy of unreasonable USB devices in a tree structure-V displays version information of the command
Reference example
Display a list of USB devices:
[root@linuxcool] # lsusbBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB HubBus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Display a list of USB devices in a tree:
[root@linuxcool ~] # lsusb-t Port: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12m | _ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12m | _ Port 2: Dev 3, If 0, Class=Hub, Driver=hub/7p, 12m Dev: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480m
Display USB device details:
[root@linuxcool] # lsusb-v this is the end of the list of USB devices displayed using the lsusb command of linux. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.