首页 > 编程知识 正文

交换机查看设备信息命令,联想怎么查看设备信息

时间:2023-05-06 05:49:32 阅读:238787 作者:3484

了解lsusb命令

Linux使用lsusb查看USB设备疯狂的夕阳。

1. 查看USB设备汇总疯狂的夕阳

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

2.查看USB详细疯狂的夕阳

部分输出结果:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Device Descriptor:

bLength 18

bDescriptorType 1

bcdUSB 2.00

bDeviceClass 9 Hub

bDeviceSubClass 0 Unused

bDeviceProtocol 0 Full speed (or root) hub

bMaxPacketSize0 64

idVendor 0x1d6b Linux Foundation

idProduct 0x0002 2.0 root hub

bcdDevice 2.06

iManufacturer 3 Linux 2.6.32-431.el6.x86_64 ehci_hcd

iProduct 2 EHCI Host Controller

iSerial 1 0000:00:1d.7

bNumConfigurations 1

Configuration Descriptor:

bLength 9

bDescriptorType 2

wTotalLength 25

bNumInterfaces 1

bConfigurationValue 1

iConfiguration 0

bmAttributes 0xe0

Self Powered

Remote Wakeup

Interface Descriptor:

bLength 9

bDescriptorType 4

bInterfaceNumber 0

bAlternateSetting 0

bNumEndpoints 1

bInterfaceClass 9 Hub

bInterfaceSubClass 0 Unused

bInterfaceProtocol 0 Full speed (or root) hub

iInterface 0

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0x81 EP 1 IN

bmAttributes 3

Transfer Type Interrupt

Synch Type None

Usage Type Data

wMaxPacketSize 0x0004 1x 4 bytes

bInterval 12

Hub Descriptor:

bLength 11

bDescriptorType 41

nNbrPorts 8

wHubCharacteristic gtdfh/p>

No power switching (usb 1.0)

Per-port overcurrent protection

bPwrOn2PwrGood 10 * 2 milli seconds

bHubContrCurrent 0 milli Ampere

DeviceRemovable 0x00 0x00

Hub Port Status:

Port 1: 0000.0100 power

Port 2: 0000.0100 power

Port 3: 0000.0100 power

Port 4: 0000.0100 power

Port 5: 0000.0100 power

Port 6: 0000.0100 power

Port 7: 0000.0100 power

Port 8: 0000.0100 power

Device Status: 0x0003

Self Powered

Remote Wakeup Enabled

3. 树状输出疯狂的夕阳

/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M

/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M

/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M

/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M

/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。