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

smbios3 tables are not properly detected #24

Closed
superm1 opened this issue Nov 16, 2017 · 2 comments
Closed

smbios3 tables are not properly detected #24

superm1 opened this issue Nov 16, 2017 · 2 comments

Comments

@superm1
Copy link
Contributor

superm1 commented Nov 16, 2017

Some systems offer both traditional smbios tables and smbios3 tables. libsmbios usually works OK in these instances.

Other systems (such as the XPS 9365) offer ONLY SMBIOS3 tables. libsmbios isn't able to find table entry points (because they don't exist).
Current code:
https://github.com/dell/libsmbios/blob/master/src/libsmbios_c/smbios/smbios_obj.c#L446

3ff0ae3 made libsmbios claim that it supported smbios3 tables when it uh, really didn't.

the fwupd project has an example of how to parse smbios 3.0 tables.
https://github.com/hughsie/fwupd/blob/master/src/fu-smbios.c#L282

@superm1 superm1 modified the milestones: 2.5, 2.4 Nov 16, 2017
@superm1
Copy link
Contributor Author

superm1 commented Jan 28, 2018

I've made a stab at doing this. It works pretty well for me on an XPS 9365 (which uses SMBIOS 3.0).
https://github.com/dell/libsmbios/tree/smbios3

@superm1
Copy link
Contributor Author

superm1 commented Jan 29, 2018

5f84035

@superm1 superm1 closed this as completed Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant