Difference between revisions of "Lsusb"
Jump to navigation
Jump to search
↑ https://serverfault.com/questions/348983/mapping-usb-drive-direct-to-libvirt-kvm-virtual-machine
Tags: Mobile web edit, Mobile edit |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <code>lsusb</code> command include in <code>[[usbutils]]</code> package | |
+ | lsusb | ||
+ | Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub | ||
+ | Bus 001 Device 002: ID 05e3:0751 Genesys Logic, Inc. | ||
+ | Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | ||
lsusb | lsusb | ||
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub | Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub | ||
− | Bus 001 Device 002: ID | + | Bus 001 Device 003: ID 8087:0a2b Intel Corp. |
+ | Bus 001 Device 002: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC | ||
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | ||
+ | |||
+ | lsusb | ||
+ | Bus 002 Device 005: ID 1058:25ee [[Western Digital]] Technologies, Inc. My Book 25EE | ||
+ | |||
+ | lsusb -t | ||
+ | /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M | ||
+ | |__ Port 4: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M | ||
+ | /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M | ||
+ | |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M | ||
+ | |__ Port 14: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M | ||
+ | |__ Port 14: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M | ||
+ | /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M | ||
+ | |||
+ | lsusb -vvv | ||
== Related commands == | == Related commands == | ||
* <code>[[virsh attach-device]]</code><ref>https://serverfault.com/questions/348983/mapping-usb-drive-direct-to-libvirt-kvm-virtual-machine</ref> VM_MACHINE file | * <code>[[virsh attach-device]]</code><ref>https://serverfault.com/questions/348983/mapping-usb-drive-direct-to-libvirt-kvm-virtual-machine</ref> VM_MACHINE file | ||
− | * [[minicom]] | + | * <code>[[minicom]]</code> |
+ | * <code>[[mount]]</code> | ||
+ | * <code>[[udisksctl power-off]]</code> | ||
+ | * <code>[[udevadm info]]</code> | ||
+ | * <code>[[usb-modeswitch]]</code> | ||
+ | * <code>[[usb-devices]]</code> | ||
== See also == | == See also == |
Latest revision as of 13:13, 7 December 2020
lsusb
command include in usbutils
package
lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 05e3:0751 Genesys Logic, Inc. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bus 001 Device 002: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb Bus 002 Device 005: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE
lsusb -t /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M |__ Port 4: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M |__ Port 14: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 14: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M
lsusb -vvv
Related commands[edit]
virsh attach-device
[1] VM_MACHINE fileminicom
mount
udisksctl power-off
udevadm info
usb-modeswitch
usb-devices
See also[edit]
- PCI:
lspci
, lshw - USB, USB4, Usb-storage (kernel),
lsusb
,usb-devices
,usbserial
,udisksctl
,usb_modeswitch
, USB-C, Mini USB,/sys/bus/usb/devices/
, FTDI, On The Go adapter (OTG)
Advertising: