The command lsusb lists all USB devices.
With the option -v
, print a more detailed list.
The detailed information is read from
the directory /proc/bus/usb/
.
The following is the output of lsusb
after a USB memory stick was attached. The last lines indicate
the presence of the new device.
Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 001 Device 018: ID 0402:5634 ALi Corp.