I have a video card which has fans (GTX 970) on Debian Bookworm (12.10).
Unfortunately the card is broken in such a way that the fans almost
never work, and I can't afford to replace it with one that isn't broken.
Changing the GPU's internal clocks has little to no effect on
temperature (or performance, oddly enough), but changing the CPU clock
speed does. So I wrote a script that modifies that for me automatically based on the GPU temperature, and that usually works.
Not always though. I have 2-4 case fans (I forget exactly). Is there a
way to change their speed? Maybe that'd be enough. Thanks.
On Sun Apr 13, 2025 at 9:15 PM BST, Eben King wrote:
I have a video card which has fans (GTX 970) on Debian Bookworm (12.10).
 Unfortunately the card is broken in such a way that the fans almost
never work, and I can't afford to replace it with one that isn't broken.
 Changing the GPU's internal clocks has little to no effect on
temperature (or performance, oddly enough), but changing the CPU clock
speed does. So I wrote a script that modifies that for me automatically
based on the GPU temperature, and that usually works.
Not always though. I have 2-4 case fans (I forget exactly). Is there a >> way to change their speed? Maybe that'd be enough. Thanks.
Possibly, depending on your mainboard.
Presumably they're plugged into that.
There might be a driver for a fan controller on the board that you
can use to control them. Try the lm-sensors package to see what it can discover.
Failing that, or instead, your mainboard's firmware
configuration (artist formerly known as BIOS) might offer some fan
controls.
On 4/13/25 16:18, Jonathan Dowland wrote:
There might be a driver for a fan controller on the board that you
can use to control them. Try the lm-sensors package to see what it can
discover.
It shows just temps. I assume there are other sensors there, but
lm-sensors doesn't say the right spell to use them. I ran "sudo sensors-detect" and answered y to every question, ran "sudo
/etc/init.d/kmod start", and still same. I can show you the complete
output if you want.
If I did manage to get lm-sensors to show the fans, how would I use it
to modify their behavior?
sudo modprobe it87 force_id=0x8728
then running "sensors" shows
it8728-isa-0a40
Adapter: ISA adapter
<9 voltages>
<5 fans, one of which is 0 RPM>
<3 temps>
intrusion0: ALARM
It's been put into /etc/modules.
On Sun Apr 13, 2025 at 10:23 PM BST, Eben King wrote:
sudo modprobe it87 force_id=0x8728
then running "sensors" shows
it8728-isa-0a40
Adapter: ISA adapter
<9 voltages>
<5 fans, one of which is 0 RPM>
<3 temps>
intrusion0: ALARM
It's been put into /etc/modules.
That might be the way forward. In my case, the controller is managed by the driver "nct6775". I have (the not-very-discoverable) sysfs location /sys/devices/platform/nct6775.656/hwmon/hwmon2 containing files to control things; e.g. writing 1 to ./pwmN_enable (N â 1-7) sets fan "manual control mode", after which I can write the values 0-255 to ./pwmN to control the
RPM. (I haven't got my fans to do quite what I want, yet, but that's not the driver's fault.)
nct6775 is documented reasonably well <https://www.kernel.org/doc/html/latest/hwmon/nct6775.html>, your controller's docs aren't quite so clear but there's some mention of writing to pwnN_enable: <https://docs.kernel.org/hwmon/it87.html>
On Sun Apr 13, 2025 at 10:23 PM BST, Eben King wrote:
sudo modprobe it87 force_id=0x8728
then running "sensors" shows
it8728-isa-0a40
Adapter: ISA adapter
<9 voltages>
<5 fans, one of which is 0 RPM>
<3 temps>
intrusion0:Â ALARM
That might be the way forward. In my case, the controller is managed by
the driver "nct6775". I have (the not-very-discoverable) sysfs
location /sys/devices/platform/nct6775.656/hwmon/hwmon2 containing files
to control things; e.g. writing 1 to ./pwmN_enable (N â 1-7) sets fan "manual control mode", after which I can write the values 0-255 to ./
pwmN to control the RPM. (I haven't got my fans to do quite what I want,
yet, but that's not the driver's fault.)
nct6775 is documented reasonably well <https://www.kernel.org/doc/html/ latest/hwmon/nct6775.html>, your controller's docs aren't quite so clear
but there's some mention of writing to pwnN_enable: <https:// docs.kernel.org/hwmon/it87.html>
Hope this helps,
I have a video card which has fans (GTX 970) on Debian Bookworm (12.10). Â Unfortunately the card is broken in such a way that the fans almost
never work, and I can't afford to replace it with one that isn't broken. Â Changing the GPU's internal clocks has little to no effect on
temperature (or performance, oddly enough), but changing the CPU clock
speed does. So I wrote a script that modifies that for me automatically based on the GPU temperature, and that usually works.
Not always though. I have 2-4 case fans (I forget exactly). Is there a way to change their speed? Maybe that'd be enough. Thanks.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 146:13:16 |
| Calls: | 12,089 |
| Calls today: | 2 |
| Files: | 15,000 |
| Messages: | 6,517,501 |