Commit Graph
227 Commits
Author SHA1 Message Date
Jean Delvare d04f1c7306 sensors.conf.eg: Fix voltage value references in compute statements. The
measured voltage value are now named inX_input, not just inX, but the
default configuration file was not properly updated to reflect this. This
caused errors to be displayed by "sensors" for the g520sm, lm80 and pc87366
chips. Reported by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5076 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-17 21:59:15 +00:00
Jean Delvare c9ef1503a5 Fix MODULE_DIR usage.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5034 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-22 20:03:29 +00:00
Jean Delvare 35a5a7dbce Use /etc/sensors3.conf as the default configuration file. If it can't
be found, fallback to /etc/sensors.conf. This allows for an old
libsensors and a new libsensors to be installed in parallel, and each
one has its own configuration file.

One important change here is that the default configuration file will
be installed as /etc/sensors3.conf by "make install".


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4990 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-25 09:59:05 +00:00
Hans de Goede f7bc498fd0 re-add fscher compute lines for use with the old fscher driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4980 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-24 13:03:36 +00:00
Hans de Goede 0adc017e4d The new fschmd driver uses the standard scaling values from the datasheet, so no conversion should be done from sensors.conf
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4959 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-19 09:48:49 +00:00
Jean Delvare 80dd529f45 Fix some conversion rules for the adm1024.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4935 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-09 13:03:08 +00:00
Jean Delvare 829254344c The ADM1024 is LM87-compatible.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4934 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-09 13:01:31 +00:00
Jean Delvare 1124e53305 Add a short help text to sensors-conf-convert.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4894 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 22:05:47 +00:00
Jean Delvare 4db0f60d9a Install sensors-conf-convert as part of "make install". Users may need to
convert their configuration file after installation, in particular if they
install a distribution package.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4893 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 21:52:50 +00:00
Jean Delvare 9730c57395 Add some more conversion rules for the thmc50 and adm1022.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4814 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-19 12:06:36 +00:00
Jean Delvare 4618795d52 Add a sample configuration section for the thmc50 and adm1022.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4813 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-19 12:05:31 +00:00
Jean Delvare 8f352d518c New sensors option: --bus-list. This option lists i2c buses that are
used by sensor chips on the running system, in a format suitable for
sensors.conf. This is a replacement for the old, broken grab_busses.sh
script. Benefits of having this directly in sensors:
* It lists only the i2c buses that are relevant to sensors.
* sensors is installed by default, while most people didn't have
  access to grab_busses.sh.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4781 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-05 21:19:45 +00:00
Jean Delvare c8de951071 Strip trailing whitespace.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4775 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-05 16:09:38 +00:00
Jean Delvare 1d05faf18b More cleanups: drop legacy references, sections for drivers not
yet ported to Linux 2.6, etc.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4773 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-05 15:52:56 +00:00
Jean Delvare d577b6eaae Convert the default configuration file to use the new smybol names.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4772 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-05 15:00:40 +00:00
Jean Delvare 39f93afc8a Print the conversion notice at the top of the converted file, not on
stdout.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4771 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-05 14:32:31 +00:00
Jean Delvare f27710deb7 sensors-conf-convert: New, script to convert old configuration files
to use the new symbol names.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4770 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-05 14:28:19 +00:00
Jean Delvare 3d15175ecd Add max6680-* entry.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4755 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-05 08:06:03 +00:00
Jean Delvare af2880326f Drop chip names including dashes, as these are no longer supported.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4685 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-19 14:18:52 +00:00
Hans de Goede d5d0476273 remove f71882fg example config fan2-4 ignore lines and add labels, fix typo in Battery label
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4600 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-09 12:54:54 +00:00
Hans de Goede 15f1274aef add f71882fg sensors.conf.eg entry
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4580 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 16:57:07 +00:00
Jean Delvare 7cc03f5029 Drop VRM reporting and selection support from libsensors. Since kernel
2.6.9, the right VID conversion formula is selected automatically
depending on the CPU model, so the user shouldn't have to care.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4543 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 13:22:28 +00:00
Jean Delvare 2b1fb387e9 Delete unused file.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4476 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-26 13:54:26 +00:00
Jean Delvare 9232f4eb43 Delete all kernel chip drivers, documentation and references. We are
moving to a user-space-only package, all the drivers are maintained in
the Linux kernel tree itself.

I tried to update the documentation a bit, but there's still a lot to
go. In fact, a complete rewrite seems to be needed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4397 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-09 13:00:30 +00:00
Mark M. Hoffman c5ffa7b635 Merge from trunk (4303:4355) out to 3.0.0 branch.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4357 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-03 12:55:30 +00:00
Jean Delvare 6310ee1f03 Add support for the w83627dhg. Original patch by David Holl.
This closes ticket #2157.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4264 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-18 07:43:00 +00:00
Jean Delvare a4fc9253af vt1211: Rework the voltage and temperature conversions and the temperature
input order to match the Linux 2.6 driver.
libsensors: Change vt1211 temp3-7 magnitude from 1 to 3.
sensors.conf.eg: Adjust the vt1211 section to match the new driver
                 interface.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4168 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-23 09:32:29 +00:00
