Difference between revisions of "Lsusb"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
<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
 +
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 ==
 
== Related commands ==
* <code>[[virsh attach-device]]</code>
+
* <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>[[minicom]]</code>
 +
* <code>[[mount]]</code>
 +
* <code>[[udisksctl power-off]]</code>
 +
* <code>[[udevadm info]]</code>
 +
* <code>[[usb-modeswitch]]</code>
 +
* <code>[[usb-devices]]</code>
  
 +
== See also ==
 +
* {{lspci}}
 +
* {{USB}}
  
== See also ==
+
[[Category:Linux]]
* <code>[[lspci]]</code>
 

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]

See also[edit]

  • https://serverfault.com/questions/348983/mapping-usb-drive-direct-to-libvirt-kvm-virtual-machine
  • Advertising: