Commit Graph
232 Commits
Author SHA1 Message Date
Mark D. Studebaker 39d1d4dfa5 remove old library versions in make clean
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2472 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-24 17:31:34 +00:00
Jean Delvare 635b1b06bc Support the LM99 (and LM89).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2471 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-24 08:10:48 +00:00
Mark D. Studebaker 379a2143d3 add code authors to man pages
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2456 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 01:25:22 +00:00
Jean Delvare e9d2d1aa95 Bump version.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2454 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-19 19:47:46 +00:00
Jean Delvare db71a2a1a4 Support voltages and temperatures of National Semiconductor
PC87365 and PC87366 (read-only).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2453 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-19 19:46:14 +00:00
Jean Delvare 2cdac4e54a The pc87360 driver now support the PC87365 and PC87366 as well,
and can write to registers. Untested.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2427 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 18:41:30 +00:00
Jean Delvare 4c32b1a881 Fix hyst temp for 2.6 lm75, lm78 and gl518sm. Shame on me.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2426 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 17:19:10 +00:00
Jean Delvare 89749d347b Premliminarily support PC87365 and PC87366.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2422 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 18:32:18 +00:00
Jean Delvare 478a83d656 Revert bogus assumption that magnitude of sysfs files can only be
0 or 3.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2421 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 18:03:14 +00:00
Jean Delvare 18d6d587cc Preleminary (read-only) National Semiconductor PC87360, PC87363
and PC87364 fan monitor and controller support.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2403 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-31 18:58:05 +00:00
Jean Delvare fb5c1fd230 Change pcf8591 magnitude (libsensors only) so as to display
values in pseudo-volts, much like what the 2.6 driver handles.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2398 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 13:01:34 +00:00
Jean Delvare 6828de49ec Support 2.6 pcf8591 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2396 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 11:48:58 +00:00
Jean Delvare 5c8b8dd34b Fix bad include in example (Aurelien Jarno).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2378 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 18:41:50 +00:00
Jean Delvare 9b65707bd1 Fix man page refering to itself in the SEE ALSO section.
Patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2359 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-15 20:57:21 +00:00
Jean Delvare e06c39f4b5 Add support for 2.6 ds1621.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2356 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-14 20:15:05 +00:00
Mark M. Hoffman 71a96916d5 Patch by Philipp Thomas <pth@suse.de>:
> Current gcc versions warn when type punning is used, as this breaks the
> strict aliasing analysis gcc 3.3 does by default. When checking the causes
> for these warnings I discovered that sensors_malloc_array,
> sensors_free_array, sensors_add_array_el and sensors_add_array_els in
> lib/general.c all take a 'void **' for the list. This is plain wrong as
> the C standard only allow 'char *' and 'void *' to alias any other type, so
> if these functions should take a generic pointer, it *must* be a 'void *'
> that's internally cast to a 'void **'.
>
> The attached patch does this and adapts all places where these functions are
> called. Note that when done correctly, no cast what-so-ever in the calling
> code is needed.
>
> The patch is against current lm_sensors2 cvs version.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2345 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-08 04:39:50 +00:00
Mark D. Studebaker e1c3e50aac correctly install shared lib 755
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2344 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-07 16:43:49 +00:00
Jean Delvare b7706a11a1 Bump lib version.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2343 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-07 15:06:03 +00:00
Jean Delvare b0bcb2990c Switch to new sysfs naming standard.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2342 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-07 07:30:27 +00:00
Jean Delvare 8ee9459465 Correctly handle 2.6 subclients. Original patch by Andrey
Borzenkov, much reworked.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2327 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-29 10:25:54 +00:00
Jean Delvare d0091d0dfd as99127f doesn't have in7/8 nor sensor1/2/3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2326 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-29 09:11:57 +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
Mark D. Studebaker 705eeb900f remove in6 and temp1 from vt1211 and vt8231
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2318 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 16:24:01 +00:00
Jean Delvare 72531a8512 Advance to 3.0.3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2312 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-22 17:49:28 +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 a38d8614a6 Fix vt1211 and vt8231 uch_config not being writable.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2288 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-12 22:13:28 +00:00
Jean Delvare 05d5bd78e3 Reverse temporary w83l785ts mappings change.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2281 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-10 17:59:27 +00:00
Jean Delvare 5007ebb449 Rename fscher fan_min to pwn (which it really is). (Reinhard
Nissl)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2280 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-08 21:10:19 +00:00
Jean Delvare e47b57380f Temporary fix to w83l785ts mappings. To be removed after
2.8.4 release.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2266 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-04 18:55:43 +00:00
Jean Delvare 9cc513005e Fix 2.6 temp_statusX wrong magnitude.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2265 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-03 17:46:03 +00:00
Mark D. Studebaker 7dcb173d2a advance to 3.0.2
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2264 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-03 02:41:49 +00:00
Jean Delvare b636958ac3 Fix negative voltage limits being swapped in various 2.6 drivers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2262 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-02 21:16:12 +00:00
Jean Delvare 8ec1dd9d01 Add 2.6 fan_rippleX for fscher.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2259 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-01 14:54:33 +00:00
Jean Delvare 490feb8a11 Fix broken gl518sm in0 input (Hong-Gunn Chew).
Handle gl518sm fan1 auto in 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2255 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-31 14:08:48 +00:00
Jean Delvare db27a07183 Support 2.6 gl518sm driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2250 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-30 20:57:38 +00:00
Jean Delvare cfb191a884 Add necessary conversions for FSC chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2247 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-26 21:50:42 +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
Mark M. Hoffman 144d461b27 Undo earlier temp. magnitude workarounds for w83781d vs. kernel 2.6.
The workarounds were obviated by Khali's patch which was merged
	into Linus' tree at 2.6.1-bk6.  Tested here on w83781d - would
	appreciate testing on the other w83's...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2237 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-21 03:42:07 +00:00
Jean Delvare 7ba6bd5b1d Fix it87 hyst -> low. Closes tickets #1527 and #1528.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2230 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-18 16:28:32 +00:00
Jean Delvare 6d3bdb9ba5 Use unbuffered I/O for 2.6 eeprom to benefit from driver
optimization.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2225 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-17 18:12:38 +00:00
Jean Delvare 1262c11c2f Get rid of the lm90 hyst exception.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2211 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-09 21:35:27 +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
Jean Delvare 28c6adc439 Reword the "Can't access /proc file" error message so that
Linux 2.6 users don't get confused. Update the FAQ accordingly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2208 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-09 21:09:58 +00:00
Jean Delvare a456f4a784 Remove alarms exceptions (via686a and it87) not needed anymore
in Linux 2.6.1.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2207 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-09 19:27:40 +00:00
Jean Delvare 648fe2056f Undo libsensors' hyst->min not needed anymore since linux
2.6.1-rc1.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2204 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-05 20:39:59 +00:00
Mark M. Hoffman f77ae36f6d Updates for ASB100: remove "beeps" and other cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2202 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-05 03:50:26 +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 5ced89019d better comments for getsysname()
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2196 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-30 22:21:40 +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 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