I run OmniOS on an Aoostar WTR PRO as my NAS and for most of my self hosting needs. After installing a new fan, I wanted to see if I could read and control the fan speed from the OS instead of just the BIOS. Using Claude chat, I got a working kernel driver that gives me fan speed, PWM control, temperature readings, and even (incorrect) voltage readings.

I wanted to share as an example of what’s currently possible. I’ve even seen people vibe code ethernet drivers for freeBSD.

What do you all think of using LLMs to cobble together drivers like this?

  • rossman@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    Pretty cool so long those fans don’t go berserk. Faster troubleshooting if it’s tested well. I remember setting up fan curves on bios at one point and it was annoying enough. Also I don’t think you can stress test there so if your use case needs that then sure.

    • calamityjanitor@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      I’ve always geeked out about fan curves and monitoring, though I readily admit for most PCs leaving the default BIOS curve works fine enough.