Commit Graph
874 Commits
Author SHA1 Message Date
Jean Delvare 175d652425 Don't register driver to avoid driver conflicts. (Daniel
Rune Jensen)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2294 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-15 15:09:00 +00:00
Jean Delvare 2409ee71bf Add support for the W83637HF.
Update the docs accordingly.
        Rename PWM registers so that it is clearer which chip uses them.
        Remove outdated comments.
        Fix the name in the w83627hf_driver structure.
        Fix reserved register and PWM bits being written to on the W83627THF.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2290 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-13 18:15:32 +00:00
Jean Delvare 8591ddc174 Fix bitmask in uch_config read and write.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2287 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-12 21:55:34 +00:00
Jean Delvare 1fe75068d1 Do not include unneeded headers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2286 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-12 21:46:36 +00:00
Jean Delvare 1a10f1995f Get rid of useless headers.
Remove useless second argument of IN_FROM_REG.
        Misc cleanups.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2284 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-12 18:50:24 +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 613a28e42f Fix typo (hundredths not hundreds).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2258 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-01 14:19:46 +00:00
Jean Delvare f0fc7dfc5f Move FSC Hermes voltage conversions to sensors.conf. (Reinhard
Nissl)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2257 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-01 13:20:41 +00:00
Jean Delvare e2420aea18 Remove use of temporary ID.
Defined addresses as a range.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2249 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-27 20:34:33 +00:00
Mark M. Hoffman c0d34c332e Backport of patch vs 2.6.1...
This patch fixes a "Trying to release non-existent resource" error that
occurs during rmmod when the device isn't actually present.  It includes
some other cleanups too: error paths, whitespace, magic numbers, __devinit.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2248 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-27 02:47:35 +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 D. Studebaker c1ee53baa0 fix reservations being cancelled. Ticket 1515 and many others.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2239 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-22 01:05:49 +00:00
Jean Delvare 99cb8b0992 Unimportant changes brought back from my recent co-port of the
driver to Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2238 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-21 18:51:25 +00:00
Jean Delvare 1da4a32706 Remove memtype completely.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2222 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-17 11:14:00 +00:00
Mark D. Studebaker b5c0ec5d74 fix /proc magnitudes; convert temp from Kelvin to C
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2215 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-12 05:21:17 +00:00
Mark D. Studebaker e9d296adf3 fix detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2214 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-11 23:54: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
Mark M. Hoffman 8c07545569 Change all temp_over to temp_max; similar to 2.6 port. Note that this
is purely cosmetic and internal to the driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2205 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-06 05:14:40 +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
Mark D. Studebaker 1a8aa204f9 remove it87 fan_ctl initialization and init parameter;
update docs and sensors.conf


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2201 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-04 17:11:59 +00:00
Mark D. Studebaker d449ee538f remove initialization of temp_type accidentally left in. Ticket 1508.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2200 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-03 04:49:16 +00:00
Jean Delvare 1a665e49ed Misc cleanups inspired from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2192 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-29 19:26:17 +00:00
Jean Delvare 86b9b4a477 Cleanups (mostly from Daniel Nilsson).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2191 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-28 15:19:21 +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 9abf92d58e Fix overtemp register, plus a few trivial changes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2180 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-15 21:23:19 +00:00
Jean Delvare d1d3418754 amd7xx -> amd756 (suggested by Philip Pokorny).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2175 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 17:19:30 +00:00
Jean Delvare 99f49b2123 New driver for the Winbond W83L785TS-S.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2174 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 17:17:00 +00:00
Mark D. Studebaker 7549f42032 use lm75.h
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2171 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 03:38:28 +00:00
Mark D. Studebaker ded7e313b1 add superio detection and driver support for it8712.
Subject:
              [PATCH] Re: SOLVED: Ticket #1409
         Date:
              Fri, 03 Oct 2003 16:48:32 +0200
        From:
              Bjørn Mork <bjorn@mork.no>
 Organization:
              m
          To:
              Mark Studebaker <mds@paradyne.com>
          CC:
              lm78@stimpy.netroedge.com, LM_Sensors developers <sensors@stimpy.netroedge.com>
   References:
              1 , 2 , 3




