[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: smart fans



David Christensen wrote:

> I would figure out what Setup can do with the fans before
> messing with the Linux CPU governor. Install software to
> display temperatures, to display fan speeds, and to put the
> CPU under load.

Temperatures of the CPU and GPU I have,

#! /bin/zsh
#
# this file:
#   http://user.it.uu.se/~embe8573/conf/.zsh/misc-hw
#   https://dataswamp.org/~incal/conf/.zsh/misc-hw

temperature () {
    local gpu=$(sensors -j | jq -a '.["nouveau-pci-0100"].temp1.temp1_input')
    local cpu=$(sensors -j | jq -a '.["k10temp-pci-00c3"].Tdie.temp1_input')
    echo "GPU ${gpu}C"
    echo "cpu ${cpu}C"
}
alias fans=temperature

> Get a camera, a notepad, a stopwatch, and collect data as
> you work through configuring the fans in Setup.

I am not bothered by the fans when I use the computer.

When I don't use the computer and instead read, attempt to
sleep etc the fan sound is annoying enough, I have to
hibernate the computer, but then I loose the Internet
connection. Gnus, ERC and downloads scripts, e.g. this -
https://dataswamp.org/~incal/scripts/tokyo-dl - all resume
their connectivity automatically but after having that
happened 1000+ times it has started to annoy me.

So this is the use case, when I don't use the computer, I'd
like the fans to slow down as much as is safe to do. If this
can't happen dynamically as a function of the load or
temperature I'm happy to issue the commands manually, altho
that would be less safe (human factor, unpredicted events
etc) no doubt.

So if we start over ... forget about everything I said ... how
would go about this?

-- 
underground experts united
https://dataswamp.org/~incal


Reply to: