Skip to content

Populate SMBIOS serial number #432

@MilesBHuff

Description

@MilesBHuff

dmidecode -t system has many missing fields; example:

# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: System76
        Product Name: Oryx Pro
        Version: oryp7
        Serial Number: 123456789
        UUID: Not Settable
        Wake-up Type: Reserved
        SKU Number: Not Specified
        Family: Not Specified

Handle 0x000D, DMI type 32, 11 bytes
System Boot Information
        Status: No errors detected

As you can see above, the "Serial Number", "UUID", "SKU Number", and "Family" are undefined.


The serial number is actually used by KDE in the "About this System" menu:
image
I would like to have my BIOS report the correct serial number so that, in the future, I can get that serial number from KDE instead of by turning the laptop upside down.


I posted about this first on Reddit; the contents of that post are copied below:

dmidecode -t system returns a serial number of "123456789". How can I change this to be my *actual* serial number?

Related: The "SKU Number" is "Not Specified", the "Family" is "Not Specified", and the UUID is "Not Settable".

I know none of these settings really impact day-to-day usage, but KDE's SystemSettings5 has a place where you can view your serial number, and I'd like for mine to display correctly there. It would be nice to have, so that I could copy/paste it for support tickets.

https://www.reddit.com/r/System76/comments/14h8bva/bios_has_fake_default_serial_number


One commenter mentioned that it's because System76 has not yet implemented reading from a "CBFS" file.
I didn't see an issue about this exactly, so I am creating one here to track the issue.

They're hard-coded values in coreboot. You will need to recompile the firmware to change them. See: src/arch/x86/smbios{,_defaults}.c.

There's a config to read the UUID from a CBFS file, but we don't use it.

https://www.reddit.com/r/System76/comments/14h8bva/comment/jpfhvfw/?utm_source=share&utm_medium=web2x&context=3


Related: #268

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions