-
Notifications
You must be signed in to change notification settings - Fork 5
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
Dealing with "provided value did not match any possible option" #2
Comments
Thanks for reporting this issue! Could you run Currently we used the HII interface to manipulate BIOS settings only on OCP servers (and it works well there). But my experiments with my personal laptop showed that the developer of the BIOS firmware haven't implemented the feature correctly/completely (and I was too lazy to write to tech support asking them to fix that), and this is why it doesn't work on my personal laptop. However, your case looks more interesting because of this:
I'm curious if this is a problem on the Also let me modify |
@jat255 : I've just added more verbosity to the code. Could you build |
Thanks for the quick reply! I too was curious, since it looked like I've rebuilt off the latest
If I try to set, the error is now:
I've extracted the HII db, but before I share, is there a way I can review what information is contained within it, just to confirm there's no sensitive information? |
From your reply it is pretty clear what's going on, and this is bad news: It looks like the BIOS firmware haven't exported the EFI variables required to control these settings. Also as the last hope you may look for other tools. For example, there is high probability that your firmware is written by AMI (American Megatrends Inc.), and if so, you may try a tool called A desperate attempt could be to update the BIOS firmware to the latest version. Most likely it won't help, but there is a slight chance that they already fixed this. Also you may take a look at the tools provided at the motherboard vendor website. But since this is a gaming motherboard it is unlikely that they provided a tool for your use case. Sorry :( P.S.: I realized I haven't explained what's going on. So this is what's going on: BIOS firmware exported HiiDB, which contains information about these variables, including the name of the variable, possible values, the name of the "storage" (where the variable value is stored) and the offset inside the storage to access the variable value. But they forgot to export the storage itself (so I cannot access the value of the variable, thus cannot see what's the current value or/and change it). P.P.S.: Also JFYI my understanding is that: |
I guess I need to update |
Hello! I happened across this issue while looking for information on setting hidden UEFI/BIOS settings on my ASRock Z690M-ITX/ax motherboard from within the operating system, and I wanted to see if any of the information from my testing could be of assistance. My system is configured with two drives; one has Ubuntu 22.04 and one has Windows 11. Here are my system specifications, if it helps at all:
Initially on the Ubuntu installation, I got similar results to @jat255 when using I then switched to the Windows 11 installation and attempted to use the I'm rather unfamiliar with exactly how firmware works and I'm not sure if using a different OS would cause different EFI variables to be exported, but this suggests to me that the motherboard is publishing the proper EFI variables and HiiDB to allow the I would like to test if I hope this information was helpful, and please let me know if there is a way to specify UEFI/BIOS passwords in |
@TymanLS : Thank you for this report; this is really insightful! I'm curious would it be difficult to also try
It is not implemented, yet. I even didn't know there is such a feature in this interface. But if |
I would love to, but unfortunately I have not been able to find a copy of the
The only version of |
Thanks for this tool. I'm trying to change my BIOS setting to restore power after external power is lost (it's a remote server, so it is difficult to go hook up a KB and monitor to do this).
The server is running an Asrock AB350 motherboard, and I can see a few relevant parameters in the output of
uefisettings hii show-ifr
:Likewise, in the
list-strings
output, I see that"Restore On AC Power Loss"
as well:If I get that value, it gives the following output:
But if I try to set the value to one of the options indicated by
show-ifr
, I get an error:I assume this is because there are no options allowed in the
Question
output above. Is there any way to set this value on my motherboard, or is this just likely unsupported?Thanks for your help.
This is on a Linux (TrueNAS scale) system:
The text was updated successfully, but these errors were encountered: