G760A(4)

πŸ“¦ version 11.0, in nixpkgs unstable

πŸ’– G760A πŸ’–

okay bestie, so this one's g760a from the Kernel Interfaces Manual β€” a driver page, and honestly it's short and sweet, so let's go πŸŽ€


✨ NAME ✨

g760a β€” the Global Mixed-mode Technology Inc. G760a fan speed controller driver. yes, that's the whole name, it's a whole mouthful, I know 😭


✨ SYNOPSIS ✨

g760a0 at iic? addr 0x3e

that's it. that's the whole vibe. one line, slays, moves on πŸ’…


✨ DESCRIPTION ✨

so the g760a driver provides support for the Global Mixed-mode Technology Inc. G760a fan speed controller β€” it lives on iicbus and it's meant to be used with the envsys(4) API πŸŒ€ and like, fun fact, this chip could be found in D-Link's DNS-323 NAS box, which is giving vintage tech main character energy ngl.

the following sysctl(8) variable controls the fan's speed πŸ‘‡

πŸŒ€ machdep.g760a0.rpm

  • machdep.g760a0.rpm β€” this value specifies the desired speed for the fan πŸ’¨ valid range is 2000..20000 or 0 (which means the fan is turned off, lights out, sleepy time 😴). the default value is 0.
⚠️ okay so here's the tea, and it's important: when you set the desired speed, the RPM number gets converted to the internal representation and truncated 🫠 like, it doesn't land exactly where you asked. for example, when you're setting 2000 it'll be truncated to 2006, and 8000 will be changed to 8057. so close bestie, but not quite 😭 that's just how the chip maths out, no cap.

✨ SEE ALSO ✨

go read those, they're the supporting cast and they ate 🫢


✨ AUTHORS ✨

the g760a driver was written by A. Leo πŸ‘‘ iconic of them honestly, we stan a credited author.


and that's the whole page bestie!! 🌈✨ this one came from Debian, dated April 11, 2008 πŸŽ€ so yeah she's an elder, respect the elders, mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from