2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-28 12:57:51 +00:00

248 Commits

Author SHA1 Message Date
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
Jean Delvare
8905e3d688 Initial support for Sony Vaio eeprom
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1600 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-13 08:57:42 +00:00
Mark D. Studebaker
64ebcefe4b add 8235
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1596 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-10 20:51:43 +00:00
Jean Delvare
fcd4e835b0 Fix sensors-detect so that it works on old Perl versions again
Tested on versions 5.005_003 and 5.6.1


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1587 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-08 09:38:29 +00:00
Jean Delvare
2362d2db7f Add ACPI method for detecting IBM systems
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1586 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-07 23:15:28 +00:00
Jean Delvare
f0d334292d Upgrade dmidecode to version 1.8
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1583 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-07 15:24:20 +00:00
Jean Delvare
a884de5865 Creation of /etc/sysconfig/lm_sensors defaults to NO if
/etc/sysconfig doesn't exist.
        Create /etc/sysconfig if required.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1565 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-10-17 17:42:00 +00:00
Mark D. Studebaker
60a30ddb79 1st cut at smart battery driver. untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1564 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-10-13 15:48:34 +00:00
Mark D. Studebaker
2e15825b48 read bug fix from Khali
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1557 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-10-11 23:48:15 +00:00
Mark D. Studebaker
138071ea37 change examples to show that MODULES_$i starts at 0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1556 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-28 20:42:02 +00:00
Mark M. Hoffman
2b203cd20b Added SiS650 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1553 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-26 01:45:16 +00:00
Alexander Malysh
5a52a84ffc added sis730 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1539 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-18 21:59:16 +00:00
Philip Edelbrock
25af130058 (Phil) Applied Alexander Malysh <amalysh@web.de>'s patch for
MC1066 support.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1535 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-18 19:17:30 +00:00
Mark M. Hoffman
09059c2292 added detection for SiS645DX and SiS735
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1533 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-17 06:18:40 +00:00
Mark M. Hoffman
f1ad92b5a7 added support for SiS645
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1519 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-01 20:22:51 +00:00
Mark D. Studebaker
56d32688c5 24rf08 plan B. Go back to write quick "0" so write-only
devices don't hang bus. Do second write quick in 54-57
      address range which resets 24rf08's.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1514 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-01 15:47:21 +00:00