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
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
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
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
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
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
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
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
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
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
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
Mark D. Studebaker
e59b0151dc
add report that this is not required as of kernel 2.4.23.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2141 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-07 23:25:28 +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
Jean Delvare
4f819af753
Fixed device file detection for devfs. Problem found and fix
...
tested by Lennard Klein.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2136 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-05 18:56:09 +00:00
Jean Delvare
fb77f38e4d
Prevent LM75 misdetection as a DS1621.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2133 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-02 20:57:02 +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
c43fdc81af
Don't include dmidecode anymore.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2117 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 19:38:10 +00:00
Jean Delvare
b7392fbfbd
Get rid of DMI and ACPI detection methods. VPD should be
...
sufficent.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2116 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 19:37:34 +00:00
Jean Delvare
22a6ab0f41
Add support for KT600.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2112 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 17:49:35 +00:00
Jean Delvare
9df0724a72
Install to BINDIR, not SBINDIR.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2108 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:29:59 +00:00
Jean Delvare
3bac773065
Fix typo.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2106 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:21:02 +00:00
Jean Delvare
f2652439ff
Update copyrights and comments.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2105 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:20:21 +00:00
Mark D. Studebaker
e3a7d54722
add sysfs support to sensors-detect by using 'i2cdetect -l'
...
instead of 'cat /proc/bus/i2c'
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2101 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 05:10:32 +00:00
Mark D. Studebaker
82caa7986f
add -l option to i2cdetect so 'i2cdetect -l'
...
can be used as a replacement for 'cat /proc/bus/i2c'
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2100 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 04:37:08 +00:00
Mark D. Studebaker
0872117cb9
eeprog program from
...
Stefano Barbato
stefano@codesink.org
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2099 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 03:07:48 +00:00
Mark D. Studebaker
713f3eddb7
simplification
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2098 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 02:27:41 +00:00
Mark D. Studebaker
5bfcb08e18
report i2c-dev bus numbers rather than i2c-adapter numbers,
...
which may be different.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2097 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-27 23:53:10 +00:00
Mark D. Studebaker
bd947e0fe5
add 'c' mode for consecutive address byte reads
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2095 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-26 03:45:18 +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 D. Studebaker
1ec05114f4
cleanups
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2086 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-22 22:27:19 +00:00
Jean Delvare
e90563ba2f
Prevent LM80 misdetections.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2084 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 23:12:04 +00:00
Jean Delvare
b1c4ef69cf
Remove ddcmon support. Was broken, and what's the point in
...
monitoring constant values anyway?
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2082 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 20:19:08 +00:00
Mark D. Studebaker
5cef938a0e
remove isaset accidentally added in
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2079 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 04:05:48 +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
4f3ded5af9
use common function to print out available i2c busses;
...
add sysfs support to that function
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2065 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-17 03:04:09 +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
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
3a0da75647
Add VPD method to detect IBM systems. In the long term, the other
...
methods (DMI and ACPI) are expected to become unnecessary.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2052 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-11 22:08:07 +00:00
Mark D. Studebaker
bdebe88c28
handle multiple fans controlled by a single PWM
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2048 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-09 02:32:08 +00:00
Mark D. Studebaker
d0497c3452
detect W83637HF and W83697UF (no drivers yet)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2047 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-09 02:19:35 +00:00