![]() ![]() |_ Port 4: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M You can see this more clearly with the tree view: There are two physical EHCI host controllers (USB 2.0), and one xHCI host controller (USB 3.0). The pertinent bits for this article are as follows. The architecture is rather interesting, and you can read all the endless details in the 815-page datasheet. There are no North and South bridges as there were in in the olden Intel days everything is managed in a single chip. This particular controller manages all I/O between the CPU and the rest of the system. #LSUSB DEVICE ID TTY SERIES#On this system this is the Intel 9 Series Chipset Family Platform Controller Hub (PCH). In the above output there are two physical host controllers: 8087:8001 Intel Corp. The device ID tells us the USB standard, so 1d6b:0002 is a USB 2.0 bus, and 1d6b:0003 is USB 3.0. Its device number is always 001, and the manufacturer is always 1d6b: Linux Foundation. The root hub is a virtual device that represents the USB bus. There are only two external USB devices in the above output, a Ralink wi-fi dongle and a USB mouse. But some 2.0 devices had problems with 3.0 controllers, so it made sense to have both. The above output is on an older system that includes both 3.0 and 2.0 controllers, which may seem odd because USB standards are always backwards-compatible. It also tells us a lot of interesting details, starting with bus assignments. This may be all you ever need to verify what USB devices are connected to your system, and whether it is seeing all of them. Optical Wheel Mouseīus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub RT5372 Wireless Adapterīus 003 Device 004: ID 046d:c018 Logitech, Inc. My guess is it’s obsolete as it was last updated in 2009, so let us move on to the freakishly useful lsusb:īus 002 Device 002: ID 8087:8001 Intel Corp.īus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 001 Device 002: ID 8087:8009 Intel Corp.īus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubīus 003 Device 003: ID 148f:5372 Ralink Technology, Corp. openSUSE and CentOS also package lsusb.py, but don’t include any documentation for it. This includes usb-devices, lsusb, and usbhid-dump. The usbutils suite of commands probes your USB bus and tells you everything about it. Consult the fine man page, man lshw, and see Hardware Lister (lshw) for detailed information on what all the fields mean. #LSUSB DEVICE ID TTY SERIAL#No worries, because I can call up excruciatingly detailed information by omitting the -short option:Ĭheck it out, the serial number, vendor, and everything. In the first example I see my motherboard model, H97M Pro4, but I don’t remember anything else about it. ![]() Use -volume to show all of your partitions. 0/100/1f.2 storage 9 Series Chipset Family $ sudo lshw -short -class storage -class disk This example displays all storage devices, including a USB stick: The Class column contains the categories of your devices, and you can query by class. The Device column displays devices such as USB host controllers, hard drives, network interfaces, and connected USB devices. The lshw output tells you exact locations, like which memory slots are occupied, and which ports your SATA drives are connected to. You can see these in the filesystem with ls -l /sys/bus/*/*, or look in /proc/bus. 0 is system/bus, your computer/motherboard. This abbreviated example displays the hardware paths, which are the bus addresses. #LSUSB DEVICE ID TTY PC#On my Dell PC it says “Precision Tower 5810” (0617). I assembled this system, so there is no OEM description. 0/b/1 memory 8GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns) If you run lshw with no options you get a giant data dump, so try storing the results in a text file for leisurely analysis, and run it with root permissions for complete results: It’s a tiny little command, weighting in at a mere 639k, and yet it reveals much. The glorious lshw (list hardware) command reveals, in excruciating detail, everything about your motherboard and everything connected to it. This is a wonderful rabbit hole to fall down and get lost in as you learn everything about your hardware down to minute details, without ever opening the case. ![]() In today’s stupendous roundup, we will dig into the beloved lshw (list hardware) and lsusb (list USB) commands. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |