SMBIOSから情報を取得する - ページ 2

 
Edgar Akhmadeev:

それは全排気量ですか?

気づかなかった、すみません、空白行が紛らわしかったようです


 
Edgar Akhmadeev:

もう一つ訂正です。

空白の値。

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:  
 

hwinfoで矛盾がある場合、できればMotherboard/SMBIOS DMIツリーからBIOS、System、Mainboard、System enclosureタブでhwinfoから完全なテスト出力とスクリーンショットを提供する。そうでないとデバッグできない。

Vitaly Muzichenko:


UUIDは間違ったフォーマットです。生データ出力のデバッグを追加します。

 
Edgar Akhmadeev:

hwinfoで矛盾がある場合、できればMotherboard/SMBIOS DMIツリーからBIOS、System、Mainboard、System enclosureタブでhwinfoから完全なテスト出力とスクリーンショットを提供する。そうでないとデバッグできない。

UUIDは間違ったフォーマットです。生データ出力のデバッグを追加します。

UUIDは最も価値のある値でなければならない?

 
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:

UUIDは、おそらく最も価値のある値なのでは?

3つのシリアルナンバーのうち、常時使用できるのはこの1つだけです。だから、こだわらないといけない。

 
Edgar Akhmadeev:

3シリーズの中で唯一、常時使用可能。だから、自分を縛る必要があるんです。

UPUや Vineではどうなるのでしょうか?

 
コレクション
ファイル:
SMBIOS.mqh  5 kb
 
JRandomTrader:

私のコンピュータのuuidは、hwinfoのデータと正確に一致しています。変換コードは、c++の例から引用しています。

hwinfoでは、どちらでしょうか?

 
Edgar Akhmadeev:

私のコンピュータのuuidは、hwinfoのデータと正確に一致しています。変換コードは、c++の例から引用しています。

hwinfoでは、どちらでしょうか?

どこで調べればいいのでしょうか?

今、ゼロがたくさんあります。