Bjørn Mork <bjorn@mork.no> writes:
> Mark Studebaker <mds@paradyne.com> writes:
>
>> If you port over the super i/o code from one of the 3 drivers listed
>> above
>> and send us a patch we'll include it.
>
> OK.  Will do.

Here's the patch as promised.  Took the code from smsc47m1.c.  It
currently only changes behaviour for the IT8712F since I cannot test
on any other IT87-chips, and the comments in sensors-detect made me
uncertain whether they really use the same key/exit sequence.

Also changed sensors-detect somewhat to support longer devids and exit
sequences.  Don't know if you'll approve my perl though...


Bjørn


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2170 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 00:54:10 +00:00
Mark D. Studebaker e8df7faa30 fix sensor type reporting. Thermistor would report as invalid
and vice versa.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2168 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 00:01:19 +00:00
Mark D. Studebaker 7e2d5f5fef fix byte writes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2166 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 23:39:23 +00:00
Mark D. Studebaker cd79c469b2 fix sg_tlx /proc entries. Ticket #1476.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2159 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 01:09:50 +00:00
Jean Delvare fb12997188 Change the "Unusual config register" message. Patch more or
less by Tom Rini.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2158 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-12 22:50:33 +00:00
Mark M. Hoffman e8c33a6575 Fix comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2152 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-10 05:36:24 +00:00
Mark M. Hoffman a5a21a98c8 Added VID support for w83627thf. Technically it's not supported by the
chip, but we'll guess that GPIO5 are used for this purpose.  It's
	correct for (at least) Asus P4C800-E, and if it's wrong for any
	others then we're no worse off.  Also, switch to using common LM75
	conversion functions.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2151 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-10 05:35:11 +00:00
Mark D. Studebaker 41a35b44cd remove initializations. forgot to check in before.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2149 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-10 04:39:02 +00:00
Mark D. Studebaker 972abea7df change pwm and smart guardian entries to 644 to enable writes.
note that pwm is non-standard and so 'fancontrol' still
      won;t work with this driver. Ticket #1429.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2143 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-07 23:57:51 +00:00
Jean Delvare 5bdbb3744f Display a message if a Force-CPCI735-like config register is
found. Should help debugging the problem.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2140 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-06 21:48:32 +00:00
Mark M. Hoffman 87738febe9 Use lm75.h temp to/from reg conversions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2135 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-03 06:06:22 +00:00
Mark M. Hoffman 6a9a7ff0eb (mmh) Pulled the TEMP_TO_REG and TEMP_FROM_REG functions into a separate
header and gave them the prefix LM75_. Also rewrote them according
	to the lm75 datasheet.  The next step is to replace all the various
	scattered (broken?) copies of these functions (especially in Winbond
	subclients) with this one.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2130 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-02 05:53:27 +00:00
Jean Delvare 0247cfa944 Fix byte writes used by eeprom.c. Similar to a recent fix made
to i2c-nforce2.c. Patch by Hans-Frieder Vogt <hfvogt@arcor.de>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2127 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-01 19:39:00 +00:00
Jean Delvare a3c77b0191 Fix IN_FROM_REG rounding.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2124 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 11:40:20 +00:00
Jean Delvare c1e28f8896 Init cleanups (unused vars and functions, and more).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2123 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 11:27:42 +00:00
Jean Delvare e5483ca3b6 Cleanups (again).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2122 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 11:01:48 +00:00
Jean Delvare 0f00db6a1f Cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2121 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 09:47:56 +00:00
Jean Delvare d835fc770d Support AMD8111 again. Patch by from Philip Pokorny
<ppokorny@penguincomputing.com>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2120 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 09:17:33 +00:00
Jean Delvare 72f129f3c2 Add support for KT600. Requested by Lou
<lm-sensors@fixit.nospammail.net>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2109 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 16:51:04 +00:00
Jean Delvare eeea6d92b7 Whitespace changes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2104 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:18:55 +00:00
Jean Delvare f2fe6cbd68 Rehabilitate Alexander Wold as the driver's author.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2102 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 20:12:02 +00:00
Mark D. Studebaker 7d16642a33 hopefully fix byte writes used by eeprom.c
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2096 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-27 02:37:43 +00:00