Commit Graph
816 Commits
Author SHA1 Message Date
Jean Delvare 453d40884f The lm93 driver is ready (patch by David Knierim).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2833 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-06 19:04:00 +00:00
Jean Delvare 36ac2e21db Patch from Aurelien Jarno:
On 2.6 kernels the sensors informations are in /sys and not /proc.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2832 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-06 18:48:32 +00:00
Jean Delvare 007f9a9d30 Patch by Aurelien Jarno:
The problem is that the library returns a negative number if there is an
error, and the error numbers in the .h files are not negative. Thus one
of the operand of the comparison should be negated.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2831 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-05 21:44:57 +00:00
Jean Delvare f30a5e407e Kill gcc 3 warning.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2830 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-05 20:38:50 +00:00
Jean Delvare 7c833a6029 Patch by J. A. McMahan Jr.:
This patch fixes a minor bug in the eeprog program that causes it to skip
the first byte when printing out data read from the EEPROM in ASCII mode
(that is, without the hex switch, -x, enabled).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2829 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-05 20:37:54 +00:00
Jean Delvare 30111799c1 Advertise the new ddcmon script. Warn that the ddcmon kernel
module is deprecated and will be deleted someday.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2825 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-04 16:20:17 +00:00
Jean Delvare 6e3f9a4cee New ddcmon perl script, user-space replacement for the ddcmon
kernel module.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2824 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-04 15:21:02 +00:00
Mark M. Hoffman 84ccde9e5d Fix: SMSC LPC47B397-NC detection (wrong superio logical device number)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2822 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-04 03:46:34 +00:00
Jean Delvare b72fd807fa Axel Thimm's cleanups:
o removed bashisms
  - make proper redirects to /dev/null
  - no bash-i18n
o no attempt to start lm_sensors is no config file or no modules in the
  config file
