Commit Graph
131 Commits
Author SHA1 Message Date
Kyosti Malkki 1cfe63804a (Kyösti) Cleanups
Copy sysctl enums to chip drivers from sensors.h for now,
   as seen in drivers included in 2.5 tree. File no longer included
   from kernel side.

   Apply i2c-proc change in CVS tagged -km2.

   Partial clean and sort of includes everywhere.

   Add i2c-dev.h, as a partial copy from i2c.
   Add to sensors.h from i2c-proc.h to compile things.
   Remove i2c-isa.h.

   Reflect header file changes to lib/ and prog/.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1705 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 20:01:27 +00:00
Mark D. Studebaker 367f92899a always generate warnings about libraries in /usr/lib since we can't
assume that ld.so puts /usr/lib last.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1676 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-19 15:04:15 +00:00
Mark D. Studebaker b48792f753 add several checks and warnings when installing libraries
to catch common problems where the new libs won't be found or used


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1675 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-18 02:49:54 +00:00
Mark D. Studebaker be62b338d5 add -lm to shared library so exp() and log() will be found
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1670 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-13 23:48:52 +00:00
Mark D. Studebaker 1d0d09cc26 add library support for logarithms and exponents (!) to support
vt1211 / vt8235 thermistor calculations. Add such calculations to
      vt1211/vt8235 section in sensors.conf; bump library version to 1.4.0.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1667 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-09 02:55:58 +00:00
Mark D. Studebaker d88451b2d1 bump version to 1.3.0 because of new dummy adapter support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1644 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-23 18:29:16 +00:00
Jean Delvare abd871b11f Make doc-feature work with bmcsensors (workaround)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1613 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-16 19:08:55 +00:00
Mark D. Studebaker 415baecb82 add BMC. probably breaks doc-features? to be fixed
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1612 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-16 18:28:35 +00:00
Mark D. Studebaker 9da8da5778 add BMC entries
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1611 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-16 18:23:54 +00:00
Mark D. Studebaker 2a03ea8e15 big hack for add'l dummy adaps.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1607 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-16 03:23:34 +00:00
Mark D. Studebaker 5a24ce81e4 sensors support for ipmi. Includes limited support for
add'l dummy adaps in libsensors


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1606 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-16 03:12:18 +00:00
Jean Delvare db0229ce57 Initial support for Sony Vaio eeprom
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1599 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-13 08:29:47 +00:00
Jean Delvare 04e0399c6f Negative magnitude bugfix
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1597 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-10 23:13:38 +00:00
Jean Delvare 91f63a3406 Stick to usual declarations for lm92 static arrays (needed for
proper documentation building)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1578 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-07 08:43:03 +00:00
Mark D. Studebaker 125d653f69 change eeprom size label from SDRAM to memory since we now support
rambus.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1560 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-10-12 03:15:41 +00:00
Mark D. Studebaker 89bb308985 enhance adm1023 support; add lm87 vrm support. Patch from
Dave Johnson <ddj@cascv.brown.edu>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1547 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-21 22:14:57 +00:00
Philip Edelbrock 25af130058 (Phil) Applied Alexander Malysh <amalysh@web.de>'s patch for
MC1066 support.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1535 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-18 19:17:30 +00:00
Mark D. Studebaker a367d2645c add sensors/libsensors support for vt8231
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1502 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-23 21:32:08 +00:00
Mark D. Studebaker 325d5d81bc fix RW flag on fan3_div for w83782* and it87 - tkt #962
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1485 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-03 22:43:53 +00:00
Mark D. Studebaker 7fc7f34f55 change vrm permissions to r/w. Uncovered by fix to access.c.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1458 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-18 00:44:48 +00:00
Mark D. Studebaker 5ef460df5c fix access mode checking
reported by Jean Delvare


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1456 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-15 01:42:17 +00:00
Mark D. Studebaker b1cde9b2ec vt1211 minor update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1454 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-15 01:28:22 +00:00
Abraham van der Merwe a52803cdc5 Changed alarms proc entry to a single value
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1449 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-12 08:50:44 +00:00
Abraham van der Merwe 70677ba796 libsensors support (untested). also, I haven't added anything to
sensors-detect yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1441 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-10 11:57:13 +00:00
Abraham van der Merwe 6657d7c56b Various small changes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1430 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-09 09:36:06 +00:00
Mark D. Studebaker 887ace586d add smsc47m1 to library and 'sensors'
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1428 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-07 16:41:23 +00:00
Mark D. Studebaker 3e65c375be initial support for Via VT1211 super i/o with sensors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1409 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-30 20:28:08 +00:00
Mark D. Studebaker 4f7a7db7f6 add missing semicolon which apparently caused
'flex scanner jammed' on redhat 7.3.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1386 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-08 01:46:22 +00:00
Mark D. Studebaker e0a1889044 add multiple VRM support to adm1025
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1383 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-07 02:58:43 +00:00
Mark D. Studebaker 8edb06b0d1 preliminary programmable VRM version support in w83781d.
Replace VID_FROM_REG() with vid_from_reg() in new sensors_vid.h.
      Update library so it can be set in sensors.conf.
      Add new documentation. Update mkpatch for new file.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1352 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-04-20 02:59:12 +00:00
Philip Edelbrock 168a3331b4 (Phil) tag and release 2.6.3
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1339 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-03-23 00:53:08 +00:00
Mark D. Studebaker c623fd8843 tkt 800 fix part 2.
For lm78, 78-j, 79, w83781d, and as99127f, the chips have integral
      inverters, so the compute lines are inverting.
      Therefore the min register is really max and vice versa.
      So the library was wrong, but sensors.conf.eg was wrong too,
      so the chip got programmed correctly but 'sensors' printed
      min and max backwards.
      This was a different situation than for the previous fix to
      sensors.conf.eg, where the chips were programmed wrong due
      solely to sensors.conf.eg being incorrect.

      In this fix we change the library and sensors.conf.eg.
      The chip is still programmed right by 'sensors -s' (since
      the library and sensors.conf changes cancel each other out)
      but 'sensors' now prints correctly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1305 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-31 03:21:11 +00:00
