Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: Obtain OEM info #10

Closed
seahurt opened this issue Apr 6, 2021 · 4 comments
Closed

feature request: Obtain OEM info #10

seahurt opened this issue Apr 6, 2021 · 4 comments

Comments

@seahurt
Copy link

seahurt commented Apr 6, 2021

like

sudo dmidecode -t 11

output like:

# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0B00, DMI type 11, 5 bytes
OEM Strings
	String 1: Dell System
	String 2: 5[0000]
	String 3: 14[1]
	String 4: 26[0]
	String 5: 17[A4B60183CF8FDCD8]
	String 6: 17[A6BDC5E1EE433F13]
	String 7: 18[0]
	String 8: 19[1]
	String 9: 19[1]
yumaojun03 added a commit that referenced this issue Apr 7, 2021
yumaojun03 added a commit that referenced this issue Apr 7, 2021
@yumaojun03
Copy link
Owner

[root@master1 ~]# ./dmidecode -t system
SMBIOS 2.7.0 - table: address: 0xe0010, size: 10240
Handle 1, DMI type 1, 27 bytes
System Information
Manufacturer: VMware, Inc.
Product Name: VMware Virtual Platform
Version: None
Serial Number: xxxx
UUID: xxxx
Wake-up Type: Power Switch
SKU Number: Unknown
Family: Unknown
Handle 2c, DMI type 11, 5 bytes
OEM Strings
String 1: [MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]
String 2: Welcome to the Virtual Machine

@seahurt
Copy link
Author

seahurt commented Apr 7, 2021

dmidecode -t system cannot output type 11 info

The dmidecode man page has info like:


       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
         ......
       Keyword     Types
       ──────────────────────────────
       bios        0, 13
       system      1, 12, 15, 23, 32
       baseboard   2, 10, 41

       chassis     3
       processor   4
       memory      5, 6, 16, 17
       cache       7
       connector   8
       slot        9

Seems type 11 OEM string won't be printed, or at lease not fully printed

@yumaojun03
Copy link
Owner

yumaojun03 commented Apr 7, 2021 via email

yumaojun03 added a commit that referenced this issue Apr 7, 2021
@yumaojun03
Copy link
Owner

[root@master1 ~]# ./dmidecode -t 11
SMBIOS 2.7.0 - table: address: 0xe0010, size: 10240
Handle 2c, DMI type 11, 5 bytes
OEM Strings
String 1: [MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]
String 2: Welcome to the Virtual Machine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants