* Re: [lm-sensors] [PATCH] THMC50 2.6 additions to lm-sensors
@ 2007-08-12 13:41 Jean Delvare
0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2007-08-12 13:41 UTC (permalink / raw)
To: lm-sensors
On Thu, 26 Jul 2007 23:09:02 +0200, Krzysztof Helt wrote:
> This patch adds support for the THMC50 kernel driver to lm-sensors library (for 2.6 kernel driver).
> At least temperatures and analog output (fan) can be read.
Applied, thanks. Not sure how useful it is though, given that neither
sensors not xsensors support this chip yet. But maybe other frontends
do.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lm-sensors] [PATCH] THMC50 2.6 additions to lm-sensors
@ 2007-07-26 21:09 Krzysztof Helt
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Helt @ 2007-07-26 21:09 UTC (permalink / raw)
To: lm-sensors
From: Krzysztof Helt <krzysztof.h1@wp.pl>
This patch adds support for the THMC50 kernel driver to lm-sensors library (for 2.6 kernel driver).
At least temperatures and analog output (fan) can be read.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
---
--- lm-sensors2/lib/chips.c 2007-07-26 22:37:21.000000000 +0200
+++ lm-sensors/lib/chips.c 2007-07-26 23:07:33.889347402 +0200
@@ -2747,7 +2747,8 @@ static sensors_chip_feature thmc50_featu
THMC50_SYSCTL_TEMP, VALUE(3), 0 },
{ { SENSORS_THMC50_TEMP_HYST, "temp_hyst", SENSORS_THMC50_TEMP,
SENSORS_THMC50_TEMP, RW },
- THMC50_SYSCTL_TEMP, VALUE(2), 0 },
+ THMC50_SYSCTL_TEMP, VALUE(2), 0,
+ "temp1_min", 3 },
{ { SENSORS_THMC50_TEMP_OVER, "temp_over", SENSORS_THMC50_TEMP,
SENSORS_THMC50_TEMP, RW },
THMC50_SYSCTL_TEMP, VALUE(1), 0 },
@@ -2757,14 +2758,15 @@ static sensors_chip_feature thmc50_featu
SENSORS_THMC50_REMOTE_TEMP,
SENSORS_THMC50_REMOTE_TEMP, RW },
THMC50_SYSCTL_REMOTE_TEMP, VALUE(2),
- 0 },
+ 0, "temp2_min", 3 },
{ { SENSORS_THMC50_REMOTE_TEMP_OVER, "remote_temp_over",
SENSORS_THMC50_REMOTE_TEMP,
SENSORS_THMC50_REMOTE_TEMP, RW },
THMC50_SYSCTL_REMOTE_TEMP, VALUE(1),
0 },
{ { SENSORS_THMC50_INTER_MASK, "analog output", NOMAP, NOMAP, RW },
- THMC50_SYSCTL_ANALOG_OUT, VALUE(1), 0 },
+ THMC50_SYSCTL_ANALOG_OUT, VALUE(1), 0,
+ "pwm1", 0 },
{ { SENSORS_THMC50_INTER, "interrupts", NOMAP, NOMAP, R },
THMC50_SYSCTL_INTER, VALUE(1), 0 },
{ { SENSORS_THMC50_INTER_MASK, "interrupt mask", NOMAP, NOMAP, RW },
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-12 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-12 13:41 [lm-sensors] [PATCH] THMC50 2.6 additions to lm-sensors Jean Delvare
-- strict thread matches above, loose matches on Subject: below --
2007-07-26 21:09 Krzysztof Helt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.