All of lore.kernel.org
 help / color / mirror / Atom feed
From: aurelien@aurel32.net (Aurelien Jarno)
To: lm-sensors@vger.kernel.org
Subject: [PATCH] sensord: support for in7 and fan3 for the it87 driver
Date: Thu, 19 May 2005 06:24:48 +0000	[thread overview]
Message-ID: <20040320231026.GA31811@pc.aurel32.private> (raw)

Hi,

Sensord misses a few sensors with an it87 chip, in7 and fan3, whereas
they are supported in the library and in sensors.

The attached patch fixes that.

Aurelien

-- 
  .''`.  Aurelien Jarno	              GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineering Student 
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net
-------------- next part --------------
Index: prog/sensord/chips.c
=================================RCS file: /home/cvs/lm_sensors2/prog/sensord/chips.c,v
retrieving revision 1.10
diff -u -1 -b -p -r1.10 chips.c
--- lm_sensors2.orig/prog/sensord/chips.c	21 Nov 2003 20:19:08 -0000	1.10
+++ lm_sensors2/prog/sensord/chips.c	20 Mar 2004 23:06:59 -0000
@@ -564,2 +564,4 @@ static const FeatureDescriptor it87_feat
     { SENSORS_IT87_IN6, SENSORS_IT87_IN6_MIN, SENSORS_IT87_IN6_MAX, -1 } },
+  { fmtVolts_2, rrdF2, DataType_voltage, IT87_ALARM_IN7, 0,
+    { SENSORS_IT87_IN7, SENSORS_IT87_IN7_MIN, SENSORS_IT87_IN7_MAX, -1 } },
   { fmtFans_0, rrdF0, DataType_rpm, IT87_ALARM_FAN1, 0,
@@ -568,2 +570,4 @@ static const FeatureDescriptor it87_feat
     { SENSORS_IT87_FAN2, SENSORS_IT87_FAN2_MIN, SENSORS_IT87_FAN2_DIV, -1 } },
+  { fmtFans_0, rrdF0, DataType_rpm, IT87_ALARM_FAN3, 0,
+    { SENSORS_IT87_FAN3, SENSORS_IT87_FAN3_MIN, SENSORS_IT87_FAN3_DIV, -1 } },
   { fmtTemps_minmax_0, rrdF1, DataType_temperature, IT87_ALARM_TEMP1, 0,

             reply	other threads:[~2005-05-19  6:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 Aurelien Jarno [this message]
2005-05-19  6:24 ` [PATCH] sensord: support for in7 and fan3 for the it87 driver Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040320231026.GA31811@pc.aurel32.private \
    --to=aurelien@aurel32.net \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.