[lm-sensors] [PATCH 2/2] hwmon: applesmc: Add temperature sensor labels to sysfs interface (rev2)

Jean Delvare khali at linux-fr.org
Tue May 4 21:16:29 CEST 2010


Hi Henrik,

On Tue,  4 May 2010 15:39:03 +0200, Henrik Rydberg wrote:
> From: Alex Murray <murray.alex at gmail.com>
> 
> The Apple SMC uses a systematic labeling scheme for the hardware
> temperature sensors. This scheme is currently hidden from
> userland. Since the sensor set, and consequently the numbering,
> differs between models, an extensive database of configurations is
> required for an application such as fan control. This patch adds the
> SMC labels to the hwmon sysfs interface, allowing applications to use
> the sensors more intelligibly.
> 
> [rydberg at euromail.se: fixed error handling]
> Signed-off-by: Alex Murray <murray.alex at gmail.com>
> Signed-off-by: Henrik Rydberg <rydberg at euromail.se>
> ---
>  drivers/hwmon/applesmc.c |  148 +++++++++++++++++++++++++++++++++++++++++++++-
>  1 files changed, 147 insertions(+), 1 deletions(-)
> (...)

Applied, thanks.

-- 
Jean Delvare




More information about the lm-sensors mailing list