o removed leading and trailing underscores of displayed module names


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2820 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-01 12:05:17 +00:00
Jean Delvare 5767b9d53b Fix MAX6657, MAX6658 and MAX6659 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2815 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-29 10:50:19 +00:00
Mark D. Studebaker 67027938c8 change lockfile name (forgot to check in before)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2799 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-21 23:21:51 +00:00
Jean Delvare cb64b74141 Handle both pwm files naming scheme for 2.6 kernels (ticket
#1844).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2798 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-20 22:00:10 +00:00
Jean Delvare c364e969ca Discard bogus error message on missing lm63 fan data.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2796 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-16 06:59:46 +00:00
Jean Delvare acdc65cd6b Increase the confidence of the Maxim MAX6657, MAX6658 and MAX6659
chips from 3 to 4 so that they won't be misdetected as MAX1617 (ticket
#1841).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2795 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-10 20:10:09 +00:00
Mark D. Studebaker 6773d8e4e0 add support for upcoming ICH7 based on information from
Jason Gaston


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2793 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-08 21:20:13 +00:00
Jean Delvare 89508412a2 Fix W83792D detection. Add W83791SD detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2787 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-06 20:18:35 +00:00
Jean Delvare 526ee63372 Find eeproms on non-0 i2c bus too.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2782 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-03 22:33:56 +00:00
Jean Delvare fa8a7cf61b Detect the nForce2 Ultra 400 and the nForce3 Pro150 SMBus devices.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2779 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-29 20:24:28 +00:00
Mark D. Studebaker 9e7e764675 rename lockfile to sensord to match filename. ticket 1806
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2777 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 04:26:59 +00:00
Mark D. Studebaker af62c8384d rename lockfile from sensors to lm_sensors; ticket 1806
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2776 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 04:24:41 +00:00
Mark M. Hoffman d57ea204c6 Name fix: lpc57b397 -> lpc47b397
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2770 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-24 04:31:40 +00:00
Mark M. Hoffman 3b64007d60 Add support for SMSC LPC57B397-NC sensor chip.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2769 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-23 16:20:25 +00:00
Jean Delvare 5aef60324d Simplify the configuration file opening code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2768 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-21 21:36:10 +00:00
Jean Delvare 2898ec26ea Use only one default configuration file (the one "make install"
will install). Display the default configuration file in "sensors --help".
Thanks go to Dave Hylands for the suggestion.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2767 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-21 19:26:56 +00:00
Jean Delvare 651d95a94e Fix common (mostly harmless) regexp error in bus driver
identification callbacks.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2756 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-14 14:38:15 +00:00
Jean Delvare dfe1645a5a Detect the Philips PCA9556 (8-bit I/O expander).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2755 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-14 14:34:30 +00:00
Jean Delvare 385fa90896 Support DDR2 memory module EEPROMs. Patch by Rudolf Marek.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2751 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-05 20:01:19 +00:00
Jean Delvare ac53193d98 Do not scale load average. Patch by Aurelien Jarno.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2747 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-26 20:27:37 +00:00
Jean Delvare 3eb8495004 Written value can be masked, preserving unmasked bits at the
written location. Similar to what I did for i2cset some times
        ago.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2739 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-16 14:24:55 +00:00
Jean Delvare cf16be61a9 Discard IBM detection code, as it is not needed anymore.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2732 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-14 20:51:17 +00:00
Jean Delvare 4f58b8e4d8 Direct users to documentation for force_addr on ISA chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2731 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-14 20:20:14 +00:00
Jean Delvare 4538d37d49 Support the new lm63 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2729 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-13 20:56:59 +00:00
Jean Delvare 2a73d0fd71 Written byte/word can be masked.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2721 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-10 15:58:47 +00:00
Jean Delvare 7b450f6961 Improve LM63 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2716 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-09 07:47:36 +00:00
Jean Delvare f9fe027586 Nicer output. Refactor code a little.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2712 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-08 18:40:03 +00:00
Jean Delvare de281e24b0 LM85 and LM96000 identify the same.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2707 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-03 20:51:47 +00:00
Jean Delvare 11a1a716c2 Detect the W83792D
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2703 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-28 19:10:19 +00:00
Jean Delvare f09b9af8d1 it8712 support. Original patch by Rudolf Marek.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2701 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-25 11:24:12 +00:00
Jean Delvare 49526b087e Showing the version is not an error.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2697 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-22 20:41:26 +00:00
Jean Delvare 2f42ea6285 Rework command line parsing. Implement -y, kill arbitrary 5 second
delay. Update man page.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2696 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-22 20:37:06 +00:00
Jean Delvare 6f20de0c27 Mass reindent/coding-style update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2695 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-19 19:44:46 +00:00
Jean Delvare 26f600b2aa Fix a bug in libsensors which caused some failed feature writes
("set lines") to go unnoticed. lm78's fan3_div (which is read-only
        but stored in a R/W file in procfs) was one of them.
        Make sensors' error message in this case more explicit.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2692 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-19 17:37:18 +00:00
Mark D. Studebaker 2295bd7959 add print_vid_info() to print vid and vrm info for all supported chips
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2691 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-19 17:09:59 +00:00
Mark M. Hoffman b3945a5625 Added support for LM93.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2684 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-08 16:21:44 +00:00
Jean Delvare 657ffe4e9c Wait for user input to continue (as opposed to 5 sec delay).
Can be skipped using -y.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2680 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-30 19:31:46 +00:00
Jean Delvare 7c969daeb5 Display lm87 vid with 3 decimal places.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2679 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-30 19:23:32 +00:00
Jean Delvare eb8ced91c4 Trivial fixes (typo...)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2678 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-30 19:19:52 +00:00
Jean Delvare 043d2bb261 New header file, for functions shared among i2c command line
tools (i2cdetect, i2cdump, i2cset).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2677 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-30 18:43:12 +00:00
Jean Delvare e594f08271 Wait for user input to continue (as opposed to 5 sec delay).
Can be skipped using -y.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2676 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-29 21:22:00 +00:00
Jean Delvare 1cc6544e2b Refactor i2c device opening.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2675 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-28 20:42:49 +00:00