lwmi_cd_fan_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lwmi_cd_fan_show(9) β€” like, the whole Kernel API Manual vibe ✨

okay so bestie, gather round, because this little function from the Kernel API Manual is genuinely one of the cutest ones in the lwmi_cd family and I need you to know about it 🫢

It's called lwmi_cd_fan_show, and its whole personality is: dump the capdata_fan. That's it. That's the job. No cap.


✨ NAME ✨

lwmi_cd_fan_show β€” literally just dumps capdata_fan πŸ’–


🌸 SYNOPSIS 🌸

void lwmi_cd_fan_show (struct seq_file *s , struct capdata_fan *cd_fan
);

look at that signature. two args, no return, zero drama. main character energy fr fr πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • s β€” pointer to a seq_file, and that's where the capdata_fan gets dumped. it's the destination, the stage, the whole venue 🎀
  • cd_fan β€” pointer to a capdata_fan struct, i.e. the thing that's actually getting dumped. this one's the star of the show ngl πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file lives right here, no guessing:

./drivers/platform/x86/lenovo/wmi-capdata.c

and here's the whole friend group, every single one of them, not a single name skipped because we do NOT leave anyone on read πŸ˜­πŸ’–

like, that's a whole squad and lwmi_cd_fan_show is right there in it. slay 🌈


ngl there are no options, no exit statuses, no env vars, no warnings in this one β€” it's a clean little dumper and honestly? iconic for that. simple, useful, no notes πŸ“

and that's the page, bestie!! this one came out of ./drivers/platform/x86/lenovo in October 2026, and it's filed under lwmi_cd_fan_show(9) β€” go dump that capdata_fan and live ur truth πŸ’œπŸ§šβœ¨

πŸ“¦ where this page comes from