public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Customizing fan behaviour (temperatures)
@ 2016-07-13 14:47 Lucas Levrel
  2016-07-13 20:16 ` Lucas Levrel
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Levrel @ 2016-07-13 14:47 UTC (permalink / raw)
  To: linux-acpi

Hi,

I would like to adjust the temperature at which the fan starts, because as 
it is now it runs continuously, at low speed but this continuous noise 
bothers me. I'd rather have it spin faster and intermittently. This is an 
HP laptop.

I've read much (mostly Q&A pages and list threads, regular documentation 
seems to be scarce), and investigated the behaviour of files in 
/sys/devices/virtual/thermal . From what I understand there's no bug, just 
the temperature thresholds are not to my taste.

More specifically, there are 7 cooling_device's (4 of type Fan, 2 
Processor, 1 LCD) and 5 thermal_zone's (the first 4 really are 
temperatures, the last is the fan speed). thermal_zone0 controls the fan. 
The lowest trip_point_?_temp (?==4) is 45000, which is very low. 
Basically, after a few minutes of idle operation temp reaches 50000 or 
55000 (looks like there is 5 °C granularity) and never gets lower: I've 
tried and manually set the fan to speed 2 (echo 1 > 
cooling_device2/cur_state), even then temp doesn't decrease below 50000.

trip_point_?_temp are not writable. I've set thermal.act=60000 in the 
kernel command line, to no avail; is this supposed to be reflected in the 
trip_point_?_temp files? (Note: trip_point_[1-4]_type is "active".) This 
is kernel 3.2.71 .

What can you advise me to do now?

And by the way, for my education:
- how are the trip_point values determined?
- how is hysteresis implemented? I mean, you don't want your fan speed to 
change every other second, so the "speed up" threshold has to be higher 
than the "speed down" one. In fact, I've found no explanation of how the 
trip_point values are used.

Thanks.

-- 
Lucas Levrel
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-13 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-13 14:47 Customizing fan behaviour (temperatures) Lucas Levrel
2016-07-13 20:16 ` Lucas Levrel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox