Commit Graph
3628 Commits
Author SHA1 Message Date
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 ae007f5831 Clean up needless casts and initializations.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4573 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 07:55:35 +00:00
Hans de Goede a2d5a5f60d try to run MAKEDEV if i2c-dev device files are missing before aborting (adapted fedora patch)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4571 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 19:39:39 +00:00
Hans de Goede c435d6c807 fix single & instead of && logical test in eepromer (fedora patch)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4570 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 19:27:33 +00:00
Hans de Goede 31a36c2c9b handle /usr/bin location of sensors command in example scripts printed by sensors-detect
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4568 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 19:24:39 +00:00
Hans de Goede 7d80e62400 also recognise /etc/modprobe.conf (Fedora patch)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4566 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 19:13:50 +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
Hans de Goede f7568cc281 Add fintek f71882fg support to libsensors & sensors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4563 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 12:16:34 +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
Hans de Goede 04d8373812 update fintek f71882fg sensors-detect entry
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4560 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 08:37:08 +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
Hans de Goede b1baa82ddb Add abituguru3 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4551 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 05:27:35 +00:00
Jean Delvare bc7599e8ee Make a few functions static.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4548 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 16:28:18 +00:00
Jean Delvare 2f88a8c1f6 Add missing include.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4547 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 16:27:42 +00:00
Jean Delvare 5e62351ed0 Kill stray semicolon.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4546 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 16:27:11 +00:00
Jean Delvare 0bf7088ebe Don't redefine vid_from_reg().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4542 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 13:09:56 +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 810b5ff5c6 Fix harmless symbols mix between W83782D and W83783S.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4537 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-02 16:02:25 +00:00
Jean Delvare e0feefa54f Add missing logical mapping from thermal sensor types to their temperature
channel. Reported by Bob Schlaermann several months ago.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4536 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-02 15:58:37 +00:00
Jean Delvare aa66e974fb Fix harmless FAN3 symbols mix between W83781D, W83782D and W83791D.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4535 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-02 15:38:09 +00:00
Jean Delvare 3a184b073f Clean up Savage bus driver entries: remove the unsuppored devices from
the list, and mention the i2c-prosavage driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4532 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-30 16:40:49 +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 c701e4165d Delete links to Linear Tech. The LTC1710 isn't even a sensor chip,
and the links were broken.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4530 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-30 15:32:27 +00:00
Jean Delvare 2e6c728cc9 Fix the description of the mode field.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4524 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 12:24:23 +00:00
Jean Delvare a8f7d60201 MANOWN and MANGRP are no longer used.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4523 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 12:15:22 +00:00
Jean Delvare 0f3092ad1b Default $PREFIX is /usr/local, not /usr/local/bin.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4522 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 12:14:42 +00:00
Jean Delvare 6b0078ad8c Add missing static markers.
Delete needless forward declarations.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4504 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 08:58:25 +00:00
Jean Delvare d0c5b68569 Clean up dead code in print_bmc().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4502 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 08:30:19 +00:00
Jean Delvare bfd3221203 Minor corrections.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4500 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-27 15:15:12 +00:00
Jean Delvare 615f90825e Update our copies of the GPL v2 to the latest version. The only real change
if the FSF address.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4483 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-27 08:30:45 +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 30f7fd825c Cosmetic fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4475 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-26 11:34:41 +00:00
Jean Delvare 730e28ff5e Discard irrelevant "CONFORMING TO" sections.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4470 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-26 06:23:07 +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 f7fbadf177 Fix the case where the system has different CPU models.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4466 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-25 16:28:30 +00:00
Jean Delvare f28266b7c4 Optimizations: we don't need to initialize fan_min values, and we don't
need to call w83627ehf_update_client() for disabled fans.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4457 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-18 15:32:53 +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 750f943973 If VBAT monitoring is disabled, enable it. Original patch from an
anonymous contributor in ticket #2218.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4455 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-18 12:17:05 +00:00
Jean Delvare 2362e26b04 Really preserve the fan speed reading when changing the fan clock divider.
Changeset r4452 was incomplete.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4454 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 18:52:53 +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 5769166303 Really preserve the fan speed reading when changing the fan clock divider.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4452 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 13:00:02 +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 9befc96918 Disable debugging by default.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4448 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-15 09:21:06 +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
Mark M. Hoffman 2327a8a443 Fix silly bug, noticed by Jean.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4446 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-14 12:38:58 +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