Hardware - GradedJestRisk/linux-training GitHub Wiki

System overview

inxi $CATEGORIES

Categories:

  • System : S
  • Machine: M

inxi -SM

System:    Host: OCTO-TOPI Kernel: 5.9.6-050906-generic x86_64 bits: 64 Desktop: N/A Distro: Ubuntu 20.10 (Groovy Gorilla) 
Machine:   Type: Laptop System: HP product: HP EliteBook 850 G5 v: N/A serial: <superuser/root required> 
           Mobo: HP model: 83B2 v: KBC Version 04.53.00 serial: <superuser/root required> UEFI: HP v: Q78 Ver. 01.03.00 
           date: 07/18/2018 

Devices

List devices (internal & external) : sudo lshw -short

H/W path               Device           Class          Description
______________________________________________________________________________________________
                                        system         HP EliteBook 850 G5 (3JX18EA#ABF)
/0                                      bus            83B2
/0/1                                    memory         64KiB BIOS
/0/7                                    memory         16GiB System Memory
/0/7/0                                  memory         8GiB SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0,4 ns)
/0/7/1                                  memory         8GiB SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0,4 ns)
/0/d                                    memory         256KiB L1 cache
/0/e                                    memory         1MiB L2 cache
/0/f                                    memory         8MiB L3 cache
/0/10                                   processor      Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
/0/100                                  bridge         Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
(...)
/0/100/14/0/1/4/2                       multimedia     Audioengine HD3
(...)

PCI

List with lspci

You get

// an embedded graphic card
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
// an embedded audio card
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
// an embedded ethernet controller
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)
(..)

USB

List with lsusb

You get

Bus 004 Device 002: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub             
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
(..)
// Embedded Bluetooth, USB internal ?
Bus 001 Device 008: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
(..)
// A mouse wireless dongle
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
// A keyboard 
Bus 001 Device 012: ID 046a:0076 Cherry GmbH 
// A webcam
Bus 001 Device 007: ID 046d:0892 Logitech, Inc. OrbiCam
// A microphone
Bus 001 Device 004: ID b58e:9e84 Blue Microphones Yeti Stereo Microphone
// Masqueraded  Audio DAC (AudioEngine HD3)
Bus 001 Device 016: ID 0a12:1243 Cambridge Silicon Radio, Ltd USB Receiver
(..)

Have a look at

Bus 001 Device 016: ID 0a12:1243 Cambridge Silicon Radio, Ltd USB Receiver

Its 0a12:1243> is made of

  • vendor ID (aka Manufacturer ID): 0a12
  • product ID: 1243

Webcam

Install

sudo apt install v4l-utils
sudo apt install ffmpeg

List devices v4l2-ctl --list-devices

You get, for each physical device (here two), its aliases (here 9)

Brio 100 (usb-0000:00:14.0-1.3.3):
	/dev/video4
	/dev/video5
	/dev/media2

HP 5MP Camera: HP 5MP Camera (usb-0000:00:14.0-5):
	/dev/video0
	/dev/video1
	/dev/video2
	/dev/video3
	/dev/media0
	/dev/media1

Test camera by reading from it

ffplay $DEV
ffplay /dev/video0  
⚠️ **GitHub.com Fallback** ⚠️