Commit Graph
645 Commits
Author SHA1 Message Date
Mark M. Hoffman dbf8948a78 Added custom detection for some SiS chipsets. This resolves a long-
standing false detection problem.  Other changes in support of this custom
detection:

1) Changed pci_list to a hash, with keys of the form "1039:0016"
2) Added @kernel_version detection and comparison routine (thanks Khali)
3) Removed legacy sub: read_proc_pci


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2358 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-15 04:23:54 +00:00
Jean Delvare 664c5caf86 Remove reference to LM78 in ds1621.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2357 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-14 20:32:44 +00:00
Jean Delvare 085c52d0ae --rrd-cgi used instead of --rrd-file in an example.
Patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2355 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-14 19:15:55 +00:00
Mark M. Hoffman c4ca60614b Fix pattern match for sis645
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2354 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-14 17:57:15 +00:00
Jean Delvare dc8835e31f Add ALi M5879 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2353 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-13 18:29:26 +00:00
Jean Delvare d3d6231f3c Suggest that default answers are good.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2351 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-09 22:08:32 +00:00
Jean Delvare 1a5df45d8b Add MAX6900 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2347 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-08 20:49:08 +00:00
Jean Delvare 3957bad83f Prevent null pointer dereference. Reported by Tim Toohey.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2346 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-08 18:03:42 +00:00
Mark D. Studebaker 36c7305e78 use /sys/class/i2c-dev/i2c-x/name file if available;
solves problem with drivers that have multiple busses;
      requires Greg's patch (for kernel 2.6.5?)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2341 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-06 20:27:41 +00:00
Mark D. Studebaker 2edf79f350 don't print device ID if 0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2338 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:31:10 +00:00
Mark D. Studebaker 731ecf3db3 remove root uid/gid from install in Makefiles
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2335 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:16:00 +00:00
Jean Delvare f5f14fb585 Fix 47B27x device ID.
Do not hardcode ports in exit_superio().


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2331 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-03 20:19:10 +00:00
Jean Delvare 476217a3b3 More Super IO chips. Reworked exit sequences policy.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2330 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-02 21:05:44 +00:00
Jean Delvare b1d14ec032 Enable IT8705 and Nat'l PC87366 Super IO detection.
Use the same escape sequence for all Super IO chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2329 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-29 22:14:01 +00:00
Jean Delvare 55903e4677 Remove now useless subclient detection code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2328 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-29 18:43:53 +00:00
Jean Delvare b769ea66c5 Fix broken superio exit sequence handling.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2323 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 22:00:35 +00:00
Jean Delvare dce540bec8 Add support for Shuttle eeproms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2321 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 16:57:34 +00:00
Jean Delvare f0ab72d26c Tell Linux 2.6 users that they may need i2c_sensor.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2315 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-27 19:00:10 +00:00
Jean Delvare 2cc6f7308f Remove wrong comment in Vaio eeprom handling.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2314 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-27 06:43:56 +00:00
Mark D. Studebaker f0807af8d1 remove 1211/8231 in6 and temp1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2310 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-22 15:21:40 +00:00
Jean Delvare fb5229a046 Better interpretation of it87 temperature sensor types.
(Takeru Komoriya)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2306 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-22 10:18:14 +00:00
Jean Delvare 1397060c61 Add GeForce FX 5600 as supported by rivatv.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2303 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-21 18:50:57 +00:00
Jean Delvare ed4282e27c Add support for W83L785R. Improve W83L784R/AR.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2301 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-21 13:51:57 +00:00
Jean Delvare c97dfa8fde Add support for the W83637HF.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2289 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-13 18:10:43 +00:00
Jean Delvare 68730b9590 Add heuristics to the LM80 detection function. Should prevent
misdetections. Thanks to Lennard Klein for testing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2283 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-11 22:07:02 +00:00
Jean Delvare 1d5a2aa272 Cosmetic changes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2278 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-08 19:51:45 +00:00
Jean Delvare 5667d141c3 Add Linux 2.6 (sysfs) support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2277 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-08 19:47:09 +00:00
Jean Delvare 8c49038222 Fix fscpos and fscher fan fault mask. (Reinhard Nissl)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2271 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-05 20:03:55 +00:00
Jean Delvare 3bdd378985 Delete more than funky use of fan_min in FSC chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2268 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-04 20:37:00 +00:00
Jean Delvare af8f2cdf9f Driver fscher is ready.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2263 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-02 22:05:51 +00:00
Jean Delvare aecfdc0de7 Fix w83l785ts print.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2261 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-02 20:06:41 +00:00
Jean Delvare 2b701cc178 Support UTF-8 output (Marcel Sebek, sebek64 at post dot cz).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2254 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-31 11:58:06 +00:00
Jean Delvare 8408e0604a Get rid of spacestr().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2253 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-31 10:45:14 +00:00
Jean Delvare 8a64c5fd31 Move degrees string construction into a single, common place.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2252 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-31 10:17:15 +00:00
Jean Delvare 3eaffe23d3 Simplify gl518sm print.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2251 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-30 20:58:39 +00:00
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