amd_halo_wmi_set_rgb(9)
π amd_halo_wmi_set_rgb(9) π
okay so bestie, welcome to the Kernel API Manual page for amd_halo_wmi_set_rgb β yes it's a section 9 man page, yes it's a kernel function, no you don't have to be scared β¨
β¨ NAME β¨
amd_halo_wmi_set_rgb β Set all RGB channels atomically π
like, all three at once, in one go, no half-lit chaos. iconic behavior tbh π
πΈ SYNOPSIS πΈ
int amd_halo_wmi_set_rgb (struct wmi_device *wdev , u32 r , u32 g , u32 b );
π¦ ARGUMENTS π¦
wdevβ WMI device pointer. this is the lil handle to the device you're talking to, your main character π«Άrβ brightness for red channel (0-100) π₯gβ brightness for green channel (0-100) πbβ brightness for blue channel (0-100) π
so real talk β each channel is a brightness value from0to100, no cap. that's the range. that's the vibe check.
β RETURN β
0 on success, negative error code on failure π
like⦠zero means slay, negative means something went off and you should lowkey check it. periodt.
π§ SEE ALSO π§
- Kernel file
./drivers/platform/x86/amd/amd_halo_led.cβ the home base for all of this π struct amd_halo_led_data(9)amd_halo_wmi_turn_off(9)amd_halo_wmi_get_rgb(9)amd_halo_brightness_set(9)
go read them, they're literally all connected, iykyk π
and that's the whole page bestie!! π this one's straight out of the ./drivers/platform/x86/amd source, dated October 2026, and the manual name is of course amd_halo_wmi_set_rgb(9) β mwah, go light up something pretty π
β¨π¦
π¦ 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