In this short guide I show how to find hardware model names that are installed in your Linux computer.
Finding your hardware model names on Linux computer is super simple. Much simpler than on Windows computers, I would say!
Before you start executing the commands, be sure that you have them installed. Under Ubuntu and its derivatives you can easily install them with apt-get install lspci lsusb lsscsi command. If you still cannot execute them, use sudo before the command.
Identifying USB devices
You can identify model names of your USB devices with lsusb command:
adam@adam-laptop ~ $ lsusb (...) Bus 002 Device 004: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec Bus 001 Device 003: ID 138a:0007 Validity Sensors, Inc. VFS451 Fingerprint Reader
From the output of lsusb ran on my computer we can easily identify all my hardware. I have an integrated soundcard based on PCM2902 chipset and VFS451 fingerprint scanner.
Identifying PCI devices
With lspci command you can find all your PCI hardware (including PCIe ones). adam-laptop adam $ lspci (...) 00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 05) 00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) 01:00.0 VGA compatible controller: NVIDIA Corporation GT215GLM [Quadro FX 1800M] (rev a2) 01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1) 44:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35) 45:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) 46:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 06) 46:06.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 25)
In this case we can see a lot of PCI hardware. In fact, not everything is a real PCI hardware. On Laptops, many integrated devices are using either PCI or USB for communication with the rest of the system.
By looking at this output we can easily recognize what I have installed in my laptop. There is Ricoh card reader, nVidia Quadro FX1800M graphics card, Intel Centrino Ultimate-N6300 wifi card and so on.
Identifying SCSI devices
Topic of SCSI and Linux is a good topic for a separate article, because… various non-SCSI devices are considered as SCSI devices. Therefore, the lsscsi command will not only show your SCSI devices, but also devices like SATA/ATA hard drives or ATAPI optical drives.
adam@adam-laptop ~ $ lsscsi [0:0:0:0] disk ATA Samsung SSD 850 2B6Q /dev/sda [1:0:0:0] cd/dvd hp BD ROM BC-5501H 2.90 /dev/sr0
Here we see that I have only two devices. It’s Samsung SSD 850 drive and HP BC-5501H BlueRay optical drive.
Identifying CPU model
Read my other article about how to identify CPU model on Linux.