Commit Graph
197 Commits
Author SHA1 Message Date
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
Mark D. Studebaker ee719c4963 fix off-by-one bug with 2.6 eeprom handling
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2165 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 23:38:08 +00:00
Mark D. Studebaker 46f0afa134 add guidance on major number from
Sergey Vlasov <vsu@altlinux.ru>
      Advance minor number to 1 (3.0.1)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2163 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 20:19:38 +00:00
Mark D. Studebaker 01c921f51d add hack to support eeproms in 2.6 kernels
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2162 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 19:01:43 +00:00
Jean Delvare 24c728587e Fix as99127f's temp_max3 (sysfs).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2126 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 16:29:42 +00:00
Jean Delvare 0c3e17a4ec Fix sensors segfault on bus freeing (sysfs).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2111 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 17:44:30 +00:00
Jean Delvare 3bcb913c3f Add debugging code to trap systems that don't let libsensors
write to /proc. Define DEBUG to have it in, and use strace to
        get the result.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2107 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:28:54 +00:00
Mark D. Studebaker bd719fa164 put in more exceptions to match 2.6.0-test8/9/10 sysfs names and mags
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2093 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-26 02:02:37 +00:00
Jean Delvare add66b1875 Undo unacceptable hack. Better let things crash if they would,
at least we'll be able to investigate.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2092 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-24 20:18:47 +00:00
Jean Delvare 4277208906 Remove nasty comment. No, freeing memory is not "strictly
optional."


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2090 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-23 21:26:37 +00:00
Jean Delvare 44ff677255 Fix memory leak.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2088 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-23 21:20:57 +00:00
Mark D. Studebaker f393a88321 bus number is decimal, not hex
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2087 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-22 22:27:47 +00:00
Mark D. Studebaker a978c11e94 adjust some mappings; map hyst to min to match what's in kernel -test8/9
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2081 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 04:07:22 +00:00
Mark D. Studebaker 5b3e375ef9 add sysfs mappings for non-standard via686a inx
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2080 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 04:06:48 +00:00
Mark D. Studebaker 401f8ce7f2 add getsysname() function which converts standard /proc names to
standard sysfs names and magnitudes


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2076 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-19 03:11:13 +00:00
Mark D. Studebaker 8b28191e86 add back non-standard sysmag for w83781d temps, as this is what
is in kernel right now (2.6.0-test8/test9). Also good for testing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2075 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-19 03:10:41 +00:00
Mark D. Studebaker 3641c84289 revert previous change to w83781d. Standard conversion function
in proc.c does this for chips with standard names. Additional entries
      still req'd for chips with non-standard names.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2074 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-19 03:04:58 +00:00
Mark D. Studebaker a6ba35fb66 add sysfs write support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2066 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-17 14:22:05 +00:00
Mark D. Studebaker 6e2c2a4d69 correctly mark ISA chips with special ISA bus number
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2061 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 19:54:38 +00:00
Mark D. Studebaker 86a6cdbb06 retrieve i2c adapter name from sysfs
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2060 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 19:43:05 +00:00
Mark D. Studebaker 27e9877012 Add preliminary sysfs support. Two entries added to struct sensors_chip_feature.
chips.c support added only for w83781d as an example.
      Advance library version to 3.0.0.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2059 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 17:57:29 +00:00
Mark D. Studebaker 9876834233 add some abbreviations to make it more readable
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2058 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 17:41:24 +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 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
Mark M. Hoffman ca4b268555 First shot at independent driver for ASB100 "Bach"
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2036 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-29 05:37:52 +00:00
Mark D. Studebaker bcb347f855 advance version to 2.0.2
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2031 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-28 01:46:09 +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 D. Studebaker fa5000779b update comments
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2022 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-23 02:22:26 +00:00
Mark M. Hoffman aa42ce8ce7 Add some missing glue for w83627thf support in libsensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2020 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-22 02:07:30 +00:00
Mark D. Studebaker f38dc972e0 several bmcsensors fixes:
- fix voltage scaling
	- swap voltage limits
	- use lower critical rather than upper hysteresis
	  for non-temperature sensors
	- increase libsensors support to 20 voltage, 10 fan,
	  10 temperature sensors
	Tickets 1406 and 1407.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2017 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-13 03:01:45 +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 96045bea38 Add separate error returns and messages for read and write errors.
Add missing message for "general parse error" - a nasty bug.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1979 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-25 00:28:26 +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 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 122e8d43a3 Add tcrit and alarms support to lm83.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1953 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 21:18:41 +00:00