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

705 Commits

Author SHA1 Message Date
Frodo Looijaard
247b6a7ded Fixed two slight errors regarding the new bus handling code for
sensors-detect.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@723 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-02 20:57:46 +00:00
Frodo Looijaard
8bf97bf1c5 Solved compile problems for g++ programs linked to libsensors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@722 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-02 20:19:59 +00:00
Frodo Looijaard
05415c3309 Added lm_sensors spec file by Constantine Gavrilov
Remember to do a `cvs update -d' to get the new directory


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@721 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-01 22:32:12 +00:00
Frodo Looijaard
0aedf2d5d1 sensors-detect should cope better now with adapters with multiple
busses

The changes are large and tricky, so it is almost certain there are
many bugs. Please run sensors-detect and tell me whether it works
correctly or not.

All changes are in the routines that print the modprobe statements at
the end, so if it fails, it will fail there.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@720 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-01 21:12:43 +00:00
Mark D. Studebaker
0efe92ad9a (mds) more parentheses in detection if statement - can't hurt.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@719 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 02:37:03 +00:00
Mark D. Studebaker
afcc0fe82f (mds) updated adapter name to add Banshee and remove 0000 address.
Add warning if > 1 voodoo3/banshee found.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@718 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:24:37 +00:00
Mark D. Studebaker
ac7ace0484 (mds) changed refresh time from 1.5 seconds to 5 minutes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@717 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:21:49 +00:00
Mark D. Studebaker
8fe6d49887 (mds) added simple eeprom and ddcmon support to sensors and libsensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@716 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:20:51 +00:00
Mark D. Studebaker
7a6897b949 (mds) additions for ddcmon.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@715 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:16:08 +00:00
Mark D. Studebaker
7a7a07c6a3 (mds) Referenced ddcmon driver. Commented out 0x51-0x57 checking for ddcmon,
not working for me. Have to ask Petr.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@714 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:15:29 +00:00
Mark D. Studebaker
27f0db257c (mds) add simple ddc monitor module 'ddcmon'.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@713 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:05:47 +00:00
Mark D. Studebaker
d6c9ee0be1 (mds) fixed troff macro typo at end. (, changed to .)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@712 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:04:39 +00:00
Mark D. Studebaker
dac07447b9 (mds) Fix broken send_byte_data() for I2C and DDC.
Wasn't used by bt869 so wasn't found before.
      i2cdump now works and sensors_detect will find ddc monitor.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@711 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-28 01:05:40 +00:00
Mark D. Studebaker
30fa84cbfd (mds) remove functionality check for WRITE_WORD
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@710 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-28 00:46:11 +00:00
Frodo Looijaard
4319123b28 GL518SM buglet fixed
Initially, random values were put in the voltage registers. If iterate was
left at 0, these random values were put in /proc.

Solution: initialize voltage[0..2] with 0.

  Frodo


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@709 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-26 16:16:53 +00:00
Frodo Looijaard
267a60f254 Guarded all {get,put}_user and copy_{to,from}_user calls
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@708 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-26 14:41:10 +00:00
Frodo Looijaard
6a2c82b491 `indent -kr -i8' on all kernel sources
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@707 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 20:37:01 +00:00
Frodo Looijaard
83d5845df5 Removal of kernel 2.0 and 2.1 compatibility: pass three
Modified mkpatch and documentation


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@706 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 20:17:49 +00:00
Frodo Looijaard
888d32f50b Removing kernel 2.0 and 2.1 compatibility pass 2
Eliminated compat.h


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@705 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 20:07:29 +00:00
Frodo Looijaard
9480bb5988 Removal of kernel 2.1 and 2.2 compatibility: pass one
Removed many #if statements


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@704 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 19:30:08 +00:00
Frodo Looijaard
7e0cd89eec Fixed a small bug - return code not returned.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@703 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-23 21:32:31 +00:00
Philip Edelbrock
1045ef2cd9 (Phil) Prep for 2.4.5 release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@701 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-17 22:04:21 +00:00
Frodo Looijaard
c70db36b68 Updated CHANGES file
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@700 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-16 22:38:30 +00:00
Mark D. Studebaker
bbdcd94a3d (mds) add Banshee and DDC information.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@699 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-15 19:10:07 +00:00
Mark D. Studebaker
b2cde3487e (mds) Add Banshee support and DDC bus support.
Simultaneous DDC and I2C access may cause errors.
      No support for multiple Voodoo3/Banshee chips, only first one
      is handled.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@698 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-15 19:01:54 +00:00
