Commit Graph

  • 9366b73b8c Add user-space support for the Linux 2.4 w83627ehf driver. Jean Delvare 2007-06-15 11:42:28 +00:00
  • 9befc96918 Disable debugging by default. Jean Delvare 2007-06-15 09:21:06 +00:00
  • 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. Jean Delvare 2007-06-15 09:15:18 +00:00
  • 2327a8a443 Fix silly bug, noticed by Jean. Mark M. Hoffman 2007-06-14 12:38:58 +00:00
  • b23feefd21 Merge from trunk: 4400 Mark M. Hoffman 2007-06-14 12:31:26 +00:00
  • cdbf3eaa70 Merge from trunk: 4399 Mark M. Hoffman 2007-06-14 12:30:17 +00:00
  • 835f9b492c fancontrol: Better integration with init scripts (picked from Suse) * Do not return with an error when receiving SIGTERM. * Handle signals while sleeping. Jean Delvare 2007-06-12 11:37:59 +00:00
  • 57044be111 fancontrol: * Check for configuration file validity fancontrol and pwmconfig: * Support optional min and max PWM values Documentation updated accordingly. Jean Delvare 2007-06-12 11:37:19 +00:00
  • 59a0831fa6 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. Jean Delvare 2007-06-12 11:36:15 +00:00
  • e56e0039ef Cleanups to fancontrol: * Use let for arithmetic evaluation. Patch taken from the Suse package. * Kill old commented-out code. Jean Delvare 2007-06-12 11:34:19 +00:00
  • c1e0dc4ee1 fancontrol: Better integration with init scripts (picked from Suse) * Do not return with an error when receiving SIGTERM. * Handle signals while sleeping. Jean Delvare 2007-06-12 11:26:11 +00:00
  • 8d7e7c1068 fancontrol: * Check for configuration file validity fancontrol and pwmconfig: * Support optional min and max PWM values Documentation updated accordingly. Jean Delvare 2007-06-11 09:27:15 +00:00
  • 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. Jean Delvare 2007-06-10 12:36:44 +00:00
  • 2b327cd4ad Cleanups to fancontrol: * Use let for arithmetic evaluation. Patch taken from the Suse package. * Kill old commented-out code. Jean Delvare 2007-06-10 08:05:18 +00:00
  • 5804515677 Allow i2c block transfers with of length < 32 on kernels that support it. Mark M. Hoffman 2007-06-09 16:19:37 +00:00
  • d72fcc8168 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. Jean Delvare 2007-06-08 14:39:06 +00:00
  • 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. Jean Delvare 2007-06-08 14:27:17 +00:00
  • 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. Jean Delvare 2007-06-04 18:27:34 +00:00
  • a46d7961d3 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. Jean Delvare 2007-06-04 17:54:46 +00:00
  • 2eb4a52e25 Ignore generated files. Jean Delvare 2007-06-04 16:41:48 +00:00
  • 75d01f6763 Ignore generated files. Jean Delvare 2007-06-04 16:38:22 +00:00
  • 768be0b9c0 Drop SENSORS_FEATURE_TEMP_LIM, it doesn't correspond to anything in the standard sysfs interface. Jean Delvare 2007-05-29 16:49:06 +00:00
  • 33a3d6fba2 Drop SENSORS_FEATURE_TEMP_OVER, SENSORS_FEATURE_TEMP_HIGH and SENSORS_FEATURE_TEMP_LOW, they don't correspond to anything in the standard sysfs interface. Jean Delvare 2007-05-29 16:23:19 +00:00
  • 6a7971c88c "make uninstall" is now implemented. No driver for the MTP006. Jean Delvare 2007-05-29 12:25:44 +00:00
  • c70d69185a No driver for the MTP006. Jean Delvare 2007-05-29 12:22:51 +00:00
  • 139afe6665 Disable specific support for the ds1621, lm90 and f71805f drivers. I tested that the generic support works fine for these devices. Jean Delvare 2007-05-28 15:02:18 +00:00
  • a08cf956fb Fixes to the dynamic chip support: * Fix the handling of temperature hysteresis. Hysteresis is not a temperature limit by itself, but a property of temperature limit. * Handle per-limit temperature alarms. With these fixes, the ADM1032 is properly supported by the new code. Jean Delvare 2007-05-28 14:22:58 +00:00
  • 2e0281ba0e Fix alignment of alarm for one-limit temperatures. Jean Delvare 2007-05-28 13:33:39 +00:00
  • 2eece824c8 Fix alignment of alarm for one-limit temperatures. Jean Delvare 2007-05-28 13:26:07 +00:00
  • 1bd9212065 Fill the magnitude field of dynamically generated device entries. Jean Delvare 2007-05-28 12:38:28 +00:00
  • b33986c2ac 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. Jean Delvare 2007-05-28 10:31:56 +00:00
  • 9eb42272d2 Ignore generated files. Jean Delvare 2007-05-28 08:59:22 +00:00
  • 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. Jean Delvare 2007-05-28 08:57:41 +00:00
  • 3d8e2f869f Ignore generated files. Jean Delvare 2007-05-28 08:35:33 +00:00
  • d9f8e44d40 Add IT8726F detection. Jean Delvare 2007-05-28 07:17:09 +00:00
  • 6de007c984 Missing IT8726F entry. Jean Delvare 2007-05-28 07:00:35 +00:00
  • 48fdbe244b The ITE IT8726F is now supported by the it87 driver. Jean Delvare 2007-05-28 06:37:59 +00:00
  • 85d681d5c4 Add support for the max6680. Patch from Rainer Birkenmaier (Siemens). Jean Delvare 2007-05-25 07:35:00 +00:00
  • d2341c8ec1 Add Maxim MAX6680/MAX6681 detection. Patch contributed by Rainer Birkenmaier (Siemens). Jean Delvare 2007-05-22 11:31:51 +00:00
  • a5ca79933f Add Maxim MAX6680/MAX6681 detection. Patch contributed by Rainer Birkenmaier (Siemens). Jean Delvare 2007-05-22 11:29:02 +00:00
  • 8cc806b298 sensors-detect: Add support for the ATI SB700 SMBus controller. Jean Delvare 2007-05-17 12:07:20 +00:00
  • 4df4376a41 sensors-detect: Add support for the ATI SB700 SMBus controller. Jean Delvare 2007-05-17 12:05:48 +00:00
  • 835c00d1bc Fix Super-I/O exit sequence for Winbond/Fintek chips. isadump now uses the same sequence as sensors-detect uses. Jean Delvare 2007-05-16 09:13:50 +00:00
  • 9f98b33019 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. Jean Delvare 2007-05-16 09:11:37 +00:00
  • 59555f0cdf Fix Super-I/O exit sequence for Winbond/Fintek chips. isadump and friends now use the same sequence as sensors-detect uses. Jean Delvare 2007-05-16 08:45:03 +00:00
  • 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. Jean Delvare 2007-05-16 08:43:22 +00:00
  • 5a38143c5e libsensors: Drop support for non-sensor drivers: ddcmon and eeprom. These should never have been supported to start with, and no longer are in practice with recent 2.6 kernels. Jean Delvare 2007-05-13 15:02:44 +00:00
  • 314c674660 Legacy hotplug modules and documentation: Delete. These modules no longer work with 2.6 kernels. Jean Delvare 2007-05-13 08:22:47 +00:00
  • 0b0888128f Bugfix: report current prochot value properly. Mark M. Hoffman 2007-05-13 03:43:05 +00:00
  • 0b96e3f5da Fix an incorrect error message; bug reported by Jean Delvare. Mark M. Hoffman 2007-05-12 19:07:20 +00:00
  • 1209590be8 Update: library reload works fine, actually Mark M. Hoffman 2007-05-12 19:03:54 +00:00
  • 20b425b0e6 Add "to-be-tested" for the IT8726F (found on ECS GeForce6100SM-M) Rudolf Marek 2007-05-10 22:20:42 +00:00
  • 9232f4eb43 Delete all kernel chip drivers, documentation and references. We are moving to a user-space-only package, all the drivers are maintained in the Linux kernel tree itself. Jean Delvare 2007-05-09 13:00:30 +00:00
  • 110b165ddb Delete useless files. Jean Delvare 2007-05-09 12:48:28 +00:00
  • 74b4f3f82e Minor cleanup to the "clean" target. Jean Delvare 2007-05-09 12:47:20 +00:00
  • b237f4d3f9 Update to match the current makefile targets. Jean Delvare 2007-05-09 12:46:16 +00:00
  • 448c4a70e9 Ignore generated files. Jean Delvare 2007-05-08 11:06:35 +00:00
  • 382bdb3c0d Ignore generated files. Jean Delvare 2007-05-08 10:45:26 +00:00
  • 6f2e4f0b91 Add user-space support for the applesmc driver. Patch contributed by Soeren Sonnenburg. Jean Delvare 2007-05-08 10:36:06 +00:00
  • 461e812881 i2c-nforce2: Add support for the nForce MCP61 and MCP65. This is a backport from Linux 2.6. Jean Delvare 2007-05-05 15:41:38 +00:00
  • 275a492a51 Fix doubled word. Jean Delvare 2007-05-05 12:49:08 +00:00
  • b170e0be99 Delete all kernel bus drivers, documentation and references. We are moving to a user-space-only package, all the drivers are maintained in the Linux kernel tree itself. Jean Delvare 2007-05-05 12:43:03 +00:00
  • adb328263c doc/version-2: Delete, obsolete. Jean Delvare 2007-05-05 10:07:36 +00:00
  • a34b480cfe README.patches: Delete, obsolete. Jean Delvare 2007-05-05 09:47:54 +00:00
  • 95996b4638 Delete mkpatch and all references thereto. The kernel modules will soon be removed from the tree so there won't be anything left to generate a patch from. Jean Delvare 2007-05-02 10:35:14 +00:00
  • 1d4796cfbc Really delete lm_sensors.sysconfig. Jean Delvare 2007-04-27 20:27:58 +00:00
  • d10c5f218b 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. Jean Delvare 2007-04-27 13:41:32 +00:00
  • 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. Jean Delvare 2007-04-27 13:37:07 +00:00
  • e893292b18 init scripts: * Delete sample lm_sensors.sysconfig file, it is now generated by sensors-detect. * Fix several occurences of the configuration file name. Jean Delvare 2007-04-27 12:34:17 +00:00
  • 528ac16ef3 init scripts: * Delete sample lm_sensors.sysconfig file, it is now generated by sensors-detect. * Fix several occurences of the configuration file name. Jean Delvare 2007-04-27 12:30:55 +00:00
  • 2dc4003852 Fix alignment of lm85 voltages. Jean Delvare 2007-04-26 09:01:07 +00:00
  • 0f479b535c Fix alignment of lm85 voltages. Jean Delvare 2007-04-26 08:54:39 +00:00
  • 6642539697 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. Jean Delvare 2007-04-20 13:38:59 +00:00
  • e8861069b2 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 Jean Delvare 2007-04-20 13:36:43 +00:00
  • 1628d2af14 More rrd cleanups: * Update Makefile and README to mention hwmon class for newer 2.6 kernels * Add missing shell declarations * Update URI Jean Delvare 2007-04-20 13:32:53 +00:00
  • ba7cb8eeca rrd: Misc updates * More hwmon class changes * Look for rrd in /usr/bin by default * Add missing shell declarations * Update URI Jean Delvare 2007-04-20 13:09:41 +00:00
  • 0aa2104341 sens_update_rrd: Drop support for 2.4 kernels, add support for hwmon class devices (kernels >= 2.6.14). Original patch by Jeff Kosowsky. Jean Delvare 2007-04-20 05:47:23 +00:00
  • 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 Jean Delvare 2007-04-17 18:56:50 +00:00
  • 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. Jean Delvare 2007-04-17 09:09:54 +00:00
  • bd74aa2390 -rewrite dyn chip code, it now uses sensors_feature_get_type() to identify sysfs entries. Reasons for this rewrite / bugs fixed: -Don't give features like alarms / sensor type / fault flag a compute mapping only a normal mapping -Don't generate features for sysfs entries like uvent, modalias, etc. instead only generate features for features known by sensors_feature_get_type() -Sort the list of found features logically instead of sorted in alphabet order of the sysfs entry. So now it starts with all in entries, then all fan and then all temp. Just like the order of most entries in lib/chips.c. Also this means that it now contains in0 - in10 in that order and not in0, in10, in1 - in9 Hans de Goede 2007-04-10 11:51:07 +00:00
  • 16408d8665 -comment abituguru entry in lib/chips.c and prog/sensors/main.c, as the abituguru seems to work well with the new dynamic chip support and generic chip printroutines. note: the abituguru code should be completly removed in the future. -comment k8temp entry in lib/chips.c and prog/sensors/main.c, as the k8temp seems to work well with the new dynamic chip support and generic chip printroutines. note: the k8temp code should be completly removed in the future. -make the match for the subtype exact instead of a strncmp, otherwise an alarm_enable flag gets classified as an alarm, leading to all sensors who have their alarm enabled getting an alarm reported, as the alarm_enabled gets read as alarm. -and do the same for the _input match to check if this is a main or subfeature Hans de Goede 2007-04-09 18:07:07 +00:00
  • ba5140b3d8 Generic chip support / get featuretype fixes just received from Bob Schlarmann, as the version I committed wasn't the latest version Hans de Goede 2007-04-09 17:48:57 +00:00
  • 1b65a96744 Dynamicly determine the maximum used label length in the generic chip printing routine Hans de Goede 2007-04-09 14:54:05 +00:00
  • 78a521b1a8 Some fixes for problems with the dyn chip support / generic printing routines which showed up while testing with the abituguru driver Hans de Goede 2007-04-09 14:52:28 +00:00
  • be3ec092a5 generic chip printing routine for sensors prog, by Bob Schlarmann and Luuk Kleiweg Hans de Goede 2007-04-09 14:43:57 +00:00
  • d871e17ccf generic chip printing routine for sensors prog, by Bob Schlarmann and Luuk Kleiweg Hans de Goede 2007-04-09 14:43:29 +00:00
  • 99c2d0194c generic in/temp/fan printing routines for sensors prog, by Bob Schlarmann and Luuk Kleiweg Hans de Goede 2007-04-09 14:41:52 +00:00
  • 05087736f8 add sensors_feature_get_type method, by Bob Schlarmann and Luuk Kleiweg Hans de Goede 2007-04-09 14:40:05 +00:00
  • 666fe95cdb dynamicly generate a sensors_chip_features_list entry for unknown chips based on their sysfs entries, by Bob Schlarmann and Luuk Kleiweg Hans de Goede 2007-04-09 14:09:21 +00:00
  • 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. Jean Delvare 2007-04-04 19:24:39 +00:00
  • c5ffa7b635 Merge from trunk (4303:4355) out to 3.0.0 branch. Mark M. Hoffman 2007-04-03 12:55:30 +00:00
  • df35b2d189 Add user-space support for the SMSC DME1737. Patch from Juerg Haefliger. Jean Delvare 2007-03-27 15:46:14 +00:00
  • a3e5a4d228 libsensors: Clean up pwm symbol names translation. Jean Delvare 2007-03-25 17:08:20 +00:00
  • 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. Jean Delvare 2007-03-25 15:25:57 +00:00
  • 2f1bfd2e6b sensors: Drop ddcmon and eeprom support. This had been announced some time ago already. These are not sensors, they don't belong there. Jean Delvare 2007-03-25 15:19:09 +00:00
  • 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. Jean Delvare 2007-03-25 15:16:12 +00:00
  • 3ee37c78c7 Create tag 'V2-10-3'. V2-10-3 Philip Edelbrock 2007-03-19 23:43:01 +00:00
  • 1f4ebca0c9 Prep for 2.10.3 release. Philip Edelbrock 2007-03-19 23:42:19 +00:00
  • d7521f982b Spelling fix: explicitly. Jean Delvare 2007-03-18 09:45:21 +00:00
  • 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. Jean Delvare 2007-03-17 21:07:54 +00:00