Commit Graph
208 Commits
Author SHA1 Message Date
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
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