Mark D. Studebaker
2d35888ed8 (mds) add bus list to help() routine, like was previously
done to i2cdump.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@697 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-15 18:59:20 +00:00
Mark D. Studebaker
8f25a91438 (mds) add Voodoo3 and Banshee recognition.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@696 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-15 18:55:55 +00:00
Frodo Looijaard
77875f184c And yet another sensors.config.eg correction, thanks to Arvids
(arvids@vendomar.lv).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@695 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-12 20:21:14 +00:00
Frodo Looijaard
b21eb11f02 LM80 sensors.conf corrections
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@694 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-12 16:28:47 +00:00
Mark D. Studebaker
c80cf6c1eb (mds) Divide temp2 and temp3 by 2 for as99127f. Resolves reports
by Dirk Mueller and Pixel that readings were 2x too high.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@693 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-11 03:08:41 +00:00
Mark D. Studebaker
62e2a8f187 (mds) fix 782d/99127f/623hf isa vs. i2c structure selection.
Thanks Dirk Mueller.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@692 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-11 02:35:57 +00:00
Frodo Looijaard
460f4f9ebb Fixed a temperature bug in the LM80 driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@691 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-10 23:27:32 +00:00
Mark D. Studebaker
13f7d150e0 (mds) Change ioctl from I2C_SLAVE to I2C_SLAVE_FORCE so that
you can run i2cdump even when a driver is installed.
      Add a cat of /proc/bus/i2c to the help function to help
      users with the bus number argument.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@690 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-09 22:45:57 +00:00
Mark D. Studebaker
136a65eede (mds) change my email addr.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@689 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-08 16:53:46 +00:00
Mark D. Studebaker
6340ed3175 (mds) change my email addr.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@688 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-08 16:48:39 +00:00
Mark D. Studebaker
cd15965d26 (mds) fix in5 and in6 min/max initialization for as99127f.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@687 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-08 16:42:26 +00:00
Mark D. Studebaker
68c3de4b5e (mds) Change accesses for LM75-compatible temp2/temp3
registers in I2C mode.

      Instead of using bank 1 and 2, which was in violation of
      the datasheets, use the separate I2C registers (usually
      0x48 and 0x49). Register these addresses separately
      using additional i2c_attach-client() calls.
      Users will see new "subclient" registration messages
      in the syslog.

      /proc and libsensors interfaces are unchanged, i.e. the
      chip still looks like a single device.

      This should fix temp2 and temp3 for the as99127f, which
      did not allow bank 1 and 2 accesses. Should not affect
      operation for other chips as they worked before.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@686 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-08 04:26:57 +00:00
Mark D. Studebaker
0ead31aaf1 (mds) Some helpful hints on setting fan divisors.
I always forget whether to increase or decrease so I figured
      it out and wrote it down.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@685 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-08 03:42:38 +00:00
Frodo Looijaard
8250fb4ed7 Fixed voodoo3 for kernel 2.3.37.
Please test. Changes in voodoo3_setup:

* Use pci_find_device instead of traversing the list ourselves;
* Eliminate flag, testing v3_num is just as good;
* Elimiate result, it was not used anyway.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@684 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-07 17:16:27 +00:00
Frodo Looijaard
bbbcc3ec2d Better INSTALL instructions about compiling the package when
you have already patched your kernel.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@683 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-04 21:37:30 +00:00
Frodo Looijaard
9fd2dc740e Changed W83783D detection as noted by Andreas Kurt Wege
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@682 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-03 16:51:37 +00:00
Frodo Looijaard
2ff447b225 make install fixes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@681 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-03 00:32:38 +00:00
Frodo Looijaard
d92cb07a98 Two bug fixes
* DDC only looked for on 0x50, as other addresses are treated as
  sub-addrs;
* LM78-J again displays right driver (oops...)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@680 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-30 02:07:24 +00:00
Frodo Looijaard
31bb93646b Applied Petr Vandrovec's patch for matrox cards and DDC detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@679 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-29 23:10:48 +00:00
Frodo Looijaard
90bc2835e6 Fixed a problem when the same address was used on different adapters
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@678 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-29 20:13:25 +00:00
Frodo Looijaard
8ffd490521 Slight formatting correction for ADM1021 chips, as committed by
Klaus Woltereck


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@677 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-25 00:40:44 +00:00
Frodo Looijaard
8199abde46 New sensors.conf keyword 'ignore'
This often-asked for, long-planned and somewhat-forgotten feature
makes it possible to tell libsensors-linked applications (like
the sensors program) that certain features should not be displayed.
This is very nice for things like unconnected temperature sensors
or fans.

Modifications to the library code, to the sensors program and to
the documentation and example sensors.conf file.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@676 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-24 22:44:41 +00:00
Frodo Looijaard
01bad38253 Added DESTDIR Makefile variable
Set DESTDIR if you want to install at some other place then where you
will run everything from.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@675 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-24 19:52:28 +00:00
Frodo Looijaard
258c8dd869 Olaf Titz <olaf@bigred.inka.de> patches for the SIS5595 driver
It still does not work - but I need more feedback to determine what
is happening.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@674 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-24 19:44:34 +00:00
Frodo Looijaard
406af47121 Update in INSTALL and README to reflect the new i2c code in kernels
2.3.34 and newer.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@673 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-21 23:40:26 +00:00