Commit Graph
349 Commits
Author SHA1 Message Date
Mark D. Studebaker ea0fbfcad7 returned address bug - thanks Dori
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1402 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-24 02:28:41 +00:00
Mark D. Studebaker ff0ed21e8f cleanup
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1398 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-16 18:30:54 +00:00
Mark D. Studebaker 37cbcbe5ad add smsc47m1 fan driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1397 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-16 18:27:35 +00:00
Mark D. Studebaker c382a5ca7a export EDID info to /proc
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1396 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-15 17:10:19 +00:00
Mark D. Studebaker ef8ce903f3 add smbus-arp
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1393 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-12 03:28:00 +00:00
Mark D. Studebaker e2a6466a4d start of a demonstration ARP client.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1392 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-12 02:54:24 +00:00
Mark D. Studebaker e0a1889044 add multiple VRM support to adm1025
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1383 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-07 02:58:43 +00:00
Mark D. Studebaker 72c05c05dd add support for 8231
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1378 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-05-27 21:14:10 +00:00
Mark D. Studebaker 93022bef6c add programmable VRM support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1355 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-04-23 02:47:18 +00:00
Mark D. Studebaker 39cc76464b for kernels 2.4+, install modules to kernel/drivers/[i2c,sensors]
instead of misc, and delete old modules in misc. This will prevent
      duplicate modules.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1351 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-04-20 02:50:37 +00:00
Mark D. Studebaker 3152ddbeee blacklist 645 as recommended by
"Mark M. Hoffman" <mhoffman@lightlink.com>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1327 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-27 02:36:04 +00:00
Mark D. Studebaker f3beaa1809 rename /proc entries from "data16-31" to simply "10" (hex)
which is shorter, simpler, easier to use in scripts,
      and the best reason is that it's alphabetical so that
      "cat *" output is in the correct order.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1321 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-16 16:33:57 +00:00
Mark D. Studebaker 0442f73da9 (mds)
From:        Aurelien Jarno <aurelien@aurel32.net>

Hello,

I have to use the pcf8574 chip with my I2C interface, however, the pcf8574
drivers in lm-sensors is a bit basic. It supposes the pin P1 is used as an
input and the others pin as outputs.

Attached is a patch which corrects that, providing to files in /proc
interface, one for writting, the other for reading. It also modifies a bit
the driver to support the pcf8574a (it is a pcf8574 with a different address
range), and add a documentation file in doc/chips.

The patch also includes some cosmetic changes in the pcf8591 driver I wrote
previously, that is to say it modify the chip name in some places I had
forgotten to change when I made a copy/paste from another driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1318 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-10 23:15:12 +00:00
Mark D. Studebaker 877bf15087 THIS_MODULE patch for kernel 2.2.18 from
Jean Delvare <delvare@ensicaen.ismra.fr>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1317 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-09 22:36:26 +00:00
Mark D. Studebaker cdb6353de6 add 735 to blacklist
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1316 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-09 21:33:02 +00:00
Mark D. Studebaker 115f2db300 add force_subclients parameter which allows moving subclients
to different addresses; this allows initialization of two
      clients on the same i2c bus by preventing subclient address
      conflicts at 0x48 and 0x49.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1312 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-09 16:36:54 +00:00
Mark D. Studebaker eaf609b21d add /proc entries for bytes 128-255; patch from
Jean Delvare <delvare@ensicaen.ismra.fr>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1310 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-09 16:33:33 +00:00
Philip Edelbrock 4cd4f15116 (Phil) Added a patch from Stephen Davies <steve@daviesfam.org> for
s-video out support and typical DVD resolutions for PAL and NTSC.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1298 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-29 19:25:37 +00:00
Mark D. Studebaker 117f27c098 clarify operation of in0-2; rename /proc entries to standard in0-3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1297 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-25 03:01:14 +00:00
Mark D. Studebaker 91b1af9cce add MODULE_LICENSE
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1289 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-13 16:59:19 +00:00
Mark D. Studebaker 13d35fc36f standardize /proc ain1,2,fan -> in6,7,fan1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1288 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-13 16:44:05 +00:00
Dan Eaton f6d20d4a25 (dan) Corrected bug in writing of external temp threshold.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1286 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-12 05:00:41 +00:00
Mark D. Studebaker b51767b170 fixed initial limit settings for in0, in1, in5 - tkt #788
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1285 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-12 03:33:28 +00:00
Mark D. Studebaker 9c3fc08f51 clean up some confusing (still untested) write code inside #if 0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1269 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-12-19 00:44:35 +00:00
Martin Knoblauch 558cdafe99 (MKN) Implement min/max for voltages and fan-speeds.
(MKN) Some minor cleanups.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1264 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-12-12 16:56:37 +00:00
Mark D. Studebaker 8f53105142 add w83697hf in7 and in8 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1254 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-28 02:50:57 +00:00
Mark D. Studebaker 5fc95cf8b3 patch from Aurelian J. to change his email address
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1253 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-28 01:33:26 +00:00
Mark D. Studebaker 5d4b07b1e9 add initial support for w83697hf to w83781d.
Similar to w83783s except no VID or fan3, and ISA only.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1246 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-21 01:01:17 +00:00
Mark D. Studebaker c976538703 new pcf8591 driver, patch from
Aurelien Jarno <aurelien.jarno@insa-lyon.fr>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1243 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-19 20:29:27 +00:00
Martin Knoblauch a5f7d7ad10 (MK) Implement min/max statistics for temperatures.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1227 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-09 15:58:13 +00:00
Martin Knoblauch d45932ebd3 (MKN) Add workaround for kernels that don't have I2C_DRIVERID_FSCSCY defined
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1224 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-09 08:20:54 +00:00
Martin Knoblauch 4f09f4f51c (MKN) Add suppurt for FSC Scylla.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1221 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-08 17:16:21 +00:00
Mark D. Studebaker 1c08a2e704 #define driver ID because it didn't make it in the i2c
patch for kernel 2.4.13. This lets us work with a stock
      kernel 2.4.13.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1212 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-28 17:06:43 +00:00
Mark D. Studebaker e7fc40b690 Add 'init' parameter to control initialization.
Use 'init=0' to skip initialization, this should fix
      those pesky PC's that crash when you load w83781d.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1209 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-22 01:20:48 +00:00
Mark D. Studebaker 87adc415cb move 1535, adm1024, fscpos, it87, maxilife, mtp008 in makefile -
prep for mkpatch support


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1205 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-21 23:34:08 +00:00
Mark D. Studebaker e836047a83 merge it87 separate alarms_* /proc entries to single alarms entry to standardize
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1202 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-14 15:18:37 +00:00
Mark D. Studebaker 7bd97f4667 Add MODULE_LICENSE("GPL") to all modules
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1201 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-13 17:48:43 +00:00
Mark D. Studebaker ec50f22d9d fix support for rev B0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1199 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-13 03:51:49 +00:00
Mark D. Studebaker 5c91c75f11 malloc.h -> slab.h
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1193 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-29 18:32:15 +00:00
Mark D. Studebaker f2507cd7a5 Change /proc entries to naming standards, update global_event
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1185 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 20:52:02 +00:00
Mark D. Studebaker 90b82c0b92 allow force and force_fscpos
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1184 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 20:30:53 +00:00
Mark D. Studebaker 6709a2618b remove temp. ID, volt->in
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1181 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 15:57:37 +00:00
Mark D. Studebaker d78cb7b93b Fujitsu Poseidon support from Hermann Jung <hej@odn.de>
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1179 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 15:20:15 +00:00
Mark D. Studebaker d2e5835634 fix unreliable initialization of limit registers by
adding a rather large delay after resetting the device
      via register 0x40. There is obviously a state machine
      in the chip that takes a while to run after you reset it.
      Figured out the delay time by trial and error.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1168 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-01 14:33:41 +00:00
Mark D. Studebaker 147e70c39c Fix rather strange un-parenthesized "if" clause that somebody's
compiler tripped over, even though it shouldn't have.
      Ticket #638.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1162 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-18 22:08:03 +00:00
Mark D. Studebaker 290bdb74ad Add a "blacklist" to the 5595 drivers so that they refuse to load
when encountering a long list of unsupported chips.
      All these chips have the same 1039/0008 ID as the 5595 but are
      incompatible.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1150 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-29 22:48:15 +00:00
Mark D. Studebaker 739a87e785 Apply patch from David Gesswein:
The following patch does the following:

Fixed bug with not all alarms enabled.
Added ability to read battery voltage
Select temperature sensor type at module load time.
Added setting for Inside Technologies 786LCD board to example config file
I also fixed what looked like a typo in the existing it87 section where
in6_min/max was set twice and in7 was not set.  As commented I think
the equation for the negative voltages are wrong but without that motherboard
I can't verify.

With the 786LCD board sensors-detect reports a lm78 which doesn't
exist and a sis5595 which may be part of the SIS630 chip but doesn't
perform the monitoring.  The it8705F/SIS950 which is on the board is
reported as a misdetect.  I didn't know enough about the various chips
to figure out how to get correct detections.

David Gesswein


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1146 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-29 00:30:54 +00:00
Mark D. Studebaker 30b9291288 add 12-bit precision mode to ds1621,
patch from Christian Zuckschwerdt:

Hi,

On Fri, 15 Jun 2001, Mark D. Studebaker wrote:

> I looked at the patch and I see there are separate
> /proc entries for the 9 and 12 bit outputs.
> Why not just make the 12 bit output the only output using "temp"??
> I don't understand the need for all the new /proc entries,
> except perhaps for debugging inside #ifdef DEBUG.
> Would you or Jan be willing to develop a patch that way?
> I'm all for increased accuracy as a standard feature - why not?

Ok. I rewrote the patch to support standard (9bit) and enhanced (12bit)
accuracy via the "temp" entry. The "raw" interface is also gone.

There are some quirks needed for the sensors app. It seems that
prog/sensors/chips.c fixes the output to %+3.1f
Thats not good for 12bit mode which gives you 2 decimals and therefor
wrong scaling.

Precision is .062 with 12bit (4 decimal bits) instead of .5 with 9bit (1
decimal bit). That way 2 decimals seem a natural choice.
On the other hand I see no obvious reason not to fix decimals to 1...
I'm lost there -- suggestions anyone?

Another problem is that 12bit is slow and laggy. I don't recommend making
it the default mode.

  cu.
    :
    Christian


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1145 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-29 00:17:14 +00:00
Mark D. Studebaker 1abb44a2e3 fixed adm1025 temp2 min/max writes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1140 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-26 01:49:55 +00:00
Mark D. Studebaker 1807068ae1 fix as99127f fan speeds that were 60% low.
This was broken by 2.6.0 because
      2.6.0 didn't reset the fan clock setting at startup.
      Therefore the AS_FAN_* macros were no longer needed to specially
      correct the fan speed. So remove the special handling and the
      AS_FAN_* macros and things should work now.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1135 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-17 22:39:13 +00:00