Commit Graph
302 Commits
Author SHA1 Message Date
Jean Delvare f86e3d4aa7 Ensure /usr/local/sbin is in runner's path.
Fix /sbin too.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2227 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-18 07:26:37 +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 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
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
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
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
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
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
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
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
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 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
Jean Delvare 3c8f76f8b5 Add support for ADM1029, ADM1030 and ADM1031.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2044 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-08 11:13:46 +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
Jean Delvare e574d476b5 Fix W83791D detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2034 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-28 19:17:04 +00:00
Mark D. Studebaker 39faf50b41 add support for CSB6 based on confirmation in ticket #1424
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2027 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 03:03:47 +00:00
Jean Delvare 8b82c4d22d Fix W83627HF detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2025 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-25 18:53:48 +00:00
Jean Delvare 75b6d048e7 Raise superio confidence value from 8 to 9.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2021 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-22 18:42:44 +00:00
Jean Delvare b1fe3439d3 Removed detection of PCF* chips. They are not sensors and not
detectable, so they generated more noise that anything else.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2019 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-15 17:46:46 +00:00
Jean Delvare 228a83efb5 More LM75 misdetection prevention.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2018 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-13 20:09:52 +00:00
Jean Delvare 8e802a7085 Enhance MAX1617, LM84 and LM75 detection in order to reduce
misdetections.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2015 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-11 13:35:01 +00:00
Jean Delvare 7e659d760f Extra checks to prevent misdetection of MAX1617 and LM84.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2013 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-10 20:57:40 +00:00
Jean Delvare 51817d862a Add FSC Hermes detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2002 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-27 08:19:20 +00:00
Jean Delvare dc953405ce Fix the case where different chips using the same driver, when
detected at the same address, cause the driver to be told to
        ignore this address. Untested.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2000 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-26 21:07:16 +00:00
Mark D. Studebaker 833a8615ba add detection for smsc 47m14x
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1994 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-13 21:05:52 +00:00
Jean Delvare 2b503c995c Improve ADM1032 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1991 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-08 17:38:23 +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
Jean Delvare da334c10bc Tell people to contact us for to-be-written drivers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1982 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 20:58:02 +00:00
Jean Delvare dfd8c9035c Add detection for LM90 clones (ADM1032, MAX6657, MAX6658).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1981 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 20:53:29 +00:00
Jean Delvare e05bedb2a3 Enhance LM82 and LM83 detection (thanks to Magnus Forsstrom).
Handle "to-be-written" drivers more cleanly (users won't be asked
        to "modprobe to-be-written" anymore).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1945 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-07 13:03:25 +00:00
Jean Delvare 0dc5c7c00c Detect which of modules.conf or conf.modules should be used.
Detect which of /dev/i2c-*, /dev/i2c/* or /dev/i2c*  should be
        used.
        Stop if no i2c device files exist.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1944 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-07 09:31:24 +00:00
Jean Delvare ded9daf517 Fix EEPROM detection (again).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1943 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-07 08:51:08 +00:00
Jean Delvare 7c3bb9df01 Make sure /sbin is in the user's path.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1939 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-05 09:08:38 +00:00
Jean Delvare fbdaf86be0 Fix missing semicolon (stupid me).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1932 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-01 09:17:17 +00:00
Jean Delvare 27e18c0245 Lower confidence for Asus chips which are not at 0x2d.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1930 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-31 07:32:09 +00:00
Jean Delvare cdb0eb97d7 Comment update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1929 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-31 07:24:29 +00:00
Jean Delvare ef2c668d19 Add Asus Mozart-2 detection using Alex van Kaam information.
Untested.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1911 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-27 10:37:32 +00:00
Jean Delvare 21ccf11885 Add detection of Philips NE1619 (ADM1025 clone).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1905 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-26 17:39:41 +00:00
Jean Delvare a3f7087066 Significant changes to the w83781d family detection method:
- separate detection sub for W83L784R/AR
        - ranges limited to what the specs say for I2C-only chips
        - add detection for the AS99127F rev.2 and explicit detection of
          the ASB100 Bach
        - improve code readability
        - do not ignore the chipset ID LSB anymore; explicit acceptation
          of 0x11 as a W83781D ID instead
        - fix a bug in secondary LM75 address extraction


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1903 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-26 09:37:12 +00:00
Jean Delvare e88c9708bf Add support for LM82, LM86 and LM89.
Better detection for LM83 and LM90.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1888 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-19 22:09:39 +00:00
Jean Delvare cb82667b62 Add detection (well, hm) for PCF8574 and PCF8574A.
Add detection for SAA1064 (untested).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1886 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-18 08:06:05 +00:00
Jean Delvare 3efe48f865 Enable i2c-matrox and rivatv again.
Change the name and URI for rivatv (was i2c-riva).
        Better handling of disabled drivers (for future use).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1883 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-17 08:50:05 +00:00
Jean Delvare a5890ce091 Recommend the user to give a try to the modprobe and sensors -s
commands directly.
        Make the sleep before sensors -s a comment.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1877 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-08 13:07:59 +00:00