amd_halo_wmi_set_rgb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 from 0 to 100, 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 🧚

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