Mark D. Studebaker 33d03cd2a6 add support for ADM1023 (adm1021 driver)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1283 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-09 01:19:23 +00:00
Mark D. Studebaker 4e375cb140 fix compute mapping for w83* fan*_min entries.
These were set to NO_MAPPING so compute entries for
      the fans would not affect the fan_mins.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1255 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-28 03:56:47 +00:00
Mark D. Studebaker 8f53105142 add w83697hf in7 and in8 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1254 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-28 02:50:57 +00:00
Mark D. Studebaker 5d4b07b1e9 add initial support for w83697hf to w83781d.
Similar to w83783s except no VID or fan3, and ISA only.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1246 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-21 01:01:17 +00:00
Mark D. Studebaker c976538703 new pcf8591 driver, patch from
Aurelien Jarno <aurelien.jarno@insa-lyon.fr>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1243 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-19 20:29:27 +00:00
Mark D. Studebaker 1cf1f828b2 fix GL520 VIN4 ID, was a duplicate of VIN3 so VIN4 was broken.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1234 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-11 21:58:07 +00:00
Martin Knoblauch b2ab0e99b0 (MKN) Fix samll glitch in FSCSCY table.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1230 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-09 16:33:26 +00:00
Martin Knoblauch 73ff128216 (MKN) Add stuff for FSCSCY min/max temperature statistics.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1228 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-09 16:01:41 +00:00
Martin Knoblauch 2f2e248676 (MKN) Add FSCSCY items.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1223 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-08 17:20:01 +00:00
Mark D. Studebaker e836047a83 merge it87 separate alarms_* /proc entries to single alarms entry to standardize
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1202 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-14 15:18:37 +00:00
Mark D. Studebaker d78cb7b93b Fujitsu Poseidon support from Hermann Jung <hej@odn.de>
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1179 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 15:20:15 +00:00
Mark D. Studebaker 739a87e785 Apply patch from David Gesswein:
The following patch does the following:

Fixed bug with not all alarms enabled.
Added ability to read battery voltage
Select temperature sensor type at module load time.
Added setting for Inside Technologies 786LCD board to example config file
I also fixed what looked like a typo in the existing it87 section where
in6_min/max was set twice and in7 was not set.  As commented I think
the equation for the negative voltages are wrong but without that motherboard
I can't verify.

With the 786LCD board sensors-detect reports a lm78 which doesn't
exist and a sis5595 which may be part of the SIS630 chip but doesn't
perform the monitoring.  The it8705F/SIS950 which is on the board is
reported as a misdetect.  I didn't know enough about the various chips
to figure out how to get correct detections.

David Gesswein


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1146 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-29 00:30:54 +00:00
Mark D. Studebaker 30b9291288 add 12-bit precision mode to ds1621,
patch from Christian Zuckschwerdt:

Hi,

On Fri, 15 Jun 2001, Mark D. Studebaker wrote:

> I looked at the patch and I see there are separate
> /proc entries for the 9 and 12 bit outputs.
> Why not just make the 12 bit output the only output using "temp"??
> I don't understand the need for all the new /proc entries,
> except perhaps for debugging inside #ifdef DEBUG.
> Would you or Jan be willing to develop a patch that way?
> I'm all for increased accuracy as a standard feature - why not?

Ok. I rewrote the patch to support standard (9bit) and enhanced (12bit)
accuracy via the "temp" entry. The "raw" interface is also gone.

There are some quirks needed for the sensors app. It seems that
prog/sensors/chips.c fixes the output to %+3.1f
Thats not good for 12bit mode which gives you 2 decimals and therefor
wrong scaling.

Precision is .062 with 12bit (4 decimal bits) instead of .5 with 9bit (1
decimal bit). That way 2 decimals seem a natural choice.
On the other hand I see no obvious reason not to fix decimals to 1...
I'm lost there -- suggestions anyone?

Another problem is that 12bit is slow and laggy. I don't recommend making
it the default mode.

  cu.
    :
    Christian


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1145 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-29 00:17:14 +00:00
Frodo Looijaard b94761e2e4 Updated version numbering for 2.6.0
> - Update, if necessary, the version number of `sensors'
>   (edit prog/sensors/main.c and change the VERSION define)
>   `cvs diff -r Vx-y-z prog/sensors' is your friend.

It seems that VERSION is now defined to LM_VERSION, so I removed this line
from the checklist.

> - Update if necessary, the version number of libsensors

I did a `cvs diff -r V2-5-5'. Looking at it, I see no interface changes,
but I do see new functionality. So I updated the library minor version.
The library version is now 1.2.0.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1129 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-12 21:58:26 +00:00
Mark D. Studebaker 634d04fd1a more it87 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1121 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-05 01:56:57 +00:00
Mark D. Studebaker a21694024e Change from sensors_x to i2c_x for x =
_sysctl_real
		_register_entry
		_proc_real
		_detect
		_deregister_entry
		_chips_data
      which were the global symbols renamed in i2c-proc.[ch] in the
      i2c package.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1101 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-27 22:49:28 +00:00
Mark D. Studebaker d431a88833 Initial checkin of adm1024 driver and support in libsensors,
sensors, sensors-detect.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1090 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-15 03:18:18 +00:00
Mark D. Studebaker 01bf598239 add maxilife-nba support to libsensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1089 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-15 02:45:02 +00:00