2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-28 21:07:55 +00:00

363 Commits

Author SHA1 Message Date
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
Jean Delvare
b24d4adc8a Temporarily disabled i2c-riva and i2c-matroxfb, until these
drivers are ported to our new i2c strctures.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1875 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-08 09:22:43 +00:00
Jean Delvare
424012d9ec Fix LM90 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1873 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-08 07:19:12 +00:00
Jean Delvare
66d5b66267 Only install dmidecode if not existing or if older than our
source file. We are not the authority for dmidecode and we
        are not up-to-date either.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1866 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-07 10:44:29 +00:00
Jean Delvare
286c1e8745 Add LM90 detection.
Fix binmode call for Perl 5.005.
        Open /dev/i2c* in binary mode.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1865 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-07 10:31:41 +00:00
Jean Delvare
c721b2750c Really remove lm83 detection from adm1021_detect.
Fix detection code for MAX1617A (require both the manufacturer ID
        and the revision to match, instead of only one out of the two.)
        Add detection for ADM1021A/ADM1023.
        Give a higher (7 instead of 6) confidence to ADM1021-like chips
        with a known revision.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1847 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-04 08:13:35 +00:00
Jean Delvare
76ccb8d29c Moved LM83 detection to a separate function.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1841 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-03 17:28:16 +00:00
Jean Delvare
3d2f211650 Preliminary LM83 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1830 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-02 09:23:51 +00:00
Jean Delvare
a5aa0fce16 Better detection code for LM75, based on datasheet and known
hardware.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1829 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-02 09:06:51 +00:00
Jean Delvare
725ef53c13 Do not use O_BINARY, doesn't work on older versions of Perl.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1824 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-28 22:05:52 +00:00
Mark D. Studebaker
0948e17ee9 add new build targets 'user' and 'user_install'.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1822 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-28 20:04:51 +00:00
Jean Delvare
65b3af0ad5 Fix UTF-8 incompatibility. Thanks a lot to Jim Morris for testing!
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1819 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-28 08:25:19 +00:00
Mark D. Studebaker
37a4ade799 add w83l785ts detection - no driver yet
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1799 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-21 15:26:38 +00:00
Mark M. Hoffman
139114401d Added recognition of SiS746 host bridge.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1794 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-17 05:30:31 +00:00
Mark D. Studebaker
9c3c40097c Add support for w83627thf. Includes patch from
Matthias Hentges <matthias@hentges.net>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1784 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-11 23:43:25 +00:00
Jean Delvare
0b7a7b9787 Undid outb() fix by Jim Morris.
Fixed faulty outb() calls.
        Armored outb() against future faulty calls.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1783 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-11 08:28:55 +00:00
Mark D. Studebaker
2c31ea166c add w83791d detection, update documentation
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1782 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-10 03:01:31 +00:00
Mark D. Studebaker
a05fe9ed42 print super I/O device ID if not matched to help
identify unsupported chips


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1781 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-10 02:32:57 +00:00
Mark D. Studebaker
e9c0fce42a adm1026 and auto-sensors.h patch from P.P.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1777 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-08 21:33:39 +00:00
Mark D. Studebaker
8234f8c58a add support for 82801EB (ICH5) 0x24d3
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1775 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-08 21:05:58 +00:00
Mark D. Studebaker
2be6de25d8 C format fix from Jim Morris <morris@wolfman.com>
This seems to happen on newer perl versions.
It is fatal in as much as the sensors are not detected.
The solution appears to be to simply add & 0x7f to the
pack statement at line 1138 of sensors_detect...

sub outb
{
  my $towrite = pack( "C", $_[1] & 0x7f);


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1774 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-08 20:24:51 +00:00
Jean Delvare
63ea19c123 Fixed nForce2 detection, for real this time. Successfully tested
by Thomas "Sesshoumaru" Sabono. Thanks Thomas!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1767 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-07 08:34:25 +00:00
Jean Delvare
8742aa8f3a Added nForce2 detection, which was missing, although we have
nForce2 supported since 16 Feb 2003.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1761 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-05 09:16:33 +00:00
Jean Delvare
fc17449b5b Now supports dmidecode 2.0 and later.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1755 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-03 07:44:49 +00:00
Mark M. Hoffman
3d54042d27 Added support for SiS745 north bridge.
Patch and testing by Rudolf Marek

(mmh) Also added missing declaration for SiS963 support - my bad.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1752 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 22:22:16 +00:00
Mark M. Hoffman
caf6b6140e Added support for SiS651 north bridge.
Patches and testing by Chris King and Norbert Roos


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1750 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 20:23:13 +00:00
Mark D. Studebaker
51b011307c Patch from Philip Pokorny
This patch fixes a race condition in the lm85 driver and adds support for the
SMC EMC6D100 and EMC6D101.  The EMC6D100 and 101 chips have some additional
features that *are not* currently implemented in the driver, but the chip is
detected (by sensors-detect and the lm85 driver).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1740 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 00:24:07 +00:00
Mark D. Studebaker
bd256e9552 lm85 patch from Philip Pokorny <ppokorny@penguincomputing.com>
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1726 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:34:10 +00:00
Kyosti Malkki
1cfe63804a (Kyösti) Cleanups
Copy sysctl enums to chip drivers from sensors.h for now,
   as seen in drivers included in 2.5 tree. File no longer included
   from kernel side.

   Apply i2c-proc change in CVS tagged -km2.

   Partial clean and sort of includes everywhere.

   Add i2c-dev.h, as a partial copy from i2c.
   Add to sensors.h from i2c-proc.h to compile things.
   Remove i2c-isa.h.

   Reflect header file changes to lib/ and prog/.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1705 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 20:01:27 +00:00
Mark M. Hoffman
d876a79328 Added support for SiS648/961 and SiS645DX/962.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1701 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-20 06:07:11 +00:00
Mark D. Studebaker
26c495187b add patch to sensors -s in rc.local recommendation.
suggested by Peter Christy.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1674 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-15 04:46:21 +00:00
Mark D. Studebaker
c5e1f5cd90 point w83627/697 to new driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1673 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-15 04:41:20 +00:00
Mark D. Studebaker
18c7ce9011 add Super I/O chip detection. Current chips supported are
smsc47m1xx, vt1211, w83627hf, w83697hf.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1668 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-09 03:01:23 +00:00
Jean Delvare
f5728af145 Display the BIOS version (from dmidecode). Not used for now, but
may be later.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1650 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-26 17:03:02 +00:00
Mark D. Studebaker
08fad16d22 print some help and exit if no sensors found.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1640 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-21 23:43:05 +00:00
Mark D. Studebaker
55f1784022 add a reference to README.thinkpad if we quit
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1638 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-21 20:44:31 +00:00
Mark D. Studebaker
3929e57a5b amd8111 support, patch from
+* Vojtech Pavlik <vojtech@suse.cz>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1616 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-17 19:44:46 +00:00
Mark D. Studebaker
6b9f3c15da add bmcsensors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1608 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-16 03:28:33 +00:00
Jean Delvare
413a43e526 Fix improper error message on system() call failure.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1604 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-15 16:11:18 +00:00
Jean Delvare
e9f1c59012 Slightly better Vaio EEPROM detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1603 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-15 14:12:05 +00:00