Mise à jour : Debian 11.2 / Bullseye
Références
Page de manuel Debian dmidecode https://manpages.debian.org/dmidecode
Page de manuel Debian biosdecode https://manpages.debian.org/biosdecode
Terminology - Extrait des définitions Wikipedia
SMBIOS : In computing, the System Management BIOS (SMBIOS) specification defines data structures (and access methods) that can be used to read information stored in the BIOS of a computer.[
DMIBios : Desktop Management Interface (ancienne appellation de SMBIOS)
DMI : The Desktop Management Interface (DMI) generates a standard framework for managing and tracking components in a desktop, notebook or server computer, by abstracting these components from the software that manages them
Sommaire
Installer le paquet dmidecode qui fournit les utilitaires dmidecode et biosdecode.
$ sudo aptitude install dmidecode
$ sudo dmidecode --version
3.3
biosdecode permet d'afficher des informations sur les entrées de la table DMI
$ sudo biosdecode
# biosdecode 3.3
ACPI 2.0 present.
OEM Identifier: INTEL
RSD Table 32-bit Address: 0x7A438028
XSD Table 64-bit Address: 0x000000007A4380A8
Le noyau effectue une copie de la table SMBIOS dans sysfs. Pour l'afficher :
$ sudo cat /sys/firmware/dmi/tables/DMI |hexdump -C
00000000 00 1a 00 00 01 02 00 f0 03 ff 80 98 8b 37 01 00 |.............7..|
00000010 00 00 03 0d 05 06 03 19 10 00 49 6e 74 65 6c 20 |..........Intel |
00000020 43 6f 72 70 2e 00 42 45 43 46 4c 33 35 37 2e 38 |Corp..BECFL357.8|
00000030 36 41 2e 30 30 38 35 2e 32 30 32 30 2e 31 30 30 |6A.0085.2020.100|
00000040 37 2e 31 39 31 37 00 31 30 2f 30 37 2f 32 30 32 |7.1917.10/07/202|
00000050 30 00 00 01 1b 01 00 01 02 03 04 7c c1 56 33 17 |0..........|.V3.|
00000060 f3 78 22 2c 72 1c 69 7a 68 a7 b5 06 05 06 49 6e |.x",r.izh.....In|
00000070 74 65 6c 28 52 29 20 43 6c 69 65 6e 74 20 53 79 |tel(R) Client Sy|
00000080 73 74 65 6d 73 00 4e 55 43 38 69 35 42 45 48 00 |stems.NUC8i5BEH.|
00000090 4a 37 32 37 34 37 2d 33 30 38 00 47 36 42 45 30 |J72747-308.G6BE0|
$ ls /sys/devices/virtual/dmi/id/
bios_date board_vendor ec_firmware_release product_uuid
bios_release board_version modalias product_version
bios_vendor chassis_asset_tag power subsystem
bios_version chassis_serial product_family sys_vendor
board_asset_tag chassis_type product_name uevent
board_name chassis_vendor product_serial
board_serial chassis_version product_sku
$ cat /sys/devices/virtual/dmi/id/bios_*
10/07/2020
5.6
Intel Corp.
BECFL357.86A.0085.2020.1007.1917
ou en utilisant udevadm info :
$ udevadm info -a -p /sys/devices/virtual/dmi/id |tail
ATTR{power/runtime_enabled}=="disabled"
ATTR{power/runtime_status}=="unsupported"
ATTR{power/runtime_suspended_time}=="0"
ATTR{power/runtime_usage}=="0"
ATTR{product_family}=="BE"
ATTR{product_name}=="NUC8i5BEH"
ATTR{product_sku}=="BOXNUC8i5BEH"
ATTR{product_version}=="J72747-308"
ATTR{sys_vendor}=="Intel(R) Client Systems"
Afficher la liste des mots clés :
# dmidecode -s
dmidecode: option requires an argument -- 's'
String keyword expected
Valid string keywords are:
bios-vendor
bios-version
bios-release-date
bios-revision
firmware-revision
system-manufacturer
system-product-name
system-version
system-serial-number
system-uuid
system-sku-number
system-family
baseboard-manufacturer
baseboard-product-name
baseboard-version
baseboard-serial-number
baseboard-asset-tag
chassis-manufacturer
chassis-type
chassis-version
chassis-serial-number
chassis-asset-tag
processor-family
processor-manufacturer
processor-version
processor-frequency
Version du Bios
$ sudo dmidecode -s bios-version
BECFL357.86A.0085.2020.1007.1917
$ sudo dmidecode -s bios-release-date
10/07/2020
Type PC
$ sudo dmidecode -s chassis-type
Mini PC
Fabricant
$ sudo dmidecode -s system-manufacturer
Intel(R) Client Systems
Modèle
$ sudo dmidecode -s system-product-name
NUC8i5BEH
Processeur
$ sudo dmidecode -s processor-version
Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Afficher la liste des types :
$ sudo dmidecode -t
dmidecode: option requires an argument -- 't'
Type number or keyword expected
Valid type keywords are:
bios
system
baseboard
chassis
processor
memory
cache
connector
slot
Mémoire
$ sudo dmidecode -t memory
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.2.1 present.
Handle 0x003B, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 32 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x003C, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x003B
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 8 GB
Form Factor: SODIMM
Set: None
Locator: SODIMM1
Bank Locator: Memory Channel A
Type: DDR4
Type Detail: Synchronous
Speed: 2400 MT/s
Manufacturer: 859B
Serial Number: E0CA8389
Asset Tag: 9876543210
Part Number: CT8G4SFS824A.C8FBD1
Rank: 1
Configured Memory Speed: 2400 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
La liste des types numériques est rappelée dans le manuel :
DMI TYPES
The SMBIOS specification defines the following DMI types:
Type Information
────────────────────────────────────────────
0 BIOS
1 System
2 Baseboard
3 Chassis
4 Processor
5 Memory Controller
6 Memory Module
7 Cache
8 Port Connector
9 System Slots
10 On Board Devices
11 OEM Strings
12 System Configuration Options
13 BIOS Language
14 Group Associations
15 System Event Log
16 Physical Memory Array
17 Memory Device
18 32-bit Memory Error
19 Memory Array Mapped Address
20 Memory Device Mapped Address
21 Built-in Pointing Device
22 Portable Battery
23 System Reset
24 Hardware Security
25 System Power Controls
26 Voltage Probe
27 Cooling Device
28 Temperature Probe
29 Electrical Current Probe
30 Out-of-band Remote Access
31 Boot Integrity Services
32 System Boot
33 64-bit Memory Error
34 Management Device
35 Management Device Component
36 Management Device Threshold Data
37 Memory Channel
38 IPMI Device
39 Power Supply
40 Additional Information
41 Onboard Devices Extended Information
42 Management Controller Host Interface
Liste des connecteurs : type 8
$ sudo dmidecode -t 8
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.2.1 present.
Handle 0x0004, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3A1
Internal Connector Type: None
External Reference Designator: USB1
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0005, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3A1
Internal Connector Type: None
External Reference Designator: USB3
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0006, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5A1
Internal Connector Type: None
External Reference Designator: LAN
External Connector Type: RJ-45
Port Type: Network Port
Handle 0x0007, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5A1
Internal Connector Type: None
External Reference Designator: USB4
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5A1
Internal Connector Type: None
External Reference Designator: USB5
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J9C1 - PCIE DOCKING CONN
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2B3 - CPU FAN
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J6C2 - EXT HDMI
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2G1 - GFX VID
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1G6 - AC JACK
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other
Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J7H2 - SATA PWR
Internal Connector Type: Other
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other