Jean Delvare 09bd83fa7d vt1211 fixes:
* No in6
* More inputs can be missing (depends on UCH config)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4154 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-07 19:51:25 +00:00
Rudolf Marek 6a095858fa Add the note about via686 on Epox EP-7kxa motherboard. closes #2100
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4135 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-02 18:52:39 +00:00
Jean Delvare e944415f25 The adt7463 may not have in4 (#2119)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4133 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-02 07:49:35 +00:00
Jean Delvare 94748ae556 Drop A7N8X-X comments from the as99127f section, as we now know this board
actually has an ASB100 chip.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4114 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-27 10:02:31 +00:00
Jean Delvare 8c235d29a9 Add userspace support for the Winbond W83793. Patch contributed by
Yuan Mu (Winbond.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4109 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-24 18:13:20 +00:00
Rudolf Marek 6e87587ac6 Add support for k8temp driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4100 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-19 15:31:02 +00:00
Jean Delvare c352815e5d Some more it8716 voltage configuration.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4087 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-09 06:51:06 +00:00
Jean Delvare 79817f34ce Add support for the IT8716F (prefix it8716). It is mostly similar to the
IT8712F so there's not much to do. The most significant difference is that
fan speeds are now reported as 16-bit values, without fan clock dividers.
For this reason, I made the fan_divs optional in sensors. I also made the
fans themselves optional, as I noticed that a number of motherboards don't
use (and don't enable) fan3.

I've made a separate section (chip "it8716-*") in sensors.conf.eg, because
new motherboards tend to have different wirings (e.g. negative voltage
lines are not monitored) so this will make for saner defaults.

Thanks to Stian Oksavik for testing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4083 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-03 20:28:20 +00:00
Jean Delvare 9530bd113c sensors.conf: Kill redundant set line in lm85 section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4074 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-26 10:02:07 +00:00
Jean Delvare 3643a0b2e0 Add user-space support for abituguru. Patch from Hans de Goede.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4035 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-02 18:49:23 +00:00
Jean Delvare 7147ec7daa Comment out all set statements. This should prevent further
reports from new users experiencing beeps, instant shutdown etc. when
just installing lm_sensors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3312 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-27 14:53:31 +00:00
Jean Delvare dee3639075 Add userspace support for the smsc47m192 driver. Patch from
Hartmut Rick.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3277 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-28 21:31:16 +00:00
Rudolf Marek 65ff7b8531 Add the voltages of W83627EHF, plus minor fixes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3273 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-22 22:47:17 +00:00
Rudolf Marek 08738f13de Add the "Temp" into temps label
chip "lm85c-*" "adm1027-*" "adt7463-*" "lm85-*" "lm85b-*"
and chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*"
"lm84-*" "gl523sm-*" "mc1066-*"

The reason for the patch is that the net-snmp lm_sensors extension uses
the label name when determining what type of sensor it is reading, and
as a result, which OID to use as the parent.  It uses "V" for volt,
"fan" or "Fan" for fans, and "temp" or "Temp" for temperature.  All
other sensors get placed under the "misc" sensors category.  Since these
sensors lack "temp" in their labels, they are erroneously placed in the
"misc" category.

Patch provided by: telackey@bozemanpass.com


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3262 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-25 21:58:16 +00:00
Rudolf Marek f0c2fcf21d Add the computation line for iternal diode in vt1211 config section
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3250 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-29 21:40:31 +00:00
Rudolf Marek c83a8a43e8 Add back the temp1 in vt1211, patch from Juerg Haefliger <juergh@gmail.com>
This patch enables the reading of temp1 (Reading3) from the VT1211.
Reading3 returns the V1211's internal temperature.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3246 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-27 21:02:09 +00:00
Jean Delvare 075bdce06d Add note on via686a's temps contributed by Patrick Thomson.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3203 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-07 20:45:38 +00:00
Jean Delvare 5ab5681d54 Update it87/it8712 section:
* Do not scale +3.3V by default, most boards don't need it.
* Add alternate +5V compute line for some Gigabyte boards.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3201 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-22 22:16:13 +00:00
Jean Delvare de65c63acc Fix vt8231 temperature limits example.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3196 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-19 19:52:27 +00:00
Jean Delvare 9e341d359b Simplify vt8231 thermistor equations a little.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3195 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-19 15:36:27 +00:00
Jean Delvare 5cd5fde08d vt8231 cleanups, to get the 2.4 driver, libsensors and sensors
in line with the new 2.6 driver. The most important changes are temp
inputs renumbering, and conversion formulas changes, because part of the
conversions are now done by the driver as required by the interface
standard.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3194 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-19 14:55:30 +00:00
Jean Delvare c92b3a8870 Fix Vin values in the comments of the lm78 section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3193 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-15 18:13:05 +00:00
Jean Delvare ea30854a22 Drop DEFAULT_VRM, as it makes no sense to have a single default
VRM for all drivers. Same was done it Linux 2.6 some times ago.
Also comment out all "set vrm" lines in sensors.conf.eg, as Linux 2.6
now accurately deduces the VRM from the CPU model.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3190 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-12 09:30:38 +00:00