STRUCT WMI_DEVICE(9)
π struct wmi_device(9) β Kernel API Manual realness
okay so bestie, welcome to the glow-up era of the Linux kernel API manual β this is struct wmi_device(9), and she's the whole vibe check for WMI devices. let's get into it π
β¨ NAME β¨
struct wmi_device β the WMI device structure, no cap. she's the blueprint π
πΈ SYNOPSIS πΈ
struct wmi_device {
struct device dev;
bool setable;
};
literally just two members. two. iconic minimalism. (yes, that stray space before the closing brace is canon, don't @ me π)
π Members π
devβ the Device associated with this WMI device. like, her actual device identity, attached and everything π«ΆsetableβTruefor devices implementing the Set Control Method. so if your device can set things, this isTrue, and that's the whole tea β
π¦ Description π¦
This represents WMI devices discovered by the WMI driver core. that's it, that's the lore β she's the struct that stands for the WMI devices the WMI driver core has found, and honestly? slay π
π SEE ALSO π
- Kernel file
./include/linux/wmi.hβ go read her, she's giving main character energy π to_wmi_device(9)πstruct wmi_buffer(9)πstruct wmi_string(9)π§struct wmi_driver(9)π₯to_wmi_driver(9)β¨wmi_driver_register(9)πΈmodule_wmi_driver(9)π
π reminder bestie: all of these live under ./include/linux, so likeβ¦ that's where the magic happens. iykyk.
k that's the whole page, fr fr β brought to you from ./include/linux, dated October 2026, and filed forever under struct wmi_device(9). go forth and reference her responsibly, mwah πππ«Ά
π¦ 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