Commit Graph
169 Commits
Author SHA1 Message Date
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
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
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
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
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
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 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 M. Hoffman 849d140dbb Fixed minor typo in table-driven do_a_print() that was preventing
auto-printing of unknown chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2073 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-18 04:46:54 +00:00
Mark D. Studebaker 27cc3b8bf1 don't write to subclients
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2067 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-17 14:22:59 +00:00
Mark D. Studebaker e46771300d skip i2c subclients not hidden by sysfs
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2064 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 21:09:54 +00:00
Mark D. Studebaker 08e2eda9ff update error message to include sysfs info
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2062 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 20:17:30 +00:00
Mark D. Studebaker 3a25956e5c make do_a_print() table-driven
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2057 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 01:22:51 +00:00
Mark D. Studebaker b1741b5366 add sensor type selection in /proc for it87
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2053 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-12 01:36:12 +00:00
Jean Delvare 0fd659dfcb Improve lm90 print.
Normalize temperature print (general).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2040 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-03 19:29:20 +00:00
Jean Delvare 9413c3153f Add support for the ADM1032.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2039 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-02 19:37:45 +00:00
Jean Delvare f67324f3be New FSC Hermes chip driver, contributed by Reinhard Nissl
<rnissl@gmx.de>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2029 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 21:14:26 +00:00
Mark M. Hoffman 3f9fc00906 Fix for w83627thf - should show all of its features now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2023 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-23 04:39:52 +00:00
Jean Delvare 64418721e3 Fix a bug in MAX6650 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2001 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-26 21:08:57 +00:00
Mark D. Studebaker 633df4cb0b add separate 627thf support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1988 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 21:39:15 +00:00
John Morris 45576fb3fd (jrm): New driver and other support for the Maxim MAX6650 and MAX6651 chips.
Mainly targetted (and tested) with the 6651, but should work with
       the MAX6550.

       See doc/chips/max6650 for notes, bugs, assumptions, etc.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1987 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 20:45:12 +00:00
Mark D. Studebaker 103344795a add xeontemp driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1978 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-25 00:11:02 +00:00
Jean Delvare 16881b62e7 Introduce EDID registers (makes use of the eeprom speed
improvements).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1971 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 19:21:59 +00:00
Jean Delvare a54d86f8f4 Fix LM90 prints.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1962 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-15 09:23:48 +00:00
Jean Delvare 0d4d71d5c8 Add support for the lm90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1960 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-14 22:10:32 +00:00
Jean Delvare 597e5fb59a Add tcrit and alarms support to lm83.
New print_temp_info mode (CRIT, for high+crit).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1954 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 21:21:32 +00:00
Jean Delvare ee6d023d6f Change Sony Vaio EEPROMs detection procedure. This should
prevent EEPROMs with a password set from being randomly
        detected as regular memory chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1950 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 14:19:31 +00:00
Jean Delvare 159548a6d4 Exit(1) on /proc write failure.
Suggested by Malte Starostik.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1947 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 08:39:44 +00:00
Jean Delvare 24e6a6352d Major update of the ddcmon driver.
Add half a dozen new features.
        Add checksum parameter (same as for the eeprom module)
        Fix monitor limits


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1934 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-01 17:42:08 +00:00
Jean Delvare 048e044d4f Add support for DRDRAM (Direct Rambus) to eeprom.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1924 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-30 09:19:05 +00:00
Jean Delvare 3230c59d6b ADM1025: Match changes made to libsensors (swap temp1 and temp2,
rename hyst/over to low/high)
                 Handle remote diode fault


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1918 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-29 10:36:31 +00:00
Jean Delvare b3528cbdbc Rewrote print_eeprom().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1884 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-17 16:41:12 +00:00
Mark D. Studebaker 1fa79086db emc6d100 patch from P.P.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1859 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-07 01:56:24 +00:00
Jean Delvare 44250b56bd Add support for lm83.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1843 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-03 17:45:32 +00:00
Mark D. Studebaker 0948e17ee9 add new build targets 'user' and 'user_install'.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1822 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-28 20:04:51 +00:00
Mark D. Studebaker bd6b6f61ab remove unused variable from -Wall
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1800 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-21 16:06:13 +00:00
Mark D. Studebaker e9c0fce42a adm1026 and auto-sensors.h patch from P.P.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1777 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-08 21:33:39 +00:00
Mark D. Studebaker 080beac84a recognize w83791d
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1742 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 01:01:58 +00:00
Mark D. Studebaker 51b011307c Patch from Philip Pokorny
This patch fixes a race condition in the lm85 driver and adds support for the
SMC EMC6D100 and EMC6D101.  The EMC6D100 and 101 chips have some additional
features that *are not* currently implemented in the driver, but the chip is
detected (by sensors-detect and the lm85 driver).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1740 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 00:24:07 +00:00
Mark D. Studebaker bd256e9552 lm85 patch from Philip Pokorny <ppokorny@penguincomputing.com>
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1726 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:34:10 +00:00