2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00
Commit Graph

471 Commits

Author SHA1 Message Date
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
Mark D. Studebaker
67540c7d07 clear correct bits in config word
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1821 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-28 19:27:17 +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
Marius Reiner
eb4c9aa2d1 (marius) added some comments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1815 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-23 20:57:49 +00:00
Mark D. Studebaker
bd6b6f61ab remove unused variable from -Wall
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1800 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-21 16:06:13 +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
Marius Reiner
2d5e514e91 Added PID file creation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1798 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-21 14:04:39 +00:00
Marius Reiner
313a183bb3 *** empty log message ***
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1796 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-20 19:51:26 +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
Jean Delvare
9f5e11adc7 Fix compiler warning (missing include).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1792 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-16 17:22:22 +00:00
Jean Delvare
a1ca8861d4 Fix compiler warning (uninitialized variable).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1791 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-16 17:19:10 +00:00
Jean Delvare
eee8d62f7b Fix compiler warning (uninitialized variable).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1790 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-16 17:06:49 +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
f9b228cf18 fix 'make install', change install directory to be the same
as other modules. Ticket #1258


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1748 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 17:30:47 +00:00
Mark D. Studebaker
a43c4d1b3a update paths again to pick up userspace i2c-dev.h from
../../kernel/include


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1745 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 04:18:24 +00:00
Mark D. Studebaker
8d14fe682d add include file search path
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1744 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 02:38:19 +00:00
Mark D. Studebaker
0d05ed0fab patch as described below. Doesn't compile because of header problems...
From: rysanek@fccps.cz

Dear Chris,

many thanks for writing eeprom.c in the first place.
It has saved me an indefinite amount of time when I needed
to access a 24C02 in a cursed notebook battery pack that
someone's trying to refurbish.

Many more thanks to the authors of lm_sensors and Linux i2c
for writing their software, of course.

I did have to modify eepromer/eeprom.c a bit though, to support
my 24C02. The essential gotcha was this: whereas the 24C16 that
you were using supports maximum burst size of 16 bytes (the same
applies to 24C08 and 24C04), the 24C02 and 24C01 only support
bursts up to 8 bytes long.
I assume that in fact you already know this, as in your code
there's a neat #define called MAX_BYTES to hold exactly this
burst length. And, this was the first thing I modified when
I was trying to solve my problem.
There's one more associated bug though, probably a result of
the fact that your code was not tested with MAX_BYTES values
other than 16. The two for(;;) cycles for reading/writing
consecutive bursts have a wrong terminal condition: they're
comparing the loop count against MAX_BYTES instead of
(BYTES_PER_PAGE/MAX_BYTES).

With this e-mail, I am enclosing the corrected eeprom.c.

My symptoms looked like this: I read the eeprom just fine.
I did my dirty work on two bytes in the eprom dump and
flashed it back. When I re-read the eprom contents,
I found garbage - or so it seemed.
At a closer look, I found out that every second
half-burst (the second 8 bytes of the 16) was correct and
every first 8 bytes was garbled. (Compared that using two
hex editors open on consoles 1 and 2.)
After a few more  seconds I found out that the two half-bursts
were really identical.
My final explanation is that each 16byte write resulted in
only the first half-burst being overwritten (the second was
left untouched), only the eeprom latched in all 16 bytes
obediently, so that its FIFO overflew and looped around
exactly once, which resulted in the *second* half-burst
being written into the *first* eight bytes...

Based largely on eeprom.c, I've already hacked a simple util
to write only those two or four bytes that matter to me (the
actual battery capacity and the write-protect stuff).

If the battery refurbishment works out, I'll update my website
to report this success, including all my code snippets.
Thanks again :)

Frank Rysanek


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1743 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 02:37:24 +00:00
Mark D. Studebaker
080beac84a recognize w83791d
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1742 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 01:01:58 +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
Mark D. Studebaker
21920eeb66 cleanup from Philip Pokorny
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1725 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:28:56 +00:00
Mark D. Studebaker
ec1137b347 update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1724 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:19:29 +00:00
Mark D. Studebaker
dd42f669e3 spelling fix
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1719 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-09 00:30:09 +00:00
Mark D. Studebaker
c389918f9c recognize DDR and Rambus types
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1718 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-09 00:23:46 +00:00
Mark D. Studebaker
32b082e86b added 'sensors -s' to start() as suggested by a ticket
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1717 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-02-25 02:50:46 +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
f68a197dcc simple PWM test shell script
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1682 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-01 23:55:20 +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
552f899022 Fix Vaio EEPROM misdetection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1653 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-28 17:05:47 +00:00
Jean Delvare
808482fe72 Update machine list and thanks
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1651 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-26 17:09:14 +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
4f973f2d89 add declaration
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1649 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-26 01:00:27 +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
Jean Delvare
28e73a5b4a Misc cleanups and two more fields labelled
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1621 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-18 20:45:35 +00:00
Mark D. Studebaker
f13af90b8e add sanity limits to created database, like was done for sensord.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1618 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-17 22:13:24 +00:00