amd_halo_brightness_set(9)
β¨ amd_halo_brightness_set β¨
okay bestie, so this one is a kernel API page from the Kernel API Manual β yes, the "9" in the name means it's a kernel function, we love a section-9 moment π
πΈ NAME πΈ
amd_halo_brightness_set β literally just set LED brightness π that's the whole vibe, no cap
π¦ SYNOPSIS π¦
int amd_halo_brightness_set (struct led_classdev *cdev , enum
led_brightness brightness );
so the signature is exactly that, bestie β int going in, int coming out, two args, do not touch my formatting π
β¨ ARGUMENTS β¨
cdevβ the LED class device, i.e. your little LED main character πbrightnessβ the brightness value, as in how bright we're going β¨
π RETURN π
0on success β slay, it worked π«Ά- a negative error code on failure β not the vibe, but at least it tells you π
π₯ SEE ALSO π₯
- Kernel file
./drivers/platform/x86/amd/amd_halo_led.cβ that's the home turf, go read it iykyk π struct amd_halo_led_data(9)β the struct, iconic πamd_halo_wmi_turn_off(9)β the off button of the family πamd_halo_wmi_set_rgb(9)β setting the colours, obsessed πamd_halo_wmi_get_rgb(9)β getting the colours back, the reciprocity π§
ngl bestie, if you're poking around the LED brightness there's a whole little friend group of amd_halo_* functions up there β check the whole squad before you ship β¨
and that's the page, fr fr π this one lives in ./drivers/platform/x86/amd β shoutout to the October 2026 date on it, and the version tag is right there in the header/footer combo: amd_halo_brightness_set(9) both ways, our matching bookends ππ¦ bye bestie, go set some brightness π
π¦ 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