Commit Graph
329 Commits
Author SHA1 Message Date
Jean Delvare a1b40ade8b Rework adm1021 and clones detection. Should hopefully prevent more
misdetections.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2393 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 09:19:31 +00:00
Mark D. Studebaker 6dd6a90af5 add smart battery manager and charger detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2392 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 02:50:11 +00:00
Jean Delvare 3d7dcf2574 New manual pages, courtesy of the Debian folks.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2388 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-22 19:53:44 +00:00
Mark D. Studebaker 0b1c5d4a03 fix broken smart battery detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2383 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 16:40:46 +00:00
Mark D. Studebaker e1c8fe7676 scan address 0x03 again
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2377 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 17:23:31 +00:00
Mark D. Studebaker d9ab520272 spelling fix
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2375 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 16:10:39 +00:00
Jean Delvare 453d6dc1e0 New Perl script, scans sensors-detect and prints statistics.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2373 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 10:33:51 +00:00
Jean Delvare 1a4c1fe191 Drop support of undetectable adapters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2372 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 09:29:50 +00:00
Jean Delvare e3ced8dff4 Do not scan 0x00-0x03 and 0x78-0x7f by default. Can be forced
with -f.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2371 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 08:38:20 +00:00
Jean Delvare 0fb8b6f04b Add support for the PCA9540.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2367 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:22:30 +00:00
Jean Delvare 77468b7dfc Add a "white list" of IBM systems.
Limit i2c addresses scanning.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2365 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:07:01 +00:00
Jean Delvare 36329a0336 Support SMSC 47B27x.
Fix bogus comment.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2364 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 17:57:42 +00:00
Mark M. Hoffman dbf8948a78 Added custom detection for some SiS chipsets. This resolves a long-
standing false detection problem.  Other changes in support of this custom
detection:

1) Changed pci_list to a hash, with keys of the form "1039:0016"
2) Added @kernel_version detection and comparison routine (thanks Khali)
3) Removed legacy sub: read_proc_pci


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2358 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-15 04:23:54 +00:00
Mark M. Hoffman c4ca60614b Fix pattern match for sis645
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2354 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-14 17:57:15 +00:00
Jean Delvare dc8835e31f Add ALi M5879 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2353 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-13 18:29:26 +00:00
Jean Delvare d3d6231f3c Suggest that default answers are good.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2351 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-09 22:08:32 +00:00
Jean Delvare 1a5df45d8b Add MAX6900 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2347 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-08 20:49:08 +00:00
Mark D. Studebaker 2edf79f350 don't print device ID if 0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2338 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:31:10 +00:00
Jean Delvare f5f14fb585 Fix 47B27x device ID.
Do not hardcode ports in exit_superio().


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2331 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-03 20:19:10 +00:00
Jean Delvare 476217a3b3 More Super IO chips. Reworked exit sequences policy.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2330 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-02 21:05:44 +00:00
Jean Delvare b1d14ec032 Enable IT8705 and Nat'l PC87366 Super IO detection.
Use the same escape sequence for all Super IO chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2329 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-29 22:14:01 +00:00
Jean Delvare b769ea66c5 Fix broken superio exit sequence handling.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2323 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 22:00:35 +00:00
Jean Delvare 1397060c61 Add GeForce FX 5600 as supported by rivatv.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2303 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-21 18:50:57 +00:00
Jean Delvare ed4282e27c Add support for W83L785R. Improve W83L784R/AR.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2301 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-21 13:51:57 +00:00
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 68730b9590 Add heuristics to the LM80 detection function. Should prevent
misdetections. Thanks to Lennard Klein for testing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2283 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-11 22:07:02 +00:00
Jean Delvare af8f2cdf9f Driver fscher is ready.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2263 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-02 22:05:51 +00:00
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