2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-28 21:07:55 +00:00

425 Commits

Author SHA1 Message Date
Frodo Looijaard
1a88bcd5a0 Added ADM1021/MAX1617/MAX1617A to the sensors program
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@436 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 15:03:14 +00:00
Frodo Looijaard
dc54ddd8cd Updated the CHANGES file
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@435 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 12:31:49 +00:00
Frodo Looijaard
c2549b34ca Changed hydra stuff from DOS to UNIX fileformat. Fixed bug in isadump.
Thanks, Geert.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@434 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-30 12:30:04 +00:00
Philip Edelbrock
67ee5f476a (Phil) Fixed mutex initialization problem in w83781d_detect:
Originally:

[...]
  if (is_isa) {
    data = (struct w83781d_data *) (((struct isa_client *) new_client)+1);
    new_client->addr = 0;
    ((struct isa_client *) new_client)->isa_addr = address;
    data->lock = MUTEX;
  } else {
    data = (struct w83781d_data *) (((struct i2c_client *) new_client)+1);
    new_client->addr = address;
  }
[...]

changed to this:

[...]
  if (is_isa) {
    data = (struct w83781d_data *) (((struct isa_client *) new_client)+1);
    new_client->addr = 0;
    ((struct isa_client *) new_client)->isa_addr = address;
  } else {
    data = (struct w83781d_data *) (((struct i2c_client *) new_client)+1);
    new_client->addr = address;
  }
  data->lock = MUTEX;
[...]

So, now the MUTEX is properly initialized for I2C chips, too.  If the
mutex was knowly ignored for I2C devices (because the piix4 locks its
self), then the mutex should be ignored everywhere else in the code, but
it is not.

This seems to have solved my reproducable 'hanging' problem.  But, other
drivers should be checked, too, just in case.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@433 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-30 07:09:37 +00:00
Frodo Looijaard
6e95f32c93 Fixed small merging bug in sensors-detect
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@432 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-29 19:18:39 +00:00
Frodo Looijaard
8cbbcb8ec4 Nasty buffer overflow in i2c-proc.c solved.
This one was not nice at all. When /proc/bus/i2c-* is read, information is
put into a kernel buffer, which was declared to be the same size as the
final user-space buffer into which it should be copied. Information was
copied into the kernel buffer line by line (using sprintf). If the
buffer is smaller than the whole /proc/bus/i2c-*, only part of the file
was copied. But if the buffer did not break on a line-break, the sprintf
wrote beyond the kernel buffer. With devastating results. Solution: make
the kernel buffer a little longer, so that a single additional line would
fit into it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@431 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-29 17:29:11 +00:00
Frodo Looijaard
1ade24f919 Geert's PPC support and Hydra driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@430 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-28 18:18:12 +00:00
Mark D. Studebaker
b6f6b537d4 removed extended fan_div bits for 782d/783s since that is done.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@429 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-26 02:12:50 +00:00
Philip Edelbrock
0723e6833f (Phil) Some changes and additions. I like this because if something
aweful happens to me (I get hit by a bus, lose my mind, get hired
by Microsoft, etc.), then somebody else can easily take over.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@428 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-26 01:18:55 +00:00
Frodo Looijaard
242ff1bf32 New file with a checklist for new releases
This checklist is printed when a `make package' is done. Change as needed,
Phil.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@427 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-26 01:05:18 +00:00
Philip Edelbrock
035a6bf59a (Phil) Slight info/version updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@426 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-26 00:52:12 +00:00
Mark D. Studebaker
86e403695b update. Clarify that w83782d/783s support both thermistors
and diodes but must be configured for one or the other.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@425 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-25 23:52:37 +00:00
Mark D. Studebaker
70e61d7797 Maxtor -> Maxim 1617. Thanks Klaus Wolterec.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@424 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-25 23:33:03 +00:00
Frodo Looijaard
abc9163940 New location of klm
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@423 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-25 11:52:01 +00:00
Frodo Looijaard
6e2f3e9689 Updated TODO for 'GPF in linux 2.2.6' problem of Roman Shterenzon
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@422 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-24 19:05:16 +00:00
Frodo Looijaard
1000400946 Added a note about editing /etc/ld.so.conf
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@421 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-24 00:23:25 +00:00
Frodo Looijaard
97fbbaa988 Some warnings about the 'No such file or directory' warnings
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@420 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-23 23:54:20 +00:00
Frodo Looijaard
5e3495c3ab Changed modulesx installation path to the more logical
/lib/modules/current/extra/misc. I just hope this works in all
        distributions.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@419 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-23 11:41:03 +00:00
Frodo Looijaard
0f2965dbe7 GL518SM: sensors program now prints the voltages if readall=1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@418 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 21:15:09 +00:00
Philip Edelbrock
dda32a1f36 (Phil) Tagging and releasing 2.3.0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@417 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 16:40:37 +00:00
Philip Edelbrock
cdd7935858 (Phil) Minor date changes in prep for 2.3.0 release. I also made a very
brief mention of 2.2.2.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@415 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 16:37:15 +00:00
Frodo Looijaard
c77ea91bb8 Final documentation updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@414 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 14:35:23 +00:00
Frodo Looijaard
0127fb5ec6 Updated adapter documentation
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@413 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 14:34:28 +00:00
Frodo Looijaard
88ab748ef6 Chip documentation documentation :-)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@412 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 14:28:31 +00:00
Frodo Looijaard
db551af711 W83781D documentation update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@411 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 13:54:49 +00:00
Frodo Looijaard
a30f405e6e Added warning about addresses 0x69 and 0x6a on the PIIX4 before
probing it for connected chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@410 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 13:08:59 +00:00
Frodo Looijaard
6ba72c686a Even more documentation updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@409 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 13:06:24 +00:00
Frodo Looijaard
3357f4fb43 Many documentation updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@408 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 12:45:34 +00:00
Frodo Looijaard
f48a2146db SIS5595 documentation and library updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@407 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-21 15:57:06 +00:00
Frodo Looijaard
a8bb8d9d3b Maxilife documentation and library updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@406 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-21 15:11:25 +00:00
Frodo Looijaard
00adfe97a7 ICSPLL documentation update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@405 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-21 14:37:34 +00:00
Frodo Looijaard
2a97e6f4cb LTC1710 documentation updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@404 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-21 14:36:43 +00:00
Frodo Looijaard
bc05162c08 GL518SM documentation and library support update
* The library can now read GL518SM revision 0x00 voltages (in the worst case,
  it will read zeros if the module was not inserted with readall=1)
* The readall parameter is now documented through MODULE_PARM_DESC
* Note my remarks in the TODO file


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@403 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-20 16:16:25 +00:00
Frodo Looijaard
1e7553b475 Updated EEPROM documentation
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@402 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-20 15:36:08 +00:00
Frodo Looijaard
084ee510ab ADM9240/DS1780 documentation and library support
* Readings for the ADM9240 are now updated every 0.5 seconds; for the
  DS1780, every 2.0 seconds.
* I still think it likely that voltage readings will be far-off in the
  current implementation


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@401 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-20 15:33:04 +00:00
Mark D. Studebaker
d70c450c78 Added sensor[1-3] support for w83782d/783s to 'sensors'.
Now prints out what kind of sensor it is.
Also separated alarms for temp2 and temp3 for 782d/783s (they are
a single bit for 781d).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@400 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-20 01:49:51 +00:00
Kyosti Malkki
4e91b1083d (Kyösti)
Added I2C_DRIVERID_BT848 for Brooktree BT8x8 video capturing processors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@399 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-18 19:59:57 +00:00
Frodo Looijaard
8628814e86 Added new Beowulf links
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@398 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-17 10:26:46 +00:00
Mark D. Studebaker
2417cc1d40 enabled rt table for 781d by default. Left #define in in case
it proves to be noxious. Added writes for rt table. Use at own risk.
Fixed 782d fan3 bug hopefully.
Added 16,32,64,128 fan_div values for 782d/783s.
Reformatted some > 80 col. lines.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@397 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-17 04:20:51 +00:00
Frodo Looijaard
661356ae44 Fixed Block Write for I2C bus SMBus emulation (thanks to Louis Lambert)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@396 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-16 16:19:26 +00:00
Frodo Looijaard
db7cba03ca ADM1021 documentation
The old documentation of Phil is still present at the bottom of the file.
Phil may decide to remove it.

In the driver, file 'status' is renamed to 'alarms' and masked to display
only the alarm bits. This fits more closely with other drivers, and the
remaining bit was not interesting anyway.

I fixed a problem that made insertion of the module impossible (I made a
typo when I introduced the insmod parameters) *** Someone else seems to
have changed this at almost the same moment?!? Now it is correct. ***

The MAX1617 and MAX1617A are now also supported by the library.

Once more, some slight formatting changes are made in the documentation
generators (some columns were made wider).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@395 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-15 22:19:59 +00:00
Philip Edelbrock
a2a75fc49e (Phil) A couple minor detection/kind-determination fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@394 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-15 20:03:45 +00:00
Frodo Looijaard
0b3a22ba4c Documentation for the LM80 module
Also a very slight formatting improvement for the module parameters
documentation script, and a typo from the LM78 documentation removed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@393 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-15 19:10:27 +00:00
Frodo Looijaard
174f451f7a Final slight changes to the documentation generators.
lm75 and lm78 documentation files are now up-to-date.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@392 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 21:06:31 +00:00
Frodo Looijaard
51f328e727 Example documentation for the lm78 and lm75 modules
Very slight formatting changes in documentation generators


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@391 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 20:50:06 +00:00
Frodo Looijaard
b5860b65b0 doc-features now understands command-line given chip prefixes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@390 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 20:44:42 +00:00
Frodo Looijaard
2c4f8804a5 New program doc-insmod.pl to automatically document the insmod
parameters of a module.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@389 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 20:05:16 +00:00
Frodo Looijaard
d496200407 Added Phil's change to MODIFICATIONS
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@388 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 18:41:38 +00:00
Philip Edelbrock
7b17647570 (Phil) Just fixed a minor typo on line #2.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@387 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 18:25:57 +00:00
Frodo Looijaard
9a7ced8183 Removed old reference to prog/doc/Module.mk from master Makefile.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@386 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 13:03:23 +00:00