coreboot-configurator icon indicating copy to clipboard operation
coreboot-configurator copied to clipboard

Add option to change fn_lock_state in gui

Open stsdc opened this issue 3 years ago • 5 comments

Related code: https://github.com/StarLabsLtd/coreboot-configurator/blob/95fe2974bfca7e28b2f2e145bd25b3e7842002c9/src/application/qrc/categories.yaml#L101-L104

But not showed on the GUI: obraz

stsdc avatar Dec 08 '21 21:12 stsdc

It looks like you can change this via the Raw tab when you select Advanced mode.

image

However I don't know what to change the value to....... and I'm too scared to guess :fearful: .

+1 to adding this via the GUI but in the meantime any advice on what the valid options are for this via Raw? Or where to find the options?

mezpahlan avatar Dec 28 '21 16:12 mezpahlan

I took a punt at it and changed the value to 0x0 which seems to have done the trick. Confirmation from someone better in the know would be great.

mezpahlan avatar Dec 28 '21 18:12 mezpahlan

Yeah, 0x00 does the thing.

stsdc avatar Dec 28 '21 23:12 stsdc

So it seems it's a bool value but uses hex instead of "Enabled"/"Disabled" strings? Heh, didn't know such thing exists, would require some coding to make it working.

LordTermor avatar Dec 29 '21 23:12 LordTermor

That value is changed by pressing the lock key, which is why it isn't in the main window. It can be done, but not very useful as it needs a reboot to change it.

Sean-StarLabs avatar Jun 23 '22 10:06 Sean-StarLabs