Commit Graph
655 Commits
Author SHA1 Message Date
Jean Delvare b5b5507599 Add sch311x support. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4789 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-06 09:09:35 +00:00
Jean Delvare af454994ea Fix the smsc47m192 temperature faults. The standard name for these
files changed recently. Fallback to the old name for compatibility.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4753 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 16:51:54 +00:00
Jean Delvare 11bf5ced65 Fix adm1026 critical temperature limits for Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4752 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 16:04:19 +00:00
Jean Delvare a7a75c729d Fix the magnitude of temperature offsets in Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4751 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 15:59:33 +00:00
Jean Delvare 5c58595785 libsensors: Fix maxilife support for Linux 2.6.
The driver doesn't exist yet, but at least now the library is ready.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4749 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 15:15:16 +00:00
Jean Delvare 72559e55f1 libsensors: Fix adm1024 support for Linux 2.6.
The driver doesn't exist yet, but at least now the library is ready.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4747 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 14:38:30 +00:00
Jean Delvare eb62f8fa7b Fix lm93 VID support for Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4745 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 13:57:33 +00:00
Jean Delvare c519ede6f8 Fix bmcsensors support for Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4741 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-01 08:26:13 +00:00
Jean Delvare 82197ef51e Fix ATI SB700 SMBus support, add SB800 support (backport from Linux 2.6,
original patch by Shane Huang).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4739 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-01 08:19:13 +00:00
Jean Delvare f96dc0266f Fix kernel version detection (#2187).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4738 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-01 08:09:49 +00:00
Jean Delvare e4ecbc9a90 Add support for the Intel Tolapai SMBus controller. Patch from Jason Gaston.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4734 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-31 14:07:15 +00:00
Jean Delvare 984ebb419f Fix a memory leak on error when printing an unknown chip.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4727 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-26 21:20:55 +00:00
Jean Delvare a4d0b4681a Add detection of the Winbond W83L786NR/NG/R/G and W83L771W/G chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4660 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 19:39:43 +00:00
Jean Delvare aa52221779 Add a missing register read in fscher. Original patch from Hans de Goede,
backported from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4659 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 17:03:09 +00:00
Jean Delvare 1b69a84283 Fix an array overrun in lm93. Original patch by Hans J. Koch, backported
from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4658 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 16:55:35 +00:00
Jean Delvare cfc5fda3c5 Fix support for the Linux 2.6 thmc50 driver. Patch from Krzysztof Helt.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4653 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 13:33:50 +00:00
Jean Delvare 8ade2b33fc Don't probe i2c-isa as if it were a regular i2c bus. This bug was
introduced when getting rid of the i2cdetect dependency. I had
forgotten that i2c-isa was not listed in class i2c-dev but was
still listed in class i2c-adapter.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4649 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-10 16:45:21 +00:00
Jean Delvare db2c145d9d Speed up sensors_get_ignored() a bit. We can return as soon as an ignore
statement is found to match, even if it isn't an exact match.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4640 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-22 12:45:43 +00:00
Jean Delvare 5611ffe6d1 Fix a memory leak in sensors_read_one_sysfs_chip() when an error occurs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4635 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-21 08:40:26 +00:00
Jean Delvare 57e38757f1 Add ATI SB700 support to the i2c-piix4 driver. This is a backport from
a Linux 2.6 patch by Henry Su.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4624 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-18 21:01:35 +00:00
Philip Edelbrock 707bff78ad Prep for 2.10.4
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4618 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-17 05:05:33 +00:00
Jean Delvare 0a90b248d2 Add Fintek F71806FG and F71862FG detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4603 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-10 21:08:36 +00:00
Jean Delvare 7655f7fb97 Adds more known SMSC Super IO chips to sensors-detect. Also sort
the list of SMSC chips by chip name. Patch from Juerg Haefliger.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4596 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 20:48:03 +00:00
Jean Delvare fd9077bd03 Use linear interpolation instead of quadratic to choose PWM values.
This is simpler and will work better in most cases. For example this
should address at least part of ticket #2224. It seems that quadratic
was used to lower the average noise level, but I don't think this is a
valid reason. The new MINPWM and MAXPWM parameters will also let the
user control the noise level if really needed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4588 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 10:01:50 +00:00
Hans de Goede cb08148e9e add f71882fg sensors.conf.eg entry, add f71882fg and abituguru3 support to CHANGES
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4579 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 16:55:47 +00:00
Jean Delvare 5fa737e5e1 Add support for the EMC6D102 extra resolution bits. The chip offers
4 extra resolution bits per voltage and temperature channel, but I
chose to use only 2 bits per channel because that's what the ADM1027
has so it made the changes smaller. The EMC6D102 has a 10-bit ADC
anyway, the 2 remaining bits are obtained from averaging so they are
not so important.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4574 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 08:09:38 +00:00
Jean Delvare ba665c528e Add user-space support for it87 fan4 and fan5. Closes half of ticket #2227.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4565 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 15:44:28 +00:00
Jean Delvare 85634eab57 Fix ADM1022 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4561 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 09:52:32 +00:00
Jean Delvare 6689a949c5 thmc50: Fix the i2c address range.
Add link to the datasheets.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4558 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 20:51:51 +00:00
Jean Delvare 90c1efe606 lm85: Fix setting the fan speed min limit to 0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4557 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 20:44:31 +00:00
Jean Delvare 3ce2f943ca Update doc/vid:
* We no longer use VRM 8.2 by default
* Update the sysfs paths
* Update the chip lists


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4541 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 13:08:37 +00:00
Jean Delvare 67f80ddf21 sensors-detect: Stop detecting most non-sensor chips. We will still detect
some of these (in particular SPD and EDID EEPROMS) at addresses where
hardware monitoring chips are known to live, to prevent misdetections, but
we no longer point the user to drivers for these chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4531 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-30 15:43:28 +00:00
Jean Delvare 9dbe71bfd0 Add SMSC SCH5317 detection. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4478 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-26 20:32:47 +00:00
Jean Delvare 956675b4f4 Make sensors-detect no longer depend on i2cdetect. Parsing /proc/bus/i2c or
walking sysfs for the same information (i2c adapter names) is not that
difficult.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4477 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-26 20:23:17 +00:00
Jean Delvare 97eda71243 Add detection for non-standard SMSC Super-I/Os. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4468 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-25 19:00:08 +00:00
Jean Delvare 106eb3a3e1 Add support for the w83627ehf thermal sensor types. I made them read-only,
as the BIOS is supposed to set them up properly. This information makes it
easier to find out which temperature channel corresponds to the CPU.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4456 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-18 15:17:43 +00:00
Jean Delvare 971d793d02 Add support for the w83627ehf VID function.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4453 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 16:50:57 +00:00
Jean Delvare 9366b73b8c Add user-space support for the Linux 2.4 w83627ehf driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4449 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-15 11:42:28 +00:00
Jean Delvare 4efcb0a736 New w83627ehf driver, for the W83627EHF/EHG chip. Backported from Linux 2.6,
based on preliminary work by Yuan My (Winbond). Thanks to Bernardo Motta
at Observit for providing the hardware that made it possible.
Note that support for the W83627DHG isn't included, but it could easily be
added later is anyone needs it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4447 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-15 09:15:18 +00:00
Jean Delvare c1e0dc4ee1 fancontrol: Better integration with init scripts (picked from Suse)
* Do not return with an error when receiving SIGTERM.
* Handle signals while sleeping.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4439 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-12 11:26:11 +00:00
Jean Delvare 8d7e7c1068 fancontrol:
* Check for configuration file validity
fancontrol and pwmconfig:
* Support optional min and max PWM values
Documentation updated accordingly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4438 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-11 09:27:15 +00:00
Jean Delvare 8f3f85b86e More cleanups to fancontrol:
* No longer depend on grep. We already depend on egrep so let's use it
  everywhere.
* Don't depend on awk to compute the target PWM value. Bash has an arithmetic
  expression evaluation engine which does the job just fine.
* Use read instead of cat to read the sensor values. read is built-in, so
  it's cheaper.
* When sysfs is used (2.6 kernel), do not postproces the sensor value reads
  with cut, as it is not needed.
* Update the dependency list.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4437 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-10 12:36:44 +00:00
Jean Delvare 2b327cd4ad Cleanups to fancontrol:
* Use let for arithmetic evaluation. Patch taken from the Suse package.
* Kill old commented-out code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4436 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-10 08:05:18 +00:00
Jean Delvare aa17619a8c Replace all references to bmcsensors and i2c-ipmi for kernel 2.6 with
ipmisensors and ipmi-si in sensors-detect. Original patch from Juerg
Haefliger.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4433 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-08 14:27:17 +00:00
Jean Delvare 4ab44c8494 Do not force the I2C slave address by default. It's only fair to let the
users know that they're doing something wrong. They can insist by using
the new -f option.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4432 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-04 18:27:34 +00:00
Jean Delvare 2e0281ba0e Fix alignment of alarm for one-limit temperatures.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4422 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 13:33:39 +00:00
Jean Delvare e768f807d1 Support and use the new I2C block read with variable length which will
be available in Linux kernel 2.6.23. Binary compatibility is guaranteed,
source code compatibility isn't, but the incompatibility will be
spotted quickly as the prototype of the helper function
i2c_smbus_read_i2c_block_data() changed. The only problem would be if
a program is calling i2c_smbus_access() directly. Hopefully this should
be a rare case. The py-smbus binding code is in this case and will be
adjusted soon.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4417 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 08:57:41 +00:00
Jean Delvare 6de007c984 Missing IT8726F entry.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4414 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 07:00:35 +00:00
Jean Delvare 85d681d5c4 Add support for the max6680. Patch from Rainer Birkenmaier (Siemens).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4412 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-25 07:35:00 +00:00
Jean Delvare a5ca79933f Add Maxim MAX6680/MAX6681 detection. Patch contributed by
Rainer Birkenmaier (Siemens).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4410 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-22 11:29:02 +00:00