2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-03 15:55:15 +00:00
Commit Graph

4039 Commits

Author SHA1 Message Date
Philip Edelbrock
ab1d4f5d32 (Phil) I think I got 'no device' error handling working, but I may have
broken other stuff. :')


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@451 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 22:29:38 +00:00
Frodo Looijaard
8f44463bc7 Enhanced `make package'
It now handles CVS directories better, as well as '.#' files left-over by
CVS merges.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@450 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 19:12:57 +00:00
Frodo Looijaard
7cffb0b12a Changed the driver ID of the MAXILIFE, as spotted by Phil
Same IDs could lead to nasty surprises :-(


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@449 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 11:08:30 +00:00
Philip Edelbrock
3855d1aeea (Phil) Beginning of Voodoo3 I2C bus and BT869 driver are working!
Voodoo3 I2C notes (or short commings):

* only one type of read supported: type 'byte' (no 'command')

* only one type of write supported: type 'byte_data'

(The two above are more the limitation of the BT869 rather than
the I2C bus.)

* I used the SMBus 'model' rather than the 'bit' model because
  I thought it was easier this way.

* failed bus transactions yeild 0xFF, not an error!  So, this means
  that many drivers instantly latch onto this adapter because all
  reads and writes succeed without error.  Without the datasheet for
  the chip, I can't do much to fix this. (Amazing I got this far!)


BT869/868 notes:

* the BT869 has lots and lots of registers (~50), but can
  only read 3 (fairly uninteresting) status registers(!).  Right
  now all three status registers are read through the 'status' file,
  but I haven't decided on the best method for writing to the rest
  of the registers.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@448 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 05:52:24 +00:00
Philip Edelbrock
6a83949e74 (Phil) Beginnings of Voodoo3 I2C support and BT869 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@447 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 05:12:36 +00:00
Frodo Looijaard
70d3fcf4c4 Added a warning about the new module installation directory
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@446 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-06 00:02:59 +00:00
Frodo Looijaard
300b6bd6d7 Removed 'bit 0-6 of LM75 word read must be zero' detection check, as
it is not necessary true, as proved by Ben Jarvis


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@445 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-05 15:51:42 +00:00
Frodo Looijaard
bafde5f9d3 Updated TODO list
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@444 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-02 22:01:54 +00:00
Frodo Looijaard
9a9d69a465 Updated CHANGES
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@443 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-02 21:15:23 +00:00
Frodo Looijaard
5ffe4834e5 Made i2c-hydra.o 2.0.x kernel compatible
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@442 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-02 21:00:24 +00:00
Philip Edelbrock
6569c8364c (Phil) Release of 2.3.1.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@441 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 18:39:32 +00:00
Frodo Looijaard
96274ee4bc Updated CHANGES
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@439 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 15:37:41 +00:00
Frodo Looijaard
11f2217c4d SIS5595 entry in program sensors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@438 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 15:36:27 +00:00
Frodo Looijaard
1725a864ac ADM9240 and DS1780 sensors program entries
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@437 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 15:28:49 +00:00
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