FwupdPlugin.Smbios.setup_from_kernel

### Method

# FwupdPlugin Smbiossetup_from_kernel

#### Declaration [src]

    gboolean
    fu_smbios_setup_from_kernel (
      FuSmbios* self,
      const gchar* path,
      GError** error
    )

#### Description [src]

Reads SMBIOS value from DMI values provided by the kernel, such as in /sys/class/dmi on Linux.

Available since: | 1.6.2

#### Parameters

`path` | `const gchar*`
| A directory path.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` for success.