2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00
Commit Graph

4145 Commits

Author SHA1 Message Date
Frodo Looijaard
8b123ff46b Winbond bug fixes, as indicated by Petr Vandrovec
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@151 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-08 23:47:16 +00:00
Frodo Looijaard
14992732d9 GL518SM fixes
* Better VDD internal computation, as described in the data sheet;
* Fixed the config file to reflect the above change;
* The library read the wrong file to get its gl518sm alarm data.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@150 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-08 20:21:32 +00:00
Frodo Looijaard
95961de807 Resolved old fan_div related bug in lm80 and w83781 modules.
When computing the fan rotation speed, the register value of the dividers
was used, instead of the value it represents. I'ev fixed this ages ago
for the LM80 driver, but it seems I had forgotten to fix it at other places.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@149 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-08 14:48:46 +00:00
Frodo Looijaard
dabc5bfbb6 i2c-proc bug resolved
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@147 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-07 20:07:15 +00:00
Frodo Looijaard
1d12298e93 New file CHANGES
Read the intro; it describes how you can use CVS to diff between old releases.

Stupid copyright typo in piix4.c fixed


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@146 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-06 00:23:42 +00:00
Frodo Looijaard
a59e9abc8b Several small GL518SM fixes
* (module) VIN limits are now set to sane values (3V instead of 30V, which
  caused nasty overflows)
* (module) VIN limits had min/max swapped in gl518_attach_adapter
* (lib) TEMP_HYST used the VID sysctl instead of the TEMP sysctl, leading
  to bogus readings
* (sensors) print n/a for gl518 not available readings.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@145 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-03 16:21:51 +00:00
Frodo Looijaard
dfc74d0f39 ISA utility to dump address/register type adderss spaces.
Usage: isadump <ADDR-REG> <DATA-REG>
For the default LM78, this would be `isadump 0x295 0x296' (addresses may be
specified as decimal, octal or hexadecimal).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@144 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-01 00:41:46 +00:00
Philip Edelbrock
ac942d1a09 (Phil) Release and tag version 2.1.0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@143 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-31 01:52:20 +00:00
Frodo Looijaard
139f2d3d4a PIIX4 doc update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@141 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-29 23:54:25 +00:00
Frodo Looijaard
566c22c058 Command-line chip specifications introduced in prog/sensors; minor
lib problem resolved.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@140 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-29 20:33:34 +00:00
Frodo Looijaard
b34dfb727d A few small documentation updates, and an updated example config file
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@139 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-29 19:54:02 +00:00
Frodo Looijaard
c2b1fec9fc Library and application support for 'set' statements
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@138 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-29 19:48:43 +00:00
Frodo Looijaard
d1379d905a Kyösti Mälkki's semicolon fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@137 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-29 18:22:02 +00:00
Philip Edelbrock
7b51473a03 (Phil) Fixed a simple (but serious) problem with the temp2 and temp3
readings.  (changed a u8 to a u16 in the data struct.)  Now the temp
readings seem to work perfectly!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@136 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-29 06:56:30 +00:00
Frodo Looijaard
64f225597f Update useful_addresses
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@135 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-29 02:13:20 +00:00
Frodo Looijaard
e4b25eef4d Major FAQ revision, and LSM entry
Please read the FAQ to see what is changed; there may be errors or omissions
yet. It is only meant for 2.x versions; the 1.x FAQ should not be deleted
from our homepage yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@134 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-29 00:46:56 +00:00
Frodo Looijaard
9ca5ea5c60 TODO update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@133 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-28 18:39:40 +00:00
Frodo Looijaard
d8dce5faf3 fill_inode bug resolved
This could lead to memory corruption and to the could-not-unload-module
problem of earlier reports. With a little luck, this will resolve all
module loading/unloading problems reported.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@132 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-28 15:50:25 +00:00
Frodo Looijaard
afc4714f07 Fixed word-sized Winbond register read/write.
This should solve the temp2/3 bogus readings.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@131 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-28 15:30:44 +00:00
Frodo Looijaard
8d608692ef SMP detection for newer kernels in Makefile
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@130 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-28 00:16:29 +00:00
Frodo Looijaard
4de2f33a67 Corrected Winbond temperature problem
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@129 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-27 20:13:24 +00:00
Frodo Looijaard
b827b9a68e Fan value problems resolved
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@128 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-27 20:08:44 +00:00
Frodo Looijaard
2e8b49295a Fix to let prog/sensors call the Winbond pretty-print routine, for
Winbond chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@127 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-27 19:50:14 +00:00
Frodo Looijaard
36acfea7c0 Added link to the 3DHardware.net site
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@126 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-27 19:47:10 +00:00
Frodo Looijaard
85a8462196 Config file support for the Winbond chip
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@125 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-27 19:39:40 +00:00
Frodo Looijaard
20065b3dee Missing conf file, containing conf-lex and conf-parse externally
used symbols (sorry for forgetting to 'cvs add' it!)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@124 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-27 19:30:06 +00:00
Frodo Looijaard
f6c6cd4f01 prog/sensors Winbond support, and some bug fixes in the program.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@123 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-26 02:01:59 +00:00
Frodo Looijaard
a1b75bd20c Winbond library support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@122 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-26 01:39:10 +00:00
Frodo Looijaard
9248881396 Winbond driver enhancements (untested)
* Force the Winbond into bank 0 before anything else is done
* Copied fan_div patch from lm78.c
* Copied IN_{FROM,TO}_REG patch from lm78.c
* Copied alarms computation bug fix from lm78.c
* Nicer way of managing banks: the bank number to access is now the high
  byte of the (as u16 declared) register number. Only
  w38781d_{read,write}_value needs now to be aware of banks. Also, the
  w38781d_{read,write}_value functions now know that sensors 2 and temp, hyst
  and over registers are word-sized.
* Introduced fan_div for FAN3 and 9-bit temperature readings.
* Made beep file work like the gl518sm one
* Corrected small VID problem (bit 4 was read from the wrong register)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@121 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-26 01:18:58 +00:00
Frodo Looijaard
1654f21fc5 Some library cleanup; no interface changes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@120 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 22:15:48 +00:00
Frodo Looijaard
faa996f454 Moved some library functions around, to put them in more logical files.
No external changes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@119 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 21:51:59 +00:00
Frodo Looijaard
a4940fe7c3 Syntax error removed from config file
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@118 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 19:47:34 +00:00
Frodo Looijaard
9ce7bed9b3 /prog/sensors LM80 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@117 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 19:44:00 +00:00
Frodo Looijaard
9c3958f7e8 Library LM80 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@116 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 19:37:17 +00:00
Frodo Looijaard
e5249883ec Completed the LM80 driver. Untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@115 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 19:30:44 +00:00
Frodo Looijaard
e55205a604 Two bug fixed in the LM78/79 driver
* fan_div should now be handled correctly (please, could anybody play with
  this? My fan is on FAN3, the one whose fan_div can't be changed...)
* IN_{TO,FROM}_REG no longer needs the additional in parameter, since we
  eliminated scaling in the module.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@114 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 18:36:03 +00:00
Frodo Looijaard
e1a28393b3 Several minor things
* sensors.conf.eg now contains LM80 declarations
* i2c/i2c-core.c again displays which adapters and clients are found and
  connected, but it does not track the calls to transfer functions in dmesg
* Slight alarms computation bug in lm78.c repaired
* First hacks at lm80.c; expect a fully working version later today


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@113 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 15:50:47 +00:00
Frodo Looijaard
f3cfdfa7a5 Added 'beep' file for GL518SM chips
This file consists of two numbers: the first is either 0 (global sound
alarm disable) or 1 (enable), the second is in the same encoding as the
'alarm' file and determines for which alarms the speaker will sound.

The new file was added to the module, the library and the sensors application.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@112 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-24 23:17:55 +00:00
Frodo Looijaard
55f5652a9a prog/sensors now supports GL518SM. Please test! A configuration
entry for VDD (+5V) is added.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@111 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-24 20:29:29 +00:00
Frodo Looijaard
2b415b8690 Unknown chip support
Some basic support, in the form of sensors_get_all_features(), for chips that
are known to the library, but unknown to the application. prog/sensors has
a demo of how to use this, in function print_unknown_chip in chips.c.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@110 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-24 18:40:58 +00:00
Frodo Looijaard
dc9ff8085a New program, which generates `bus' lines for your config file
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@109 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-24 01:22:19 +00:00
Frodo Looijaard
10ca370b06 Restructured the doc directory; added doc/progs; modified some files
to add more up-to-date documentation.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@108 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-24 01:17:11 +00:00
Frodo Looijaard
1c12665831 Expanded expressions, slightly new syntax
An expression can now refer to the value it has to compute (@), but also to
other values. This is now perfectly valid as an expression:
  vid + in_min - in_max * 2 / @
Not that this is very sensible, but you get the idea. Please install the
new example config file, or replace all old 'val' occurences with '@'.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@107 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-24 01:13:44 +00:00
Frodo Looijaard
657798a79c The announced changes to the LM78 voltages, and an example config file.
Note: GL518SM driver need this change, too; this is not yet done.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@106 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-23 02:27:52 +00:00
Frodo Looijaard
eb21cf98d5 Corrected sensors_get_feature expression search
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@105 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-23 01:05:45 +00:00
Frodo Looijaard
3a6f543366 Library/program updates.
YES! It now pretty-prints the LM75 and LM78 data.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@104 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-23 00:25:53 +00:00
Frodo Looijaard
6ad35eaa33 Yet more library and prog/sensors stuff. LM75 data is now printed!
* Added sensors_get_algorithm_name and sensors_get_adapter_name to the
  library.
* First application of sensors_get_value is very encouraging; LM75 data is
  now printed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@103 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-22 17:41:43 +00:00
Frodo Looijaard
c9d9c6c682 Library addition (sensors_get_detected_chips), program addition
(print detected chips)

Yes! I am getting somewhere now. The sensors program does at last something
visible: it prints all detected chips. OK, cat /proc/sys/dev/sensors/chips
is faster. But it is a start...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@102 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-22 02:06:51 +00:00
Frodo Looijaard
849acbe439 More libary stuff
The bus translation functions.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@101 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-22 01:25:25 +00:00
Frodo Looijaard
77ba27fd04 Documentation updates, small application update (still not doing
anything useful)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@100 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-21 22:41:59 +00:00