ENUM BACKLIGHT_UPDATE_REASON(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum backlight_update_reason(9) πŸ’–

okay bestie, so this is a page from the Kernel API Manual β€” yes, that's enum backlig...pdate_reason(9) if you're squinting at the truncated header, and we're about to make it make sense. sit down, hydrate, let's go ✨


🌸 NAME 🌸

enum backlight_update_reason β€” literally just tells you what method was used to update the backlight. that's it. that's the whole vibe check πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

here's the shape of it, copy it exactly bestie, no freestyling:

enum backlight_update_reason {
    BACKLIGHT_UPDATE_HOTKEY ,
    BACKLIGHT_UPDATE_SYSFS

};

like, two constants, one enum, immaculate energy πŸ’…


✨ Constants ✨

  • BACKLIGHT_UPDATE_HOTKEY β€” the backlight was updated using a hot-key. you pressed a key, the screen got brighter, the universe said slay πŸ”₯
  • BACKLIGHT_UPDATE_SYSFS β€” the backlight was updated using sysfs. not a keypress, the filesystem did it, iconic in a different way πŸ¦‹

πŸ’œ Description πŸ’œ

so the whole point: a driver indicates the method (reason) used for updating the backlight when calling backlight_force_update. that's the tea, that's the lore, that's the entire function of this enum 🫢

like, backlight_force_update needs to know why the backlight changed, and this enum is the little label it gets handed. no cap.


🌈 SEE ALSO 🌈

go read these next, bestie, they're all in Kernel file ./include/linux/backlight.h β€” a whole squad, honestly:

that's the full roster, don't skip any, they're all main character energy in their own way πŸ‘‘


aaaand that's the page!! πŸŽ€ this came out of ./include/linux, dated October 2026, and it's filed under enum backlig...pdate_reason(9) β€” so if you ever forget which enum told the kernel why the backlight changed, you know exactly where to look. mwah πŸ’‹βœ¨πŸ“

πŸ“¦ where this page comes from