Commit Graph

  • 41226b9c8f Get rid of useless variables $isa and $ipmi. Jean Delvare 2009-01-12 16:39:14 +00:00
  • c8f7e5969e Don't build modprobe lines before we actually need them. Jean Delvare 2009-01-12 16:38:09 +00:00
  • b1df5b6536 Print warnings about missing modules on screen, rather than telling the user to add them to the configuration files. When using the sysconfig integration mode, the warnings would never be seen. Also don't include missing modules in the configuration files, as they may cause the lm_sensors service to fail. Jean Delvare 2009-01-12 16:17:51 +00:00
  • d93dcb468e Move configuration files generation to a dedicated sub. Jean Delvare 2009-01-12 16:13:55 +00:00
  • f9ac42dbc0 Improve the format of /etc/sysconfig/lm_sensors as generated by sensors-detect. The new format is more flexible and less error-prone. The old format is still included for compatibility. Jean Delvare 2009-01-12 12:39:29 +00:00
  • e613ec67d8 Drop a needless variable. Jean Delvare 2009-01-12 12:30:12 +00:00
  • c5503d2458 Let generate_modprobes() export clean lists of modules that need to be loaded. Jean Delvare 2009-01-12 12:25:15 +00:00
  • dceb0e3ade Delete lm_sensors.init.suse. The actual SuSE initialization script is much different, and is maintained as part of the openSUSE sensors package. Jean Delvare 2009-01-12 11:57:18 +00:00
  • bcddaa74a1 Fix listing of needed bus drivers. Jean Delvare 2009-01-12 10:31:58 +00:00
  • a16b7a42aa Delete needless forward declaration. Jean Delvare 2009-01-11 16:21:15 +00:00
  • c80aefd222 Detect excessive recursion depth during expression evaluation. Jean Delvare 2009-01-11 12:19:32 +00:00
  • e4d51acf7d Fix error propagation during expression evaluation. Jean Delvare 2009-01-11 10:00:19 +00:00
  • 93aa7f3222 Don't bail out on transient errors (#2330). Jean Delvare 2009-01-08 11:01:41 +00:00
  • 63822ad7a1 Adjust f8000-* section. Jean Delvare 2009-01-08 10:59:23 +00:00
  • 522aa97eb8 The F8000 is finally supported by the f71882fg driver. Jean Delvare 2009-01-08 10:55:21 +00:00
  • 4ef5209cc7 Don't send mails to LSM for this legacy branch. Jean Delvare 2008-12-16 16:30:03 +00:00
  • 97abd4fe7e Post-release tagging. Jean Delvare 2008-12-16 11:17:10 +00:00
  • a8a19bfe9b Create tag 'V2-10-8'. V2-10-8 Jean Delvare 2008-12-16 11:02:27 +00:00
  • 3cfae6ca21 Prepare for 2.10.8 release. Jean Delvare 2008-12-16 09:49:50 +00:00
  • f11b30057c Add alternative feature name for f71882fg temperature alarms. This gives us more flexibility for changing the driver's interface in the future. Jean Delvare 2008-12-16 09:44:11 +00:00
  • 2dc03578b3 Don't bail out on transient errors (#2330). Jean Delvare 2008-12-16 09:36:03 +00:00
  • c9952c90a2 Odds are there won't be a separate f8000 driver. Jean Delvare 2008-12-15 08:36:09 +00:00
  • 9a003bad49 Bump version. Jean Delvare 2008-12-15 08:15:02 +00:00
  • 13b7e68888 Build fix. Jean Delvare 2008-12-15 08:08:33 +00:00
  • e15ff09f1f Fix obvious decoding logic bug in decode_sdr_sdram(). Jean Delvare 2008-12-14 18:13:22 +00:00
  • 07939db6c7 Add Intel Core I7 support. Patch from Reinhard Nissl. Jean Delvare 2008-12-13 18:51:53 +00:00
  • e1ea81cc64 Add Intel Core I7 support. Patch from Reinhard Nissl. Jean Delvare 2008-12-13 18:49:55 +00:00
  • 1be4b18e7e Update. Jean Delvare 2008-12-11 08:52:22 +00:00
  • 22ce34f57a Add labels for F8000 voltages. Jean Delvare 2008-12-11 08:50:45 +00:00
  • 04b0a68fb4 Spelling fixes. Jean Delvare 2008-12-07 15:28:42 +00:00
  • c541b7e523 Spelling fixes. Jean Delvare 2008-12-07 15:27:00 +00:00
  • 755fd99aeb Strip trailing whitespace. Jean Delvare 2008-12-07 13:17:54 +00:00
  • 2e954a6580 Move the help section of sensors.conf.eg to sensors.conf.5, so that we have only one document to maintain. This change also speeds up sensors by 2.5% when using the default configuration file. Jean Delvare 2008-12-07 13:14:39 +00:00
  • b415345b91 Add Winbond/Nuvoton W83667HG detection. Jean Delvare 2008-12-06 17:55:45 +00:00
  • 8c9d4a6455 Add a comment on disabling the hysteresis mechanism. Jean Delvare 2008-12-06 09:36:15 +00:00
  • ec87290402 Alternatively look for DMI data in /sys/class/dmi/id, as /sys/devices/virtual/dmi/id only exists since kernel 2.6.28. Jean Delvare 2008-12-05 22:56:30 +00:00
  • 3fa3461913 Replace hard-coded /sys with $sysfs_root. Jean Delvare 2008-12-05 18:01:09 +00:00
  • de7c9fe6b0 Suggest installing dmidecode if needed and missing. Jean Delvare 2008-12-05 17:58:47 +00:00
  • 8ceec92187 Fix discarding of overruled I2C detections. Jean Delvare 2008-12-05 17:10:56 +00:00
  • d177d58983 Add Supermicro to the SMBus probing white list. Jean Delvare 2008-12-05 11:02:58 +00:00
  • 513cf999c6 Customize the "no sensors found" message for laptops. Jean Delvare 2008-12-05 10:42:56 +00:00
  • 04f9959fd6 Include "laptop" in DMI data summary for laptops. This will make support easier, as running lm-sensors on laptops is significantly different from running it on other systems. Jean Delvare 2008-12-05 10:04:36 +00:00
  • 4f17a30d9a Skip IPMI probing on laptops. IPMI is almost exclusively implemented on servers, I've never seen it on a laptop and I don't really expect this to ever happen. Jean Delvare 2008-12-05 10:00:32 +00:00
  • 2ed59ceadc Handle the case where DMI data isn't available. Jean Delvare 2008-12-05 09:44:17 +00:00
  • c63401998c Move IPMI interface detection to its own section. IPMI is really different from legacy ISA monitoring chips. Jean Delvare 2008-12-05 09:36:13 +00:00
  • 2d31705bec Always probe the SMBus on Asus and Tyan boards. Both vendors are well known for making boards with more than one hardware monitoring chip. Jean Delvare 2008-12-04 21:23:14 +00:00
  • 69c9707ab7 Gather DMI data and print it at start-up. We may use this data for various purposes later. Jean Delvare 2008-12-04 20:50:42 +00:00
  • 0f080198f2 Add IT8710F (no sensors). Jean Delvare 2008-12-04 16:55:11 +00:00
  • a9f2ab6cae Add IT8710F (no sensors). Jean Delvare 2008-12-04 16:54:12 +00:00
  • 974ace4d73 Properly handle ISA probe skip for Super I/O those registers are accessed on the SMBus. Jean Delvare 2008-12-04 10:16:32 +00:00
  • 48d6d40850 Document the new detection order and rules. Drop the reference to i2cdetect, as it has moved to a separate package. Update the date and authors section. Jean Delvare 2008-12-03 15:15:39 +00:00
  • 2496da8bbd Minor coding style fix. Jean Delvare 2008-12-03 13:48:59 +00:00
  • d3476f94c8 Minor consistency edit. Jean Delvare 2008-12-03 13:45:38 +00:00
  • 495275e1e3 Merge sensors-detect-stat.pl functionality into sensors-detect. This will be more reliable that way, and easier to maintain. Jean Delvare 2008-12-03 13:44:26 +00:00
  • 17dea03489 Skip SMBus probing by default if a Super I/O was found. The user can still ask for SMBus probing, but in general, if there's a Super I/O with enabled hardware monitoring features, there won't be an additional hardware monitoring chip on the SMBus. Might need to be refined as some vendors (Asus, Tyan) are known to actually do that. Jean Delvare 2008-12-03 12:40:13 +00:00
  • 165c1bca75 Skip non-hwmon devices. Jean Delvare 2008-12-03 12:05:18 +00:00
  • c13b0b76ff Fix insecure dependency in printf. Jean Delvare 2008-12-03 11:50:37 +00:00
  • 12e576fb59 Fix insecure dependency in printf. Jean Delvare 2008-12-03 11:34:13 +00:00
  • 9374cd9482 Have scan_superio return a list of features instead of a boolean value. Jean Delvare 2008-12-03 09:47:57 +00:00
  • 3c4bcad753 List the features of each Super I/O chip, for later use. Jean Delvare 2008-12-03 09:39:43 +00:00
  • 1b15b90fca Clean-up scan_superio. Jean Delvare 2008-12-02 22:11:31 +00:00
  • 697dd4f4ec Do not scan I2C adapters on multimedia cards by default. I've never seen a hardware monitoring chip on such boards, and probing them can cause problems. Jean Delvare 2008-12-02 22:08:45 +00:00
  • e89e2a8c78 Skip ISA detection by default if a Super I/O was found. In general, systems have a Super-I/O chip or an ISA chip, not both. Jean Delvare 2008-12-02 21:42:35 +00:00
  • 3ef49590d1 Add an option to skip ISA probes except IPMI. The idea is that only old systems have ISA hardware monitoring chips, while IPMI can be present on recent systems. Additionally, IPMI probing is read-only, so it's safer than other ISA probes. Jean Delvare 2008-12-02 20:56:45 +00:00
  • 761caf78c2 Minor fixes to the previous commit. Jean Delvare 2008-12-02 17:56:33 +00:00
  • dc22cce727 Move some code from main() to scan_i2c_adapter() as it makes more sense that way. Jean Delvare 2008-12-02 17:54:20 +00:00
  • b8309aa3bd Drop redundant comments in PCI / CPU detection section. Jean Delvare 2008-12-02 17:39:32 +00:00
  • 9ee2412404 Probe chip types from safest to more risky. Start with sensors embedded in CPU and south bridges, then Super I/O, then ISA and last I2C/SMBus. In the future we may decide to skip probing ISA and I2C/SMBus if we already have found a supported south bridge or Super I/O. Jean Delvare 2008-12-02 17:36:08 +00:00
  • 05978f13d8 Turn chips_detected into a hash. This is more appropriate to the data we store than the array we were using so far. Jean Delvare 2008-12-02 13:53:43 +00:00
  • 443f019e65 Move alias detection after all chip detections. This is slightly less efficient, but this makes it possible to later change the probing order. Jean Delvare 2008-12-02 11:13:38 +00:00
  • 6bc19ec723 Fix calling convention comment. Jean Delvare 2008-12-01 20:13:16 +00:00
  • 22cc12173a Drop alias detection for Super-I/O chips. It never actually worked, because the code compares the chip names first and we never cared of using the exact same name string for I2C and Super-I/O entries of a given chip. Anyway, we do not have any Super-I/O driver also doing I2C access so detecting aliases wouldn't be that usesul. And as I've said before, alias detection is better handled at the kernel level anyway. Jean Delvare 2008-12-01 17:02:47 +00:00
  • e834cebc0c Change the order of parameters of add_isa_to_chips_detected(). It makes more sense to have the optional parameter last. Jean Delvare 2008-12-01 16:52:52 +00:00
  • c2c0478857 Delete extra spaces and blank lines. Jean Delvare 2008-12-01 15:52:59 +00:00
  • 165fe5ce9c Simplify the generation of module options. Jean Delvare 2008-12-01 15:35:10 +00:00
  • 55abb4ac8f Shorten the header comment of /etc/sysconfig/lm_sensors. We don't really need a copyright and license notice on a generated, 3-line configuration file, do we? Jean Delvare 2008-12-01 15:00:15 +00:00
  • b7c5847b62 Remaining spaces-to-tab conversions. Jean Delvare 2008-12-01 14:47:27 +00:00
  • c6d1e1f71d Reindent the rest of the code. At last! :) Jean Delvare 2008-12-01 14:44:26 +00:00
  • afde5c3eff Refactor code in andigilog_detect. Jean Delvare 2008-12-01 13:44:12 +00:00
  • 2b7b632121 Refactor code in adt7467_detect and adt7473_detect. Jean Delvare 2008-12-01 13:19:17 +00:00
  • 7c427dddf7 Strip trailing whitespace. Jean Delvare 2008-12-01 13:14:27 +00:00
  • 5aa16fd61b More consistency in lm90_detect. Jean Delvare 2008-12-01 13:13:36 +00:00
  • 0735c78d57 Reindent all chip detection functions. Jean Delvare 2008-12-01 13:07:40 +00:00
  • f6bb77e523 Simplify LM77 detection. The extra detection steps were broken and nobody complained. And it's not like the LM77 is an immensely popular chip. Jean Delvare 2008-12-01 08:16:53 +00:00
  • 3dc7d6b2e9 Minimum kernel version is 2.6.5, not 2.6.0. Jean Delvare 2008-11-30 20:42:41 +00:00
  • 7a1b881a13 Drop special handling of SiS south bridge. Since kernel 2.6.5, the quirk is handled in the kernel directly. Jean Delvare 2008-11-30 20:41:44 +00:00
  • 03eac07cd9 Simplify the "detect_data" type: no need to store the i2c adapter name and driver, we can look these up as needed. Jean Delvare 2008-11-30 18:27:59 +00:00
  • 0455ac9e1b Minor comment fix. Jean Delvare 2008-11-30 17:14:50 +00:00
  • 565eaf5307 Split scan_i2c_adapter into subfunctions to make it easier to read. Jean Delvare 2008-11-30 17:14:08 +00:00
  • 401472ff09 Reindent more functions. Jean Delvare 2008-11-30 15:24:53 +00:00
  • 15e40f9e18 Reindent Super-I/O and CPU core detection functions. Jean Delvare 2008-11-30 14:31:03 +00:00
  • cf136996b9 Accept negative temperatures in RRD database. Jean Delvare 2008-11-30 13:20:58 +00:00
  • 05db7e0c10 Accept negative temperatures in RRD database. Jean Delvare 2008-11-30 13:18:35 +00:00
  • e955d2cd6e Minor clean-up in i2c_probe. Jean Delvare 2008-11-30 13:10:09 +00:00
  • e0e74f7033 Reindent I2C access functions. Jean Delvare 2008-11-30 13:05:38 +00:00
  • 791b27fbe4 Rework adapter_pci_detection to require fewer levels of indentation. Jean Delvare 2008-11-30 12:53:18 +00:00
  • ead02dff68 Simplify adapter_pci_detection_sis_96x. Jean Delvare 2008-11-30 12:42:41 +00:00
  • b899891b11 Reindent adapter detection functions. Jean Delvare 2008-11-30 12:34:48 +00:00
  • bf809dca15 Reindent auxiliary functions. Jean Delvare 2008-11-30 12:24:42 +00:00
  • 66fe01e8a8 Drop unused function swap_bytes(). Jean Delvare 2008-11-30 10:29:22 +00:00