lwmi_om_hwmon_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

lwmi_om_hwmon_read β€” read HWMON sensor data. Also hi, this page comes from the Kernel API Manual β€” manual name folded in right here near the top like a little name tag 🫢✨

✨ SYNOPSIS ✨

okay so the signature is literally:

       int lwmi_om_hwmon_read (struct device *dev , enum hwmon_sensor_types
       type , u32 attr , int channel , long *val );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” device pointer: the device in question, bestie πŸ’…
  • type β€” sensor type: which sensor type we're working with.
  • attr β€” attribute identifier: the attribute identifier, iykyk.
  • channel β€” channel index: the channel index, no cap.
  • val β€” pointer to store value: where the value gets stored 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

It reads the current sensor values from the hardware through the WMI interface. That's the vibe: hardware sensor data, via WMI. πŸ”₯

🌸 RETURN 🌸

Returns 0 on success, or an error code. Periodt. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

Go peek at these too, bestie β€” the whole squad is here:


Source/version is ./drivers/platform/x86/lenovo, dated October 2026, and this page is lwmi_om_hwmon_read(9). Bye bestie, mwah πŸ’‹πŸŒΈβœ¨

πŸ“¦ where this page comes from