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

wrong smbios vendor and version? #7

Closed
draeath opened this issue Sep 21, 2021 · 4 comments
Closed

wrong smbios vendor and version? #7

draeath opened this issue Sep 21, 2021 · 4 comments

Comments

@draeath
Copy link
Contributor

draeath commented Sep 21, 2021

Before I submit a PR, I wanted to confirm this is an issue with my specific system due to flashing my BIOS, and not something else.


While writing a patch to bring support parity /w the system76-power linux daemon, I ran into some odd behavior.

During some hardware troubleshooting after receiving my Thelio, I flashed the motherboard BIOS. After doing so, on Linux, the correct 'system76' vendor and 'thelio-major-r2.1' version were reported in journalctl and the daemon ran the fans as expected. However, since installing Windows and building/testing my patch, I found that it was receiving completely different data! Instead of the system76 OEM designations, the data was related to Gigabyte (board manufacturer).

I was easily able to add an additional patch so that I have functional fan control, but I'm wondering if the wrong smbioslib "fields" are being queried? (apologies if the terminology is wrong, this patch was actually my first exposure to rust!)

Expected:

  • sys.manufacturer(): 'system76'
  • sys.version(): 'thelio-major-r2.1'

Actual:

  • sys.manufacturer(): 'Gigabyte Technology Co., Ltd.'
  • sys.version(): '-CF'

My patches, for reference:

If it is useful (ie to look at the hardware configuration as shipped), I can provide an order number or serial number.

@draeath
Copy link
Contributor Author

draeath commented Oct 14, 2021

Really hoping for some feedback on this :(

@jackpot51 sorry for the ping, but is this fine here or should I go open a ticket instead?

@draeath
Copy link
Contributor Author

draeath commented Dec 12, 2021

Minor update: using a Pop!_OS 21.04 liveCD to troubleshoot something else for support, I found that system76-daemon in that version doesn't like my system there either, contrary to my initial confirmation. I see the following in that environment:

system76-daemon[18352]: 2021-12-12 05:10:51,490  WARNING  invalid sys_vendor: 'Gigabyte Technology Co., Ltd.'
system76-daemon[18352]: 2021-12-12 05:10:51,490  INFO  model: None

@leviport
Copy link
Member

During some hardware troubleshooting after receiving my Thelio, I flashed the motherboard BIOS.

Was this with Gigabyte or System76 firmware? If the former, the Support team will be able to get you a USB image with System76 firmware which will have the proper DMI values. For further explanation, these DMI values are baked into the firmware, so if Gigabyte BIOS is installed, the motherboard will no longer be identified as a System76 product.

@draeath
Copy link
Contributor Author

draeath commented Dec 13, 2021

Yep, support is getting me hooked up with the correct image.

Once I have that confirmed to be working as expected I'll submit that PR.

@draeath draeath closed this as completed Apr 13, 2022
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