ENUM WMI_BRIGHTNESS_METHOD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum wmi_brightness_method(9)

okay so bestie, picture this: it's page enum wmi_brightness_method(9) from the Kernel API Manual, and it's literally just a lil enum that holds the WMI method IDs πŸŽ€. like that's the whole vibe. no cap.


✨ NAME ✨

enum wmi_brightness_method β€” the WMI method IDs, aka the little numbered squad that tells the EC what to get or set πŸ’–


🌸 SYNOPSIS 🌸

enum wmi_brightness_method {
    WMI_BRIGHTNESS_METHOD_LEVEL ,
    WMI_BRIGHTNESS_METHOD_SOURCE ,
    WMI_BRIGHTNESS_METHOD_MAX

};

that's it, that's the whole struct-shaped moment ✨ three constants, zero drama, all the vibes πŸ¦‹


🧚 CONSTANTS 🧚

okay so these are the actual members and honestly? each one has main character energy in its own way πŸ‘‘

  • WMI_BRIGHTNESS_METHOD_LEVEL β€” Get/Set EC brightness level status. The one doing the actual brightness heavy lifting β€” it's giving "and I oop, here's your level" πŸ’…
  • WMI_BRIGHTNESS_METHOD_SOURCE β€” Get/Set EC Brightness Source. Asking the EC like "bestie where is your brightness coming from tho" 🫢
  • WMI_BRIGHTNESS_METHOD_MAX β€” -- undescribed --. yeah. the manpage literally says undescribed and honestly? relatable 😭 it's the mysterious one, the one that just shows up at the end of the list with sunglasses on πŸ•ΆοΈ no notes, no description, just vibe check passed πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

if you're obsessed like me, go read these next, fr fr πŸ“

  • the Kernel file ./include/linux/platform_data/x86/nvidia-wmi-ec-backlight.h β€” the source of truth, the origin story, the it-girl header file πŸ‘‘
  • enum wmi_brightness_mode(9) 🌈
  • enum wmi_brightness_source(9) ⭐
  • struct wmi_brightness_args(9) πŸŽ€

okay that's the whole page, you ate that reading it πŸ’– mwah πŸ’‹

and finally, the cute little sign-off: this one lives under ./include/linux/platform_data/x86, dated October 2026, and it's filed right back under enum wmi_brightness_method(9) because of course it is πŸ’…βœ¨πŸ¦‹
πŸ“¦ where this page comes from