2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-28 04:47:44 +00:00

196 Commits

Author SHA1 Message Date
Jean Delvare
6707ff8c59 Support pc87366 thermistor inputs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2543 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-17 18:36:31 +00:00
Mark D. Studebaker
f0fe895cb1 print out libsensors version too
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2538 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-16 16:04:58 +00:00
Jean Delvare
16628b5165 Patches by Aurelien Jarno:
I found a small bug in sensors and sensord when used with a w83781d
chip. On this chip the alarms for temp2 and temp3 are merged. However
that is not handled in sensors and sensord.

Please find attached two patches to fix that, one concerning sensors and
the other one concerning sensord.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2511 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 12:24:16 +00:00
Jean Delvare
4ef5ecd429 Inverse beep bits of the as99127f in the driver rather than in the
user-space.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2504 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-02 13:49:14 +00:00
Jean Delvare
acbe389aa9 Use the correct alarm bits for pc87366 temperatures and voltages.
Refactor pc87366 temperatures and voltages code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2487 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-28 18:10:47 +00:00
Jean Delvare
23eed72eb1 Fix pc87366 temp alarms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2484 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-27 18:24:29 +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
Jean Delvare
60d0048763 Fix lm80 displaying HOT alarm instead of OS alarm. Caught by
Shawn Starr.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2466 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-22 18:47: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
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
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
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
cbc73ddca1 Add a white space before Volt symbol in pcf8591. Reported by
Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2400 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 15:28:25 +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
1022db4ca3 Autodetect if we need to link against libiconv.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2394 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 10:30:04 +00:00
Jean Delvare
8028a99ac0 Print the degree symbol in the terminal's current locale. Original
patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2387 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 18:57:09 +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
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
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
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
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
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
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