hp_wmi_set_bios_setting(9)
π hp_wmi_set_bios_setting β like, the Kernel API Manual page, bestie β¨
Okay so gather round, because we're talking about hp_wmi_set_bios_setting(9) β a little function from the Kernel API Manual and honestly? She's giving "small but mighty." π Her whole thing is setting a setting's value in BIOS. That's it. That's the job. And she does it slayfully. πΈ
β¨ NAME β¨
hp_wmi_set_bios_setting β Set setting's value in BIOS π«Ά
Like literally, that's the whole vibe. She writes a value into BIOS. Iconic behavior, no notes. π
π¦ SYNOPSIS π¦
int hp_wmi_set_bios_setting (u16 *input_buffer , u32 input_size );
That's her signature, character for character, do NOT touch it. π
π ARGUMENTS π
input_bufferβ the Input buffer address, aka where the buffer lives. That's the spot. Show her the spot. πinput_sizeβ the Input buffer size, aka how big that spot is. Gotta know the size, bestie, otherwise it's chaos. π
β RETURN β
So what does she give back? If everything's cute and successful, you get the count of unicode characters written to BIOS. Slay. π
But if things go sideways:
-ENOMEMβ she couldn't allocate memory. The memory was simply not there. Devastating. π-EINVALβ the buffer wasn't allocated, or it's too small. Like, girl, the buffer is not buffer-ing. π
Heads up bestie: those are the negative returns, so if you see one, something genuinely went wrong β don't just vibe past it. π¨
π SEE ALSO π
- Kernel file
./drivers/platform/x86/hp/hp-bioscfg/biosattr-interface.cβ go read the source, iykyk π hp_set_attribute(9)π§hp_wmi_perform_query(9)π₯hp_ascii_to_utf16_unicode(9)π
And that's the whole page, bestie β go forth and set those BIOS settings. πβ¨
This lil' beauty comes from ./drivers/platform/x86/hp/hp-b... and she's dated October 2026 β hp_wmi_set_bios_setting(9), forever and always. ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms