Recuperare informazioni da SMBIOS - pagina 2

 
Edgar Akhmadeev:

È tutto lo scarico?

Non l'avevo notato, scusate, la linea vuota mi confondeva


 
Edgar Akhmadeev:

Un'altra correzione.

Valori vuoti.

2021.03.23 15:00:50.344 Product Version:  
2021.03.23 15:00:50.344 Product Serial Number:  
2021.03.23 15:00:50.344 SKU Number:  
2021.03.23 15:00:50.344 Family:  
2021.03.23 15:00:50.344 Mainboard Serial Number:  
2021.03.23 15:00:50.344 Location in chassis:  
 

Se ci sono incongruenze con hwinfo, date preferibilmente un output di prova completo e screenshot da hwinfo dalle schede BIOS, Sistema, Scheda madre e Sistema di chiusura dall'albero Scheda madre/SMBIOS DMI. Non posso fare il debug altrimenti.

Vitaly Muzichenko:


UUID è il formato sbagliato. Aggiungerò il debug dei dati grezzi in uscita.

 
Edgar Akhmadeev:

Se ci sono incongruenze con hwinfo, sarebbe auspicabile dare un output di test completo e screenshot da hwinfo dalle schede BIOS, Sistema, Mainboard e System enclosure dall'albero Motherboard/SMBIOS DMI. Non posso fare il debug altrimenti.

UUID è il formato sbagliato. Aggiungerò il debug dei dati grezzi in uscita.

UUID deve essere il valore più prezioso di tutti?

 
DI      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       System Management BIOS Version: 2.4
MS      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       System BIOS Version: 255.255
RO      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       Embedded Controller Firmware Version: 255.255
HF      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       BIOS Vendor: SeaBIOS
DL      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       BIOS Version: 1.12.0-1
EJ      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       BIOS Release Date: 04/01/2014
OP      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       UUID: {56 de41fb-856-340-a016-96983884 bd67}
QS      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       System Manufacturer: QEMU
FG      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       Product Name: Standard PC (Q35 + ICH9, 2009)
NS      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       Product Version: pc-q35-3.1
KJ      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       Product Serial Number: QEMU
KO      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       SKU Number: pc-q35-3.1
CD      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       Family:
OR      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       Mainboard Manufacturer:
KJ      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       Mainboard Name:
LL      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       Mainboard Version:
QJ      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       Mainboard Serial Number:
CM      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       Asset Tag:
IK      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       Location in chassis:
DS      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       {56 de41fb-856-340-a016-96983884 bd67}
CP      0       16:12:34.219    test_SMBIOS (Si-6.21,M15)       QEMU
#  dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
12 structures occupying 524 bytes.
Table at 0x000F5840.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: SeaBIOS
        Version: 1.12.0-1
        Release Date: 04/01/2014
        Address: 0xE8000
        Runtime Size: 96 kB
        ROM Size: 64 kB
        Characteristics:
                BIOS characteristics not supported
                Targeted content distribution is supported
        BIOS Revision: 0.0

Handle 0x0100, DMI type 1, 27 bytes
System Information
        Manufacturer: QEMU
        Product Name: Standard PC (Q35 + ICH9, 2009)
        Version: pc-q35-3.1
        Serial Number: Not Specified
        UUID: 1 C48EB8C-FD03-4 CD4-A3D9-E3133CB57511
        Wake-up Type: Power Switch
        SKU Number: Not Specified
        Family: Not Specified

Handle 0x0300, DMI type 3, 21 bytes
Chassis Information
        Manufacturer: QEMU
        Type: Other
        Lock: Not Present
        Version: pc-q35-3.1
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Boot-up State: Safe
        Power Supply State: Safe
        Thermal State: Safe
        Security Status: Unknown
        OEM Information: 0x00000000
        Height: Unspecified
        Number Of Power Cords: Unspecified
        Contained Elements: 0

Handle 0x0400, DMI type 4, 42 bytes
Processor Information
        Socket Designation: CPU 0
        Type: Central Processor
        Family: Other
        Manufacturer: QEMU
        ID: A1 06 02 00 FF FB 8 B 07
        Version: pc-q35-3.1
        Voltage: Unknown
        External Clock: Unknown
        Max Speed: 2000 MHz
        Current Speed: 2000 MHz
        Status: Populated, Enabled
        Upgrade: Other
        L1 Cache Handle: Not Provided
        L2 Cache Handle: Not Provided
        L3 Cache Handle: Not Provided
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified
        Core Count: 1
        Core Enabled: 1
        Thread Count: 1
        Characteristics: None

Handle 0x0401, DMI type 4, 42 bytes
Processor Information
        Socket Designation: CPU 1
        Type: Central Processor
...
 
Vitaly Muzichenko:

L'UUID è probabilmente il valore più prezioso di tutti?

L'unico dei tre numeri di serie disponibili in ogni momento. Quindi bisogna attenersi ad esso.

 
Edgar Akhmadeev:

L'unica delle tre serie disponibile in ogni momento. Quindi devi legarti ad esso.

Come funzionerà sull'UPU e sulla Vine?

 
Correzioni
File:
SMBIOS.mqh  5 kb
 
JRandomTrader:

L'uuid sul mio computer corrisponde esattamente ai dati hwinfo. Il codice di conversione è preso dall'esempio in c++.

In hwinfo, quale hai?

 
Edgar Akhmadeev:

L'uuid sul mio computer corrisponde esattamente ai dati hwinfo. Il codice di conversione è preso dall'esempio in c++.

In hwinfo, quale hai?

Dove posso cercarlo?

Ci sono molti zeri in questo momento.