STRUCT ASUS_WMI_SENSOR_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct asus_wmi_sensor_info(9) ✨

okay so this is a page from the Kernel API Manual bestie, and it's literally just describing one little struct. no cap, that's the whole vibe. let's get into it 🫢


🌸 NAME 🌸

struct asus_wmi_sensor_info β€” sensor info. that's it, that's the name, she's a struct and she holds sensor info πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole shape of her, exactly as written, do not touch:

struct asus_wmi_sensor_info {
    u32 id;
    int data_type;
    int location;
    char name[ASUS_WMI_MAX_STR_SIZE];
    int source;
    int type;
    long cached_value;
 };

look at that ASUS_WMI_MAX_STR_SIZE sitting in there all iconic πŸ‘‘


πŸ’… MEMBERS πŸ’…

every single field, bestie, we're not skipping a one:

  • id β€” the sensor id. that's her little name tag basically πŸŽ€
  • data_type β€” the sensor class, like voltage, temp, etc. so you know what kinda reading you're dealing with ✨
  • location β€” where the sensor is located, the physical vibes of it πŸ“
  • name β€” the sensor name. a char array, sized ASUS_WMI_MAX_STR_SIZE, so she's got room to be verbose πŸ¦‹
  • source β€” the sensor source. where it's coming from, iykyk 🌈
  • type β€” the sensor type, so like signed, unsigned, etc. this is the whole personality check on the number 🌸
  • cached_value β€” the cached sensor value, a long. that's the last reading she remembers, stored for you πŸ’–

πŸŽ€ SEE ALSO πŸŽ€

  • Kernel file ./drivers/hwmon/asus_wmi_sensors.c β€” like, go read the actual file if you wanna see her in the wild πŸ’€

okay that's the whole page, periodt πŸ’œ this came out of ./drivers/hwmon, dated October 2026, and honestly? iconic of her. go forth and read your sensors, bestie ✨πŸ”₯

πŸ“¦ where this page comes from