Conversion of ACPI fan+thermal to hwmon sysfs

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

 



On Fri, Mar 02, 2007 at 12:13:04PM +0100, Jean Delvare wrote:

> As I don't know what these "cooling mode policies" are, I can't really
> tell. Trip points in hwmon let the user define the desired fan speed
> depending on a temperature measurement, and that's about it. You can't
> associate other actions at the moment, essentially because hardware
> monitoring chips themselves can't do anything else. If it would be
> convenient for the ACPI case to add something else, we can discuss
> additional interface files.

ACPI cooling mode policies may be related to fans, but can also be 
associated with passive cooling of the CPU by throttling or voltage 
scaling. Some machines keep the fan under BIOS control, so the only 
information exposed via the thermal module will be something like:

critical (S5):           95 C
passive:                 91 C: tc1=5 tc2=4 tsp=600 devices=0xc16dd310 

indicating that the CPU should be throttled at 91C, and the system 
forcibly shut down at 95C. 

> My original idea was to simply add a read-only hwmon-like interface to
> the acpi fan and thermal modules. I didn't plan to replace the current
> interfaces offered by these modules, at least not directly. There must
> be many user-space tools and scripts relying on these at the moment, so
> we need a transition period anyway.

That doesn't sound like a bad plan.

-- 
Matthew Garrett | mjg59 at srcf.ucam.org




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux