![lsusb 2 lsusb 2](https://skjoldtech.files.wordpress.com/2019/04/lsusb-1.png)
|_ Port 2: Dev 12, If 0, Class=Mass Storage, Driver=uas, 5000M |_ Port 1: Dev 11, If 0, Class=Mass Storage, Driver=usb-storage, 5000M : Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M : Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M : Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
![lsusb 2 lsusb 2](http://2.bp.blogspot.com/-xEnRFFEWmfU/UoD4dCEzQUI/AAAAAAAAJq0/L6ukNfkx-P4/w1200-h630-p-k-no-nu/lsusb.png)
: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M |_ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M |_ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M : Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M Perfect, now let’s get the tree version… ⚡ /sys/bus/usb/devices/1-2.4 lsusb -t VL812 Hubīus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
#LSUSB 2 PLUS#
VL812 Hubīus 003 Device 009: ID 0bc2:ab38 Seagate RSS LLC Backup Plus Hubīus 003 Device 006: ID 0bc2:ab45 Seagate RSS LLCīus 003 Device 004: ID 0bc2:331a Seagate RSS LLCīus 003 Device 002: ID 2109:0812 VIA Labs, Inc. Elements Desktop (WDBWLG)īus 003 Device 007: ID 2109:0812 VIA Labs, Inc. PL2773 SATAII bridge controllerīus 003 Device 005: ID 05e3:0620 Genesys Logic, Inc.īus 003 Device 003: ID 0bda:0411 Realtek Semiconductor Corp.īus 003 Device 012: ID 0bc2:ac25 Seagate RSS LLCīus 003 Device 011: ID 1058:25a3 Western Digital Technologies, Inc. ⚡ /sys/bus/usb/devices/1-2.4 lsusbīus 008 Device 002: ID 03f0:1027 HP, Inc Virtual keyboard and mouseīus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubīus 003 Device 010: ID 05e3:0749 Genesys Logic, Inc.īus 003 Device 008: ID 067b:2773 Prolific Technology, Inc. Perfect, you found the path to your device under sys… now lets look at lsusb. Same if you have an idVendor: grep 05e3 /sys/bus/usb/devices/*/idVendor Let’s say we already have this info we want to be able to… I don’t know de-auth the device, so it’s like we manually disconnected it.Īssuming you have a device with idProduct 0610, do the following: grep 0610 /sys/bus/usb/devices/*/idProduct