Commit Graph
3578 Commits
Author SHA1 Message Date
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
Mark M. Hoffman 5804515677 Allow i2c block transfers with of length < 32 on kernels that support it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4435 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-09 16:19:37 +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 75d01f6763 Ignore generated files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4429 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-04 16:38:22 +00:00
Jean Delvare c70d69185a No driver for the MTP006.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4425 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-29 12:22:51 +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 3d8e2f869f Ignore generated files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4416 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 08:35:33 +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 48fdbe244b The ITE IT8726F is now supported by the it87 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4413 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 06:37:59 +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
Jean Delvare 4df4376a41 sensors-detect: Add support for the ATI SB700 SMBus controller.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4408 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-17 12:05:48 +00:00
Jean Delvare 59555f0cdf Fix Super-I/O exit sequence for Winbond/Fintek chips. isadump
and friends now use the same sequence as sensors-detect uses.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4405 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-16 08:45:03 +00:00
Jean Delvare d6aa3f5487 Fix busy flag detection. Some Super-I/O chips (W83627THF) can't read
back from the address port, so the value 0xff is returned, causing
a false positive with the original test. Testing explicitly for 0x80
instead of only testing that bit 7 is set, works around it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4404 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-16 08:43:22 +00:00
Mark M. Hoffman 0b0888128f Bugfix: report current prochot value properly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4401 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-13 03:43:05 +00:00
Mark M. Hoffman 0b96e3f5da Fix an incorrect error message; bug reported by Jean Delvare.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4400 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-12 19:07:20 +00:00
Mark M. Hoffman 1209590be8 Update: library reload works fine, actually
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4399 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-12 19:03:54 +00:00
Rudolf Marek 20b425b0e6 Add "to-be-tested" for the IT8726F (found on ECS GeForce6100SM-M)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4398 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-10 22:20:42 +00:00
Jean Delvare 110b165ddb Delete useless files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4396 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-09 12:48:28 +00:00
Jean Delvare 74b4f3f82e Minor cleanup to the "clean" target.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4395 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-09 12:47:20 +00:00
Jean Delvare b237f4d3f9 Update to match the current makefile targets.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4394 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-09 12:46:16 +00:00
Jean Delvare 382bdb3c0d Ignore generated files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4391 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-08 10:45:26 +00:00
Jean Delvare 6f2e4f0b91 Add user-space support for the applesmc driver. Patch contributed by
Soeren Sonnenburg.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4390 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-08 10:36:06 +00:00
Jean Delvare 461e812881 i2c-nforce2: Add support for the nForce MCP61 and MCP65. This is a
backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4389 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-05 15:41:38 +00:00
Jean Delvare 275a492a51 Fix doubled word.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4387 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-05 12:49:08 +00:00
Jean Delvare 1f1d2f190d pwmconfig: Use smaller steps for low PWM values. Inspired from a patch
from the openSuse sensors package. This is a good idea because the
PWM/speed relation isn't linear, and it is frequent that the speed
changes are concentrated in the low PWM range.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4380 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-27 13:37:07 +00:00
Jean Delvare 528ac16ef3 init scripts:
* Delete sample lm_sensors.sysconfig file, it is now generated by
  sensors-detect.
* Fix several occurences of the configuration file name.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4378 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-27 12:30:55 +00:00
Jean Delvare 2dc4003852 Fix alignment of lm85 voltages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4377 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-26 09:01:07 +00:00
Jean Delvare 1628d2af14 More rrd cleanups:
* Update Makefile and README to mention hwmon class for newer
  2.6 kernels
* Add missing shell declarations
* Update URI


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4373 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-20 13:32:53 +00:00
Jean Delvare 5c6a3acb04 sensors.conf.8: Update the chip statement section.
* Drop outdated reference to /proc/sys/dev/sensors
* Bus type can be pci
* Make the examples more realistic


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4370 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-17 18:56:50 +00:00
Jean Delvare 21b322fd3f rrd/sens_update_rrd: Support non-i2c devices. Since kernel 2.6.14, hardware
monitoring devices are better accessed through the hwmon class. Original
patch from Jeff Kosowsky.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4369 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-17 09:09:54 +00:00
Jean Delvare 0db2710999 sensors-detect: Add /usr/sbin to the PATH. i2cdetect might be there instead
of in /usr/local/sbin. Many users have been complaining and several
distribtions were (rightly) modifying sensors-detect because of this.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4358 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-04 19:24:39 +00:00
Jean Delvare df35b2d189 Add user-space support for the SMSC DME1737. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4355 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-27 15:46:14 +00:00
Jean Delvare a3e5a4d228 libsensors: Clean up pwm symbol names translation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4354 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 17:08:20 +00:00
Jean Delvare 628e9ffba4 sensors-detect: Probe the Super-I/O families from the shorter enter
sequence to the longer one, and stop as soon as one enter sequence worked.
This avoids false positives.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4353 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 15:25:57 +00:00
Jean Delvare 2f1bfd2e6b sensors: Drop ddcmon and eeprom support. This had been announced some time
ago already. These are not sensors, they don't belong there.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4352 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 15:19:09 +00:00
Jean Delvare cbdca6d91a isadump: In addr/data-style mode, detect when bit 7 of the address port
is a busy flag, and automatically adjust the range from 256 to 128 bytes
in that case.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4351 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 15:16:12 +00:00
Philip Edelbrock 1f4ebca0c9 Prep for 2.10.3 release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4349 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-19 23:42:19 +00:00
Jean Delvare d7521f982b Spelling fix: explicitly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4348 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-18 09:45:21 +00:00
Jean Delvare 572723411f sensors-detect: Make the LM78 and W83781D detection safer.
If we find that the register at offset 5 doesn't behave as it would for
an LM78 or W83781D chip, attempt to restore its 8 original bits rather
than just the 7 LSB.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4347 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 21:07:54 +00:00
Jean Delvare 4139fb3407 Fix repeated typo in chip name.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4346 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 13:23:02 +00:00
Jean Delvare 11976a4391 libsensors: Fix max1619 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4345 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 13:15:35 +00:00
Jean Delvare e3f004eedc libsensors: Fix support of Linux 2.6's max6650 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4344 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 12:57:34 +00:00
Jean Delvare 3542faf771 Change the MAX6900 driver from "to-be-written" to "not-a-sensor". This is
a RTC chip. We detect it only because it lives at address 0x50, which is
also used by some hardware monitoring chips and most notoriously EEPROMs.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4343 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-16 09:36:42 +00:00
Jean Delvare 8ef87e8737 sensors-detect: Add SMSC SCH5504 Super-I/O detection (no sensors). Patch
contributed by Corentin Labbe.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4342 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-11 12:50:55 +00:00
Jean Delvare 11be56d092 fancontrol.pl: Fix pwmN_enable access (#2190).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4341 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-11 10:21:46 +00:00
Jean Delvare 121fc83822 sensors-detect: Add National Semiconductor (now Winbond) PC8347L
Super-I/O detection.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4340 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-10 18:40:00 +00:00
Jean Delvare bd03b54046 Compile libsensors with -D_REENTRANT.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4339 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-10 18:38:16 +00:00