2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00
Commit Graph

2505 Commits

Author SHA1 Message Date
Jean Delvare
df5deeff65 Alpha MODCFLAGS change suggested by Daniel Nilsson.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2193 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-29 19:29: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
31430133b0 updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2190 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-23 23:15: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
Mark D. Studebaker
8de677db34 pwmconfig: write fan dependency to config file
fancontrol: monitor fan speed;
		trap signal and restore fans on trap;
		check read/write results and abort if fail;
		support 2.6 kernels;
		remove DEBUG=1


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2188 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-20 22:35:23 +00:00
Mark D. Studebaker
ba972d7b0a initial 2.6 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2187 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-20 18:40:39 +00:00
Mark M. Hoffman
6d20996616 Added missing lm75.h
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2186 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-18 05:24:55 +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
Mark D. Studebaker
a55743d1de smart fan support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2184 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-16 01:45:40 +00:00
Marius Reiner
77d38d9fe9 (marius) bugfix
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2183 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-16 00:58:46 +00:00
Marius Reiner
324c738f9c (marius) optimization
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2182 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-16 00:49:59 +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
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
3911c658fa rpath patch by Joerg Dorchain <joerg@dorchain.net>.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2179 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-15 20:27:31 +00:00
Mark D. Studebaker
5dee16319e more fixes and improvements
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2178 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-15 03:50:09 +00:00
Mark D. Studebaker
d1e20b9e27 improvements
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2177 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 19:19:52 +00:00
Jean Delvare
9dcb6da848 Fix typo on "consecutive".
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2176 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 17:54:42 +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
Jean Delvare
b1e6a4dc94 W83L785TS-S now has a driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2173 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 17:15:51 +00:00
Jean Delvare
e9f9539302 An "uninstall" Makefile target would be welcome.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2172 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 15:07:38 +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
0b20ca2730 (mds)
Subject:
         RE: RPM spec file patches for i2c and lm_sensors 2.8.1
   Date:
         Tue, 28 Oct 2003 14:34:11 -0800
   From:
         "Marc Rieffel" <marc@paracel.com>
     To:
         <sensors@Stimpy.netroedge.com>




I agree that you shouldn't distribute RPMs.  That doesn't make sense for kernel modules.

For people like me, who want to easily deploy lm_sensors across a cluster of uniform machines, it's very handy to have a spec
file there so that we can build our own RPMs for specific systems with specific kernels and configurations.  Even though the
spec file you had was out of date, it still saved me a lot of trouble.

My vote would be to keep the spec files.  If nobody wants to maintain them, call them unsupported or unmaintained.

Who's Axel?  I'd be happy to work with him, or just use whatever he has or recommends.

Unified diffs attached.

> -----Original Message-----
> From: Jean Delvare [mailto:khali@linux-fr.org]
> Sent: Tuesday, October 28, 2003 2:16 PM
> To: Marc Rieffel; Axel Thimm
> Cc: sensors@Stimpy.netroedge.com
> Subject: Re: RPM spec file patches for i2c and lm_sensors 2.8.1
>
>
>
> > I had to make these changes to be able to build i2c and lm_sensors
> > rpms that worked.  Also, lm_sensors.init isn't included in
> any of the
> > rpms.  Looks like nobody's touched these for several versions.
>
> You're right, the files were untouched since May 2000. Quite a while
> actually. We don't build RPMs anymore. I personnaly consider that this
> is the distributor's job, not our. They do that much better than we
> would.
>
> > i2c.spec:
> >
> > 25c27
> > < %define ver 2.8.1
> > ---
> > > %define ver 2.5.0
> > (...)
>
> Please provide unified diffs if you want me to apply them to
> our files.
>
> You could also consider getting in touch with Axel, who is building
> quality RPM packages from our sources, using his own .spec
> files. Maybe
> you both will agree on some version of the spec files that we should
> include in our source files. Or maybe we should simply remove the RPM
> directory from our source trees - that would be more honest
> IMHO, since
> nobody here seems to be wanting to maintain them, while Axel
> is doing a
> very great job on his side. Let packagers package, that's their job :)
>
> --
> Jean Delvare
> http://www.ensicaen.ismra.fr/~delvare/
>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2169 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 00:36:14 +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
17af026df9 update to version 0.7.5, which makes -8 mode the default.
This should be safer.
      Contribution from
            Stefano Barbato <stefano@codesink.org>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2167 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 23:54:59 +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
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
270bd02b4f add DESTDIR. patch from
Sergey Vlasov <vsu@altlinux.ru>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2164 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 23:08:58 +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
49f4d2fe55 Next release will be 2.8.3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2161 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 15:45:26 +00:00
Jean Delvare
6fe0b94028 Cosmetic updates to MAX1617/LM84 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2160 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 09:41:38 +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
Philip Edelbrock
88c10911a1 (Phil) Tag and release 2.8.2
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2157 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-11 23:15:00 +00:00
Jean Delvare
f245670a34 Fix in5 and in6 for as99127f rev.2.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2155 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-11 18:56:47 +00:00
Mark M. Hoffman
5096e006d5 Added section for ASB100 vs. Asus P4S333.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2154 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-11 05:09:40 +00:00
Jean Delvare
0fe637fa14 Ignore VPD checksum for now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2153 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-10 07:35: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
f905880586 winbond link update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2150 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-10 04:39:55 +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 M. Hoffman
c177ea5d8e Updated for ASB100
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2148 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-09 06:17:04 +00:00
Jean Delvare
9bde0921ad Add w83627thf-* section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2147 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-08 21:59:03 +00:00
Mark D. Studebaker
2db362ee7c more updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2146 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-08 01:26:49 +00:00
Mark D. Studebaker
9da9b0fa94 doc update 2 (2.4 and bttv)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2145 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-08 00:28:34 +00:00
Mark D. Studebaker
fdd22cf1da doc update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2144 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-08 00:16:55 +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