hp_add_other_attributes(9)
β¨ hp_add_other_attributes(9) β¨
okay so bestie, welcome to the kernel API manual for hp_add_other_attributes(9) β yes that's the whole title, we're not copying the header line, we're folding it in like a lil name tag π and honestly? it's giving "niche but iconic."
π NAME π
hp_add_other_attributes β Initialize HP custom attributes not reported by BIOS and required to support Secure Platform and Sure Start.
like, the BIOS just forgot to mention these and we're the ones picking up the slack π«Ά
πΈ SYNOPSIS πΈ
int hp_add_other_attributes (int attr_type );
periodt. one arg, that's it, we love a low-effort signature π
π¦ ARGUMENTS π¦
attr_typeβ Custom HP attribute not reported by BIOS
so yeah, you hand it the custom HP attribute that BIOS ghosted you on π
π DESCRIPTION π
Initialize all 2 types of attributes: Platform and Sure Start object. Populates each attribute types respective properties under sysfs files.
ngl it's literally doing the most in the background so you don't have to β two attribute types, two sets of properties, all getting settled into their little sysfs homes π‘β¨
Returns zero(0) if successful. Otherwise, a negative value.
fr fr, check that return value. zero = slay, negative = something did not eat π
π SEE ALSO π
The kernel file, no cap:
./drivers/platform/x86/hp/hp-bioscfg/bioscfg.c
and the whole friend group π«Ά:
hp_calculate_string_buffer(9)hp_get_wmiobj_pointer(9)hp_get_instance_count(9)hp_alloc_attributes_data(9)hp_update_attribute_permissions(9)destroy_attribute_objs(9)release_attributes_data(9)hp_init_bios_attributes(9)
π« and that's the vibe check! this lil page comes to you from ./drivers/platform/x86/hp/hp-b..., dated October 2026, and it's officially the hp_add_other_attributes(9) manual page β go be a main character in the kernel bestie, ily ππ
π¦ 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