Commit Graph
1707 Commits
Author SHA1 Message Date
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 2436f40201 libsensors support for w83791d; patch from
Ross Biro rossb@google.com


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1741 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-31 01:00:23 +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 7eb36a199a handle multiple UTS_RELEASE definitions in linux/version.h;
as suggested by Mark Hoffman.
      Also revert -dirafter which doesn't work for gcc 2.95.2.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1739 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-30 03:13:07 +00:00
Mark D. Studebaker 1bdaa54d40 add support for AMD Opteron VID encoding
patch from Philip Pokorny


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1738 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-05-30 00:55:23 +00:00
Mark D. Studebaker 26fdf01fed fix bug with tempn_over and tempn_hyst writes - ticket 1219
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1737 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-04-20 02:06:56 +00:00
Mark D. Studebaker 0195d22c57 fix hyst and over feature names (ticket 1219)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1736 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-04-20 01:53:52 +00:00
Mark D. Studebaker 06655ebe50 (mds)
Christian Hammers <ch@laathspell.de> wrote:

> Hello
>
> I always got the following error when compiling lm_sensors-2.7.0:
>
>
>>     gcc   -DMODVERSIONS -include /lib/modules/2.4.20-bigvideo-1/build/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I.  -Ikernel/include -I/usr/local/include -I/lib/modules/2.4.20-bigvideo-1/build/include   -O2   -c kernel/busses/i2c-amd8111.c -o kernel/busses/i2c-amd8111.o
>
>
>
>>>     kernel/busses/i2c-amd8111.c:26:2: #error Your i2c is too old - i2c-2.7.0 or greater required!
>
>
>
> This is a compile problem as the include files of 2.7.0 are in
> /usr/local/include/linux/. gcc-3.2.3 just puts /usr/local/include at the
> end of the list although it is first on the command line and the info
> page says the list is scanned left to right.
>
>>         GNU CPP version 3.2.3 20030316 (Debian prerelease) (cpplib)
>>     (i386 Linux/ELF)
>>     GNU C version 3.2.3 20030316 (Debian prerelease) (i386-linux)
>>         compiled by GNU C version 3.2.3 20030316 (Debian prerelease).
>>     ignoring nonexistent directory "/usr/i386-linux/include"
>>     ignoring duplicate directory "/usr/local/include"
>>       as it is a non-system directory that duplicates a system directory
>>     #include "..." search starts here:
>>     #include <...> search starts here:
>>      .
>>      kernel/include
>>      /usr/local/include
>>      /usr/lib/gcc-lib/i386-linux/3.2.3/include
>>      /usr/include
>>      /lib/modules/2.4.20-bigvideo-1/build/include
>
>
>
> As a fix I suggest:
>
> # diff -u Makefile.orig Makefile
> --- Makefile.orig       2003-03-19 18:20:38.000000000 +0100
> +++ Makefile    2003-03-19 18:21:08.000000000 +0100
> @@ -178,7 +178,7 @@
>  # PROGCPPFLAGS/PROGCFLAGS is to create non-kernel object files (which are linked into executables).
>  # ARCPPFLAGS/ARCFLAGS are used to create archive object files (static libraries).
>  # LIBCPPFLAGS/LIBCFLAGS are for shared library objects.
> -ALL_CPPFLAGS := -I. -Ikernel/include -I$(I2C_HEADERS) -I$(LINUX_HEADERS)
> +ALL_CPPFLAGS := -I. -Ikernel/include -I$(I2C_HEADERS) -idirafter $(LINUX_HEADERS)
>  ALL_CFLAGS := -O2
>  ifeq ($(DEBUG),1)
>
>
>
> bye,
>
>   -christian-


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1735 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-04-19 23:45:02 +00:00
Jean Delvare e005f2f4ed Mention ACPI as an alternative to lm_sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1734 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-04-15 14:54:30 +00:00
Jean Delvare d1ddb1b59d Added reference to README.thinkpad, as suggested by Moritz
Moeller-Herrmann.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1733 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-04-15 14:47:32 +00:00
Jean Delvare f235f76729 Added missing </ul>.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1732 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-04-01 20:32:26 +00:00
Mark D. Studebaker f6fcda8c73 updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1731 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 03:26:20 +00:00
Mark D. Studebaker 16f2cd86e7 cleanup part 2
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1730 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 03:13:28 +00:00
Mark D. Studebaker b13c20ad6d I2C_HEADERS = to := (from Philip Pokorny)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1729 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:56:48 +00:00
Mark D. Studebaker c2f08d613a my cleanup, conversion to new standards, compile fixes
(initial checkin was as received from Philip)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1728 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:54:32 +00:00
Mark D. Studebaker 3388f7cf73 add lm85
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1727 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:34:49 +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 a0a2e78c8a spelling fixes from Philip Pokorny
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1723 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 02:01:35 +00:00
Mark D. Studebaker 147dda72bb spelling fix from Philip Pokorny
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1722 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 01:55:03 +00:00
Mark D. Studebaker 27655c241f add back i2c_xxxx_func prototypes inadvertently removed which prevented compile
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1721 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 01:39:57 +00:00
Mark D. Studebaker 42ce50ea40 fix compile error when DEBUG=1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1720 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-03-17 01:32:56 +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
Jean Delvare cc74781b1e Even better explanations for as99127f's temp3, with quotation
from Artur Gawryszczak.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1716 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-02-20 16:20:45 +00:00
Jean Delvare cfad677cd8 Added comments about temp2 on as99127f, thanks to the information
reported by Artur Gawryszczak and Michele Conte.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1715 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-02-19 23:14:20 +00:00
Mark D. Studebaker 11bf8e8f81 add note that these modules require i2c-algo-bit
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1714 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-02-17 02:56:46 +00:00
Mark D. Studebaker 9340a00473 add Phil's note about spam blocking to the FAQ so we don't lose it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1713 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-02-17 01:58:10 +00:00
Mark D. Studebaker 6aa045fc8e add i2c-nforce2 driver, from
Hans-Frieder Vogt <hfvogt@arcor.de>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1712 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-02-17 01:28:56 +00:00
Jean Delvare eb7400e211 Removed or fixed all dead links, plus some updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1711 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-02-16 11:20:16 +00:00
Alexander Malysh 91d48dde96 added lspci output for sis730
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1710 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-31 23:23:46 +00:00
Mark M. Hoffman f5360dc279 (Re)added missing <ioport.h>.
Now compiles correctly w/ versioned symbols.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1709 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-31 04:00:33 +00:00
Kyosti Malkki 124c706b61 (Kyösti) Clean PCI IDs already defined for 2.4.9.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1708 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-23 23:24:05 +00:00
Jean Delvare f42d0bee42 Reformated (XHTML 1.0), fixed broken links (1/2)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1707 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 21:51:33 +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 d2e650b473 Removed some redundant pci_find_device calls.
Cleaned up kernel log messages.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1704 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 04:53:16 +00:00
Mark D. Studebaker 332ed998fe add suggestion on libsensors for unknown chips
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1703 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 02:07:30 +00:00
Mark D. Studebaker f908811d8c copy over some Kyosti emails
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1702 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 01:53:12 +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 M. Hoffman 8a1cb244f2 Added support for SiS648/961 and SiS645DX/962.
Added IDs to PCI driver id table.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1700 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-20 06:05:39 +00:00
Kyosti Malkki 39391ba6ea (Kyösti) some cleanups for 2.4+
Module refcounting using .owner, removing of inc/dec_use.
   These require (yet unreleased) i2c 2.8.0+.

   Named initializers everywhere. Unified namespace.

   Cleanup for 2.5, remove EXPORT_NO_SYMBOLS, declare everything
   static. Apply initcalls.

   PCI device registration changes for busses started, replicating
   from i2c-amd*. While everything does compile, nothing really
   works. Well, maybe i2c-amd* ported back from 2.5 tree.

   After updating your work directory, run
    > cvs diff -u -r LAST-PRE-2-8-I2C > lm-2.8-patches-1

   BEWARE: I have not even insmoded any of these yet.

   To compile, you need i2c from cvs too.
   For 2.4 kernel :
    > cvs co -r lk2-4 i2c

   For 2.5 kernel :
    > cvs co i2c


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1698 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-17 01:19:52 +00:00
Mark D. Studebaker 2a462eaae3 set alarm bits on read fails
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1695 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-13 02:15:20 +00:00
Mark D. Studebaker f6610c0394 backport from kernel 2.5.54 which contained changes from
Christoph Hellwig <hch@lst.de> and Pavel <pavel@ucw.cz>;
      Leave in 3 things: refcounts, version.h, and init printk.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1694 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-11 18:50:38 +00:00
Mark D. Studebaker 012b4f58a2 backport from kernel 2.5.54 which contained changes from
Christoph Hellwig <hch@lst.de> and Pavel <pavel@ucw.cz>;
      Leave in 3 things: refcounts, init printk, and
      compile #error if i2c is too old.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1693 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-11 18:41:24 +00:00
Mark D. Studebaker 7317fde62b backport from kernel 2.5.54 which contained changes from
Christoph Hellwig <hch@lst.de> and Pavel <pavel@ucw.cz>;
      Leave in 3 things: refcounts, sensors.h, and init printk.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1692 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-11 17:53:12 +00:00
Mark D. Studebaker 954cd402d6 backport from kernel 2.5.54 which contained changes from
Christoph Hellwig <hch@lst.de> and Pavel <pavel@ucw.cz>;
      Leave in 3 things: refcounts, sensors.h, and init printk.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1691 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-11 17:43:15 +00:00
Mark D. Studebaker 5005d67a34 add 2.4/2.5 cleanup list, chip driver error handling
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1690 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-07 04:26:54 +00:00
Mark D. Studebaker 8ddee6dd5c better handling of read errors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1689 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-05 16:00:57 +00:00