Commit Graph
610 Commits
Author SHA1 Message Date
Jean Delvare 47d8badc71 Do not ignore errors on FSC chips.
Some reindent in fscscy and fscpos.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2246 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-26 19:36:45 +00:00
Jean Delvare d6294776d4 Separate prefix for NE1619.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2243 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-25 17:26:22 +00:00
Jean Delvare 15e361800a Do not show algorithm by default.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2240 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-23 17:34:40 +00:00
Jean Delvare f86e3d4aa7 Ensure /usr/local/sbin is in runner's path.
Fix /sbin too.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2227 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-18 07:26:37 +00:00
Jean Delvare ac7a0cf1f4 Add Linux 2.5/2.6 (sysfs) support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2224 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-17 18:07:45 +00:00
Jean Delvare 254faf0931 Add missing space in help string.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2223 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-17 18:06:21 +00:00
Mark M. Hoffman dec7339518 Add proper sensors support for asb100.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2216 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-14 06:11:08 +00:00
Jean Delvare bf8d5f1305 Change the way the lm90 driver handles hysteresis. Now similar
to the 2.6 version of the driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2210 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-09 21:26:54 +00:00
Mark M. Hoffman f854a231b2 Add asb100 to lists of special (subclient) cases for kernel 2.6. This
stops short of full "support" for sensors, for now.  I.e. all the
	info is displayed, it's just not as pretty.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2206 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-06 05:19:25 +00:00
Jean Delvare cc6c1a12a4 Add support for the Linux 2.6 version of the lm90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2197 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-31 21:30:43 +00:00
Mark D. Studebaker 64aeb747a4 remove -o and -g args to install
Date: Thu, 18 Dec 2003 22:42:36 +0100
From: Haakon Riiser <haakon.riiser@fys.uio.no>
To: sensors@Stimpy.netroedge.com
Subject: lm_sensors 2.8.2 / DESTDIR / root

The reason for this email is that I always try to avoid running
Makefiles as root, even during 'make install'.  Therefore, I
always use the DESTDIR feature, when it's available.  Until today,
I always built i2c and lm_sensors by doing

  $ make
  $ make -i install DESTDIR=/foo
  $ cd /foo && su root && fix permissions/ownership && install

The -i flag to make install is a kludge to avoid having to be root
while installing to the DESTDIR, and it's only required because
the files are installed with "-o root -g root".  Using the -i
flag is of course not a good idea, since more fatal errors can
easily fly by undetected.

Today, I upgraded to Linux 2.6.0, and tried a similar install
procedure for lm_sensors, except that the make target is now "user"
and the install target is "user_install".  I now noticed that the
DESTDIR variable is not used everywhere in "user_install", so I
couldn't use the -i kludge anymore.  Instead, I wrote a patch that
removes the "-o root -g root" arguments to install everywhere, and
I also tried to add DESTDIR to all files/directories installed.
(The patch only applies to lm_sensors, not i2c, since only
lm_sensors is required in Linux 2.6.0.)

There's really no reason to say -o root -g root anyway, since if you
do install directly with make install, you have to be logged in as
root, and then the files will get the right ownership by default.
Much of the point of installing to a temporary DESTDIR is that you
don't have to be root, and that you can prepare the installation
by hand.  Fixing the ownership is trivial:

  chown -R root.root $DESTDIR


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2189 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-23 23:13:38 +00:00
Mark D. Studebaker 8de677db34 pwmconfig: write fan dependency to config file
fancontrol: monitor fan speed;
		trap signal and restore fans on trap;
		check read/write results and abort if fail;
		support 2.6 kernels;
		remove DEBUG=1


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2188 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-20 22:35:23 +00:00
Mark D. Studebaker ba972d7b0a initial 2.6 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2187 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-20 18:40:39 +00:00
Jean Delvare 5c4b5f75d5 rpath patch by Joerg Dorchain <joerg@dorchain.net>.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2185 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-16 19:59:50 +00:00
Marius Reiner 77d38d9fe9 (marius) bugfix
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2183 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-16 00:58:46 +00:00
Marius Reiner 324c738f9c (marius) optimization
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2182 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-16 00:49:59 +00:00
Jean Delvare 7baac5cdef Add W83L785TS-S support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2181 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-15 21:24:09 +00:00
Mark D. Studebaker 5dee16319e more fixes and improvements
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2178 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-15 03:50:09 +00:00
Mark D. Studebaker d1e20b9e27 improvements
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2177 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 19:19:52 +00:00
Jean Delvare 9dcb6da848 Fix typo on "consecutive".
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2176 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 17:54:42 +00:00
Jean Delvare b1e6a4dc94 W83L785TS-S now has a driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2173 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 17:15:51 +00:00
Mark D. Studebaker ded7e313b1 add superio detection and driver support for it8712.
Subject:
              [PATCH] Re: SOLVED: Ticket #1409
         Date:
              Fri, 03 Oct 2003 16:48:32 +0200
        From:
              Bjørn Mork <bjorn@mork.no>
 Organization:
              m
          To:
              Mark Studebaker <mds@paradyne.com>
          CC:
              lm78@stimpy.netroedge.com, LM_Sensors developers <sensors@stimpy.netroedge.com>
   References:
              1 , 2 , 3




Bjørn Mork <bjorn@mork.no> writes:
> Mark Studebaker <mds@paradyne.com> writes:
>
>> If you port over the super i/o code from one of the 3 drivers listed
>> above
>> and send us a patch we'll include it.
>
> OK.  Will do.

Here's the patch as promised.  Took the code from smsc47m1.c.  It
currently only changes behaviour for the IT8712F since I cannot test
on any other IT87-chips, and the comments in sensors-detect made me
uncertain whether they really use the same key/exit sequence.

Also changed sensors-detect somewhat to support longer devids and exit
sequences.  Don't know if you'll approve my perl though...


Bjørn


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2170 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 00:54:10 +00:00
Mark D. Studebaker 17af026df9 update to version 0.7.5, which makes -8 mode the default.
This should be safer.
      Contribution from
            Stefano Barbato <stefano@codesink.org>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2167 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 23:54:59 +00:00
Mark D. Studebaker 270bd02b4f add DESTDIR. patch from
Sergey Vlasov <vsu@altlinux.ru>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2164 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 23:08:58 +00:00
Jean Delvare 6fe0b94028 Cosmetic updates to MAX1617/LM84 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2160 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 09:41:38 +00:00
Jean Delvare 0fe637fa14 Ignore VPD checksum for now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2153 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-10 07:35:33 +00:00
Mark M. Hoffman c177ea5d8e Updated for ASB100
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2148 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-09 06:17:04 +00:00
Mark D. Studebaker e59b0151dc add report that this is not required as of kernel 2.4.23.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2141 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-07 23:25:28 +00:00
Jean Delvare aabf2040a5 New flag (-U) to hide unknown chips. Not the default.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2138 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-06 11:47:45 +00:00
Jean Delvare 6652773369 Fix printing of unknown chips (missing new lines on errors).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2137 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-06 11:45:09 +00:00
Jean Delvare 4f819af753 Fixed device file detection for devfs. Problem found and fix
tested by Lennard Klein.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2136 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-05 18:56:09 +00:00
Jean Delvare fb77f38e4d Prevent LM75 misdetection as a DS1621.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2133 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-02 20:57:02 +00:00
Mark D. Studebaker 956b86fb81 change eeprom error message from "ERROR" to "Unavailable"
so we don't panic 2.6 users


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2119 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 02:38:08 +00:00
Jean Delvare c43fdc81af Don't include dmidecode anymore.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2117 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 19:38:10 +00:00
Jean Delvare b7392fbfbd Get rid of DMI and ACPI detection methods. VPD should be
sufficent.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2116 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 19:37:34 +00:00
Jean Delvare 22a6ab0f41 Add support for KT600.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2112 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 17:49:35 +00:00
Jean Delvare 9df0724a72 Install to BINDIR, not SBINDIR.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2108 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:29:59 +00:00
Jean Delvare 3bac773065 Fix typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2106 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:21:02 +00:00
Jean Delvare f2652439ff Update copyrights and comments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2105 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:20:21 +00:00
Mark D. Studebaker e3a7d54722 add sysfs support to sensors-detect by using 'i2cdetect -l'
instead of 'cat /proc/bus/i2c'


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2101 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 05:10:32 +00:00
Mark D. Studebaker 82caa7986f add -l option to i2cdetect so 'i2cdetect -l'
can be used as a replacement for 'cat /proc/bus/i2c'


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2100 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 04:37:08 +00:00
Mark D. Studebaker 0872117cb9 eeprog program from
Stefano Barbato
	stefano@codesink.org


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2099 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 03:07:48 +00:00
Mark D. Studebaker 713f3eddb7 simplification
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2098 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 02:27:41 +00:00
Mark D. Studebaker 5bfcb08e18 report i2c-dev bus numbers rather than i2c-adapter numbers,
which may be different.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2097 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-27 23:53:10 +00:00
Mark D. Studebaker bd947e0fe5 add 'c' mode for consecutive address byte reads
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2095 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-26 03:45:18 +00:00
Jean Delvare 576aeb20d9 Fix broken strerror call.
Fix several memory leaks.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2089 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-23 21:24:07 +00:00
Mark D. Studebaker 1ec05114f4 cleanups
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2086 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-22 22:27:19 +00:00
Jean Delvare e90563ba2f Prevent LM80 misdetections.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2084 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 23:12:04 +00:00
Jean Delvare b1c4ef69cf Remove ddcmon support. Was broken, and what's the point in
monitoring constant values anyway?


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2082 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 20:19:08 +00:00
Mark D. Studebaker 5cef938a0e remove isaset accidentally added in
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2079 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 04:05:48 +00:00