<robmur01>
dsimic: yeah, that was all a few years ago now
<dsimic>
56 fan: pwm-fan {
<dsimic>
57 compatible = "pwm-fan";
<dsimic>
58 /*
<dsimic>
59 * With 20KHz PWM and an EVERCOOL EC4007H12SA fan, these levels
<dsimic>
60 * work out to 0, ~1200, ~3000, and 5000RPM respectively.
<dsimic>
61 */
<dsimic>
62 cooling-levels = <0 12 18 255>;
<dsimic>
63 #cooling-cells = <2>;
<dsimic>
64 fan-supply = <&vcc12v0_sys>;
<dsimic>
65 pwms = <&pwm1 0 50000 0>;
<dsimic>
66 };
<dsimic>
^^^ an excerpt from rk3399-nanopc-t4.dts
<robmur01>
and indeed it seemed to be somewhat of a binary choice - either minimal states in DT and let userspace manage the PWM value, or define multiple trip points to let the kernel control things
<dsimic>
those are quite strange cooling-levels values
<robmur01>
try to do both and they just end up fighting each other
<dsimic>
the need for userspace to manage fan speed still escapes me
manawyrm has quit [Quit: Read error: 2.99792458 x 10^8 meters/second (Excessive speed of light)]
<robmur01>
it's not a "need", just that if you want to do fancy stuff like closed-loop control with continuously-variable PWM, the kernel doesn't do that
<robmur01>
the kernel does happily manage fan speed in discrete steps (with a bit of hysteresis), and that was enough for me
manawyrm has joined #linux-rockchip
psydroid has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dsimic>
hmm, I see what you mean
<dsimic>
I already have some plans for improving the pwm-fan driver, so I'll add that to the list as well
manawyrm has quit [Quit: Read error: 2.99792458 x 10^8 meters/second (Excessive speed of light)]
manawyrm has joined #linux-rockchip
<diederik>
Could personal preference be a factor? In the BIOS of my PC, I always configure it to be a quiet as possible, which is always quite different from the default
<dsimic>
the two active thermal trips, as defined for the RP64, for example, already attempt to provide as quiet operation as possible
<dsimic>
while maintaining reasonably low temperature
<dsimic>
making the fan speed continually variable should make it even a bit more quiet
<diederik>
Ofc it does a reasonable thing and does it as best as possible. But I don't mind a (temporary) higher temperature if that means I still can't hear any fan spinning
<dsimic>
there has to be some threshold that makes the fan spin up
<diederik>
other people probably would make different choices, like keep it at a low temperature. Thus personal preference
<dsimic>
I see what you mean
<diederik>
Yes, but that treshold is or should be configurable?
<dsimic>
another example of the need for additional "tweaks" is e.g. when a RP64 is installed in a NAS case, which turns the SoC fan into the case fan
<dsimic>
it would be better to make if configurable through some "profiles"
<dsimic>
rather than tweaking the individual values
<dsimic>
those "profiles" could then be defined for each board, etc.
<dsimic>
e.g. one of the "profiles" for the RP64 miight also be some kind of "NAS case profile", or even multiple profiles for that purpose
<dsimic>
other regular "profiles" could be "quiet operation" or "maximum efficiency", for example
<dsimic>
though, it might also be better to have userspace take care of such profiles... more thinking is needed :)
<diederik>
yeah, profiles is probably easier and sufficient. My BIOS does have a "quite profile" f.e.
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 252 seconds]
kevery1 is now known as kevery
dsimic has quit [Ping timeout: 272 seconds]
nashpa has quit [Quit: Going away]
dsimic has joined #linux-rockchip
dliviu has joined #linux-rockchip
digetx has quit [Ping timeout: 246 seconds]
digetx has joined #linux-rockchip
psydroid has quit [Remote host closed the connection]
digetx has quit [Ping timeout: 246 seconds]
digetx has joined #linux-rockchip
digetx has quit [Read error: Connection reset by peer]
digetx has joined #linux-rockchip
digetx has quit [Ping timeout: 248 seconds]
digetx has joined #linux-rockchip
warpme has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
digetx has quit [Ping timeout: 255 seconds]
stikonas has joined #linux-rockchip
LordKalma has quit [Quit: Server has probably crashed]
LordKalma has joined #linux-rockchip
LordKalma has quit [Client Quit]
LordKalma has joined #linux-rockchip
LordKalma has quit [Client Quit]
LordKalma has joined #linux-rockchip
digetx has joined #linux-rockchip
psydroid has joined #linux-rockchip
stikonas has quit [Quit: Konversation terminated!]
stikonas has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
stikonas has quit [Quit: Konversation